diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2009-03-14 09:32:06 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2009-03-14 09:32:06 +0000 |
commit | e450936a6fce7a4af7c9aac18db44cad94343ff1 (patch) | |
tree | 245b93a26bd0d2eeed5bcab53b4c02f83a206a12 /gdb/findcmd.c | |
parent | 47dfb2ca058b165e333767f15a62c603830284dd (diff) | |
download | gdb-e450936a6fce7a4af7c9aac18db44cad94343ff1.zip gdb-e450936a6fce7a4af7c9aac18db44cad94343ff1.tar.gz gdb-e450936a6fce7a4af7c9aac18db44cad94343ff1.tar.bz2 |
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 'gdb/findcmd.c')
0 files changed, 0 insertions, 0 deletions