From e193c31baf68a47af42cfd1fd7bfb6c8871a6f68 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 2 Feb 1993 19:37:55 +0000 Subject: Tue Feb 2 11:32:27 1993 Ian Lance Taylor (ian@cygnus.com) * mips.sc-sh: Put .scommon sections into .sbss section. * ldmain.c (subfile_wanted_p): Preserve section of common symbols, rather than always putting them in bfd_com_section. * ldlang.c (lang_common): If a common symbol is not in bfd_com_section, put in a section of the same name, rather than always putting it in section COMMON. --- ld/ChangeLog | 10 ++++++++++ ld/mips.sc-sh | 1 + 2 files changed, 11 insertions(+) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index b7ddaed..7f2389b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,13 @@ +Tue Feb 2 11:32:27 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips.sc-sh: Put .scommon sections into .sbss section. + + * ldmain.c (subfile_wanted_p): Preserve section of common symbols, + rather than always putting them in bfd_com_section. + * ldlang.c (lang_common): If a common symbol is not in + bfd_com_section, put in a section of the same name, rather than + always putting it in section COMMON. + Fri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com) * ldmain.c (subfile_wanted_p): If we already have a common diff --git a/ld/mips.sc-sh b/ld/mips.sc-sh index 5d492e1..726543c 100644 --- a/ld/mips.sc-sh +++ b/ld/mips.sc-sh @@ -35,6 +35,7 @@ SECTIONS ${RELOCATING+ edata = .;} .sbss ${RELOCATING+ .} : { *(.sbss) + *(.scommon) } .bss ${RELOCATING+ .} : { *(.bss) -- cgit v1.1