diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/glibc/glibc-2.2.5/cris-libc-symbols.patch | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/glibc/glibc-2.2.5/cris-libc-symbols.patch')
-rw-r--r-- | packages/glibc/glibc-2.2.5/cris-libc-symbols.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/packages/glibc/glibc-2.2.5/cris-libc-symbols.patch b/packages/glibc/glibc-2.2.5/cris-libc-symbols.patch index e69de29bb2..93fc2c141f 100644 --- a/packages/glibc/glibc-2.2.5/cris-libc-symbols.patch +++ b/packages/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 |