diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2009-03-14 09:32:06 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@nildram.co.uk> | 2009-03-14 09:32:06 +0000 |
commit | f076030daf4e913dbb744f622c9ae2d8e6af9b63 (patch) | |
tree | 5b034c42d591709359c1703557061cdaf2459aa4 /bfd/libcoff-in.h | |
parent | 8ef6e550317e5ed0b159d48569257cc915f1bf0c (diff) | |
download | binutils-redhat-f076030daf4e913dbb744f622c9ae2d8e6af9b63.tar.gz |
bfd/
* libcoff-in.h (xcoff_tdata): Change debug_indices to a signed long.
* libcoff.h: Regenerate.
* xcofflink.c (xcoff_keep_symbol_p): New function, using the
"skip" logic from xcoff_link_input_bfd.
(bfd_xcoff_size_dynamic_sections): Explicitly skip dynamic
objects in a dynamic link, rather than checking whether csectpp
is null. Always allocate debug_index for other objects,
and always go through the loop. Update the type of debug_index
after the change above. Read the auxillary csect information
and use xcoff_keep_symbol_p to decide whether a symbol should
be kept. Set its debug_index to -2 if not.
(xcoff_link_input_bfd): Update the type of debug_index after
the change above and always expect it to be nonnull. Use it to
test whether a symbol should be stripped, rather than making the
decision here. Postpone all symbol creation to the second pass.
Diffstat (limited to 'bfd/libcoff-in.h')
-rw-r--r-- | bfd/libcoff-in.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/libcoff-in.h b/bfd/libcoff-in.h index b1a6b59883..17cb3b6274 100644 --- a/bfd/libcoff-in.h +++ b/bfd/libcoff-in.h @@ -165,7 +165,7 @@ struct xcoff_tdata /* Used by the XCOFF backend linker. */ asection **csects; - unsigned long *debug_indices; + long *debug_indices; unsigned int import_file_id; }; |