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/xcofflink.c | |
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/xcofflink.c')
-rw-r--r-- | bfd/xcofflink.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; |