[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/12365] undefined references produced by linker plugin are silent
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/12365] undefined references produced by linker plugin are silently ignored |
Date: |
Sun, 24 Apr 2011 10:02:50 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12365
--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> 2011-04-24 10:02:19 UTC ---
CVSROOT: /cvs/src
Module name: src
Changes by: address@hidden 2011-04-24 10:02:14
Modified files:
include : ChangeLog bfdlink.h
bfd : ChangeLog coff-aux.c linker.c elflink.c
ld : ChangeLog ldmain.c plugin.c
Log message:
PR ld/12365
PR ld/12696
include/
* bfdlink.h (ENUM_BITFIELD): Define.
(struct bfd_link_hash_entry): Make "type" a bitfield. Add "non_ir_ref".
(struct bfd_link_callbacks <notice>): Pass bfd_link_hash_entry pointer
rather than "name".
bfd/
* coff-aux.c (coff_m68k_aux_link_add_one_symbol): Update "notice" call.
* linker.c (_bfd_link_hash_newfunc): Clear bitfields.
(_bfd_generic_link_add_one_symbol): Update "notice" call.
* elflink.c (_bfd_elf_merge_symbol): Don't skip weak redefs when
it is a redef of an IR symbol in a real BFD.
ld/
* ldmain.c (notice): Delete "name" param, add "h".
* plugin.c (plugin_notice): Likewise. Set non_ir_ref. Handle
redefinitions of IR symbols in real BFDs.
(plugin_multiple_definition, plugin_multiple_common): Delete.
(non_ironly_hash, init_non_ironly_hash): Delete.
(is_visible_from_outside): Traverse entry_symbol chain.
(get_symbols): Use non_ir_ref flag rather than hash lookup.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/ChangeLog.diff?cvsroot=src&r1=1.527&r2=1.528
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/bfdlink.h.diff?cvsroot=src&r1=1.83&r2=1.84
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5318&r2=1.5319
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/coff-aux.c.diff?cvsroot=src&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/linker.c.diff?cvsroot=src&r1=1.80&r2=1.81
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elflink.c.diff?cvsroot=src&r1=1.401&r2=1.402
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2321&r2=1.2322
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldmain.c.diff?cvsroot=src&r1=1.153&r2=1.154
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/plugin.c.diff?cvsroot=src&r1=1.32&r2=1.33
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug ld/12365] undefined references produced by linker plugin are silently ignored, amodra at gmail dot com, 2011/04/17
- [Bug ld/12365] undefined references produced by linker plugin are silently ignored, cvs-commit at gcc dot gnu.org, 2011/04/17
- [Bug ld/12365] undefined references produced by linker plugin are silently ignored, cvs-commit at gcc dot gnu.org, 2011/04/17
- [Bug ld/12365] undefined references produced by linker plugin are silently ignored, amodra at gmail dot com, 2011/04/17
- [Bug ld/12365] undefined references produced by linker plugin are silently ignored, cvs-commit at gcc dot gnu.org, 2011/04/19
- [Bug ld/12365] undefined references produced by linker plugin are silently ignored, cvs-commit at gcc dot gnu.org, 2011/04/19
- [Bug ld/12365] undefined references produced by linker plugin are silently ignored,
cvs-commit at gcc dot gnu.org <=
- [Bug ld/12365] undefined references produced by linker plugin are silently ignored, cvs-commit at gcc dot gnu.org, 2011/04/27
- [Bug ld/12365] undefined references produced by linker plugin are silently ignored, amodra at gmail dot com, 2011/04/27