From: GNU Libc Maintainers Date: Wed, 5 Dec 2018 18:50:21 +0000 (+0000) Subject: submitted-gcc34-seccomment X-Git-Tag: archive/raspbian/2.28-2+rpi1^2~39 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4b45284c9277f9e7565f9142709aa8f62743d488;p=glibc.git submitted-gcc34-seccomment # DP: Description: Make glibc-2.3.5 compile with gcc-3.4/4.0 + binutils 2.16 # on m68k fixed by adding #APP. # DP: Related bugs: # DP: Dpatch author: GOTO Masanori # DP: Patch author: Andreas Schwab # DP: Upstream status: Pending # DP: Status Details: # DP: Date: 2005-08-03 From: Andreas Schwab Gbp-Pq: Topic m68k Gbp-Pq: Name submitted-gcc34-seccomment.diff --- diff --git a/include/libc-symbols.h b/include/libc-symbols.h index 8b9273c13..271a4ee30 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -205,12 +205,12 @@ #define __make_section_unallocated(section_string) \ asm (".section " section_string "\n\t.previous"); -/* Tacking on "\n\t#" to the section name makes gcc put it's bogus +/* Tacking on "\n#APP\n\t#" to the section name makes gcc put it's bogus section attributes on what looks like a comment to the assembler. */ #ifdef HAVE_SECTION_QUOTES -# define __sec_comment "\"\n\t#\"" +# define __sec_comment "\"\n#APP\n\t#\"" #else -# define __sec_comment "\n\t#" +# define __sec_comment "\n#APP\n\t#" #endif #define link_warning(symbol, msg) \ __make_section_unallocated (".gnu.warning." #symbol) \