* config/obj-coffbfd.c (fill_section): Check COFF_NOLOAD_PROBLEM
also before setting STYP_NOLOAD for .bss section.
This commit is contained in:
parent
b46f83f2d9
commit
fb51366fe8
2 changed files with 10 additions and 2 deletions
|
@ -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
|
"NO UNDEFINED SYMBOLS" if there aren't any, instead of displaying
|
||||||
the header with an empty list.
|
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)
|
Mon Apr 25 16:19:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||||
|
|
||||||
* doc/Makefile.in (clean, distclean): Remove asconfig.texi.
|
* doc/Makefile.in (clean, distclean): Remove asconfig.texi.
|
||||||
|
|
|
@ -513,12 +513,17 @@ DEFUN (fill_section, (abfd, h, file_cursor),
|
||||||
{
|
{
|
||||||
s->s_scnptr = 0;
|
s->s_scnptr = 0;
|
||||||
s->s_flags |= STYP_BSS;
|
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_I386
|
||||||
#ifndef TC_A29K
|
#ifndef TC_A29K
|
||||||
/* Apparently the SVR3 linker is confused by noload
|
#ifndef COFF_NOLOAD_PROBLEM
|
||||||
sections. So is the UDI mondfe program. */
|
/* Apparently the SVR3 linker (and exec syscall) and UDI
|
||||||
|
mondfe progrem are confused by noload sections. */
|
||||||
s->s_flags |= STYP_NOLOAD;
|
s->s_flags |= STYP_NOLOAD;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else if (strcmp (s->s_name, ".lit") == 0)
|
else if (strcmp (s->s_name, ".lit") == 0)
|
||||||
|
|
Loading…
Reference in a new issue