forked from Imagelibrary/binutils-gdb
Another try at correcting relocations against discarded
link-once section symbols.
This commit is contained in:
@@ -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. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user