diff options
author | Alan Modra <amodra@gmail.com> | 2000-10-12 03:44:51 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-10-12 03:44:51 +0000 |
commit | 24376d1b58f62660beb3e5f9c2a7c135513ce27d (patch) | |
tree | 684628a3f6e7b7ffe80bfb966007ad2179aeee00 /bfd/bfd-in2.h | |
parent | 74bcd5294fa6894905a705d18c229cbe5ea42b59 (diff) | |
download | gdb-24376d1b58f62660beb3e5f9c2a7c135513ce27d.zip gdb-24376d1b58f62660beb3e5f9c2a7c135513ce27d.tar.gz gdb-24376d1b58f62660beb3e5f9c2a7c135513ce27d.tar.bz2 |
Another try at correcting relocations against discarded
link-once section symbols.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 51c7043..64238ac 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -913,10 +913,6 @@ struct bfd_comdat_info specific code; it is not an index into the list returned by bfd_canonicalize_symtab. */ long symbol; - - /* If this section is being discarded, the linker uses this field - to point to the input section which is being kept. */ - struct sec *sec; }; typedef struct sec @@ -1219,6 +1215,10 @@ typedef struct sec struct bfd_comdat_info *comdat; + /* Points to the kept section if this section is a link-once section, + and is discarded. */ + struct sec *kept_section; + /* When a section is being output, this value changes as more linenumbers are written out. */ |