diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/glibc/glibc-2.2.5/cris-libc-symbols.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/glibc/glibc-2.2.5/cris-libc-symbols.patch')
-rw-r--r-- | recipes/glibc/glibc-2.2.5/cris-libc-symbols.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/recipes/glibc/glibc-2.2.5/cris-libc-symbols.patch b/recipes/glibc/glibc-2.2.5/cris-libc-symbols.patch new file mode 100644 index 0000000000..93fc2c141f --- /dev/null +++ b/recipes/glibc/glibc-2.2.5/cris-libc-symbols.patch @@ -0,0 +1,43 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- glibc-2.2.5/include/libc-symbols.h~cris-libc-symbols.patch 2004-09-03 19:00:33.000000000 -0500 ++++ glibc-2.2.5/include/libc-symbols.h 2004-09-03 19:00:37.000000000 -0500 +@@ -207,18 +207,29 @@ + # define __make_section_unallocated(section_string) + # endif + +-/* Tacking on "\n\t#" to the section name makes gcc put it's bogus +- section attributes on what looks like a comment to the assembler. */ ++/* Tacking on "\n\t#" to the section name makes gcc put its bogus ++ section attributes on what looks like a comment to the assembler. ++ Furthermore, with gas, we need to add a "#APP" line so the comment ++ is recognized as such. */ ++# ifdef HAVE_GNU_AS ++# define __as_app_line "#APP\n" ++# else ++# define __as_app_line "" ++# endif + # ifdef HAVE_SECTION_QUOTES + # define link_warning(symbol, msg) \ + __make_section_unallocated (".gnu.warning." #symbol) \ +- static const char __evoke_link_warning_##symbol[] \ +- __attribute__ ((section (".gnu.warning." #symbol "\"\n\t#\""))) = msg; ++ static const char __evoke_link_warning_##symbol[] \ ++ __attribute__ \ ++ ((section (".gnu.warning." #symbol "\"\n" __as_app_line "\t#\""))) \ ++ = msg; + # else + # define link_warning(symbol, msg) \ + __make_section_unallocated (".gnu.warning." #symbol) \ +- static const char __evoke_link_warning_##symbol[] \ +- __attribute__ ((section (".gnu.warning." #symbol "\n\t#"))) = msg; ++ static const char __evoke_link_warning_##symbol[] \ ++ __attribute__ \ ++ ((section (".gnu.warning." #symbol "\n" __as_app_line "\t#"))) \ ++ = msg; + # endif + # else /* Not ELF: a.out */ + # ifdef HAVE_XCOFF |