diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-11-21 21:25:35 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-11-21 21:25:35 +0000 |
commit | 83dcdc61682f4a7a3be7387c8e1527a84e714dcd (patch) | |
tree | b20cb49464df088146cc25a34b67cc1f330349eb /bfd | |
parent | 13eb3290f325f9a95b4fb50a9b29532188e37d60 (diff) | |
download | gdb-83dcdc61682f4a7a3be7387c8e1527a84e714dcd.zip gdb-83dcdc61682f4a7a3be7387c8e1527a84e714dcd.tar.gz gdb-83dcdc61682f4a7a3be7387c8e1527a84e714dcd.tar.bz2 |
* xcofflink.c (bfd_xcoff_size_dynamic_sections): Clear
special_sections before returning when called with a non XCOFF
BFD.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/xcofflink.c | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d091524..131841d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,9 @@ Tue Nov 21 13:03:57 1995 Ian Lance Taylor <ian@cygnus.com> + * xcofflink.c (bfd_xcoff_size_dynamic_sections): Clear + special_sections before returning when called with a non XCOFF + BFD. + * coffgen.c (coff_renumber_symbols): Sort common symbols with global symbols. diff --git a/bfd/xcofflink.c b/bfd/xcofflink.c index 78a2a44..7fd546d 100644 --- a/bfd/xcofflink.c +++ b/bfd/xcofflink.c @@ -2634,7 +2634,11 @@ bfd_xcoff_size_dynamic_sections (output_bfd, info, libpath, entry, bfd_byte *debug_contents = NULL; if (! XCOFF_XVECP (output_bfd->xvec)) - return true; + { + for (i = 0; i < 6; i++) + special_sections[i] = NULL; + return true; + } ldinfo.failed = false; ldinfo.output_bfd = output_bfd; |