This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/bfd libcoff-in.h libcoff.h xcofflink.c Cha ...
- From: rsandifo at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 14 Mar 2009 09:32:06 -0000
- Subject: src/bfd libcoff-in.h libcoff.h xcofflink.c Cha ...
CVSROOT: /cvs/src
Module name: src
Changes by: rsandifo@sourceware.org 2009-03-14 09:32:06
Modified files:
bfd : libcoff-in.h libcoff.h xcofflink.c ChangeLog
Log message:
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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/libcoff-in.h.diff?cvsroot=src&r1=1.34&r2=1.35
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/libcoff.h.diff?cvsroot=src&r1=1.50&r2=1.51
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/xcofflink.c.diff?cvsroot=src&r1=1.52&r2=1.53
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.4505&r2=1.4506