diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-02-02 19:37:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-02-02 19:37:55 +0000 |
commit | e193c31baf68a47af42cfd1fd7bfb6c8871a6f68 (patch) | |
tree | e2c324ae5628e38c00ff02018e3c85aaf0d65ffe | |
parent | 1b6a208786fd448cd3016533aa7216ae91320738 (diff) | |
download | gdb-e193c31baf68a47af42cfd1fd7bfb6c8871a6f68.zip gdb-e193c31baf68a47af42cfd1fd7bfb6c8871a6f68.tar.gz gdb-e193c31baf68a47af42cfd1fd7bfb6c8871a6f68.tar.bz2 |
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.
-rw-r--r-- | ld/ChangeLog | 10 | ||||
-rw-r--r-- | ld/mips.sc-sh | 1 |
2 files changed, 11 insertions, 0 deletions
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) |