This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 4613510308cea27713e8c7424b2afee9b99f6226
- From: amodra at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 12 Aug 2014 13:01:25 -0000
- Subject: gdb and binutils branch master updated. 4613510308cea27713e8c7424b2afee9b99f6226
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 4613510308cea27713e8c7424b2afee9b99f6226 (commit)
from 88d3f0870bdcb030d1b9f56f48e389860ff41918 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4613510308cea27713e8c7424b2afee9b99f6226
commit 4613510308cea27713e8c7424b2afee9b99f6226
Author: Alan Modra <amodra@gmail.com>
Date: Tue Aug 12 10:43:33 2014 +0930
Change ld "notice" interface for better handling of indirect symbols
The main aim of this change was to have non_ir_ref set correctly on
new indirect symbols. I could have added a "copy" param to the "notice"
function, so that indirect symbols could be created in plugin_notice,
but it seemed cleaner to create indirect syms earlier and pass them
rather than "string" to "notice".
include/
* bfdlink.h (struct bfd_link_callbacks <notice>): Remove "string"
param, add "inh".
bfd/
* coff-aux.c (coff_m68k_aux_link_add_one_symbol): Only call "notice"
here when not calling the generic add_symbol function. Formatting.
Correct handling of indirect symbols. Update notice call.
* elflink.c (_bfd_elf_notice_as_needed): Update notice call.
* linker.c (_bfd_generic_link_add_one_symbol): Create indirect
symbols early. Update notice call. Add comments regarding weak
symbols vs. indirect.
ld/
* ldmain.c (notice): Update args.
* plugin.c (plugin_notice): Likewise. Follow warning sym link.
Handle new indirect symbol.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 10 ++++++
bfd/coff-aux.c | 62 ++++++++++++++++++++++------------------
bfd/elflink.c | 2 +-
bfd/linker.c | 82 ++++++++++++++++++++++++++++------------------------
include/ChangeLog | 5 +++
include/bfdlink.h | 13 ++++----
ld/ChangeLog | 6 ++++
ld/ldmain.c | 6 ++--
ld/plugin.c | 33 ++++++++++++---------
9 files changed, 128 insertions(+), 91 deletions(-)
hooks/post-receive
--
gdb and binutils