From: Ken Raeburn Date: Tue, 26 Apr 1994 21:28:49 +0000 (+0000) Subject: * config/obj-coffbfd.c (fill_section): Check COFF_NOLOAD_PROBLEM X-Git-Tag: gdb-4_18~14712 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb51366fe8f21e74072763d781fd43980dd66d2f;p=platform%2Fupstream%2Fbinutils.git * config/obj-coffbfd.c (fill_section): Check COFF_NOLOAD_PROBLEM also before setting STYP_NOLOAD for .bss section. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 827b256..f2e57ee 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -4,6 +4,9 @@ Tue Apr 26 17:10:30 1994 Ken Raeburn (raeburn@cujo.cygnus.com) "NO UNDEFINED SYMBOLS" if there aren't any, instead of displaying the header with an empty list. + * config/obj-coffbfd.c (fill_section): Check COFF_NOLOAD_PROBLEM + also before setting STYP_NOLOAD for .bss section. + Mon Apr 25 16:19:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * doc/Makefile.in (clean, distclean): Remove asconfig.texi. diff --git a/gas/config/obj-coffbfd.c b/gas/config/obj-coffbfd.c index 46c2302..1bb00f3 100644 --- a/gas/config/obj-coffbfd.c +++ b/gas/config/obj-coffbfd.c @@ -513,13 +513,18 @@ DEFUN (fill_section, (abfd, h, file_cursor), { s->s_scnptr = 0; s->s_flags |= STYP_BSS; + + /* @@ Should make the i386 and a29k coff targets define + COFF_NOLOAD_PROBLEM, and have only one test here. */ #ifndef TC_I386 #ifndef TC_A29K - /* Apparently the SVR3 linker is confused by noload - sections. So is the UDI mondfe program. */ +#ifndef COFF_NOLOAD_PROBLEM + /* Apparently the SVR3 linker (and exec syscall) and UDI + mondfe progrem are confused by noload sections. */ s->s_flags |= STYP_NOLOAD; #endif #endif +#endif } else if (strcmp (s->s_name, ".lit") == 0) s->s_flags = STYP_LIT | STYP_TEXT;