bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/2218] Weak undefined symbol doesn't work properly with PIE


From: bje at sources dot redhat dot com
Subject: [Bug ld/2218] Weak undefined symbol doesn't work properly with PIE
Date: 30 Mar 2006 03:20:11 -0000

------- Additional Comments From bje at sources dot redhat dot com  2006-03-30 
03:20 -------
2006-02-24  H.J. Lu  <address@hidden>

        PR ld/2218
        * elf-bfd.h (elf_backend_data): Add elf_backend_fixup_symbol.
        (_bfd_elf_link_hash_fixup_symbol): New.

        * elflink.c (_bfd_elf_link_hash_fixup_symbol): New.
        (_bfd_elf_fix_symbol_flags): Call elf_backend_fixup_symbol if
        it isn't NULL.

        * elfxx-ia64.c (elf_backend_fixup_symbol): Defined.

        * elfxx-target.h (elf_backend_fixup_symbol): New.
        (elfNN_bed): Initialize elf_backend_fixup_symbol.

2006-02-21  Alan Modra  <address@hidden>

        PR ld/2218
        * elf32-arm.c (allocate_dynrelocs): Ensure undef weak sym in pie
        is dynamic.
        * elf32-hppa.c (allocate_dynrelocs): Likewise.
        * elf32-i386.c (allocate_dynrelocs): Likewise.
        * elf32-s390.c (allocate_dynrelocs): Likewise.
        * elf32-sh.c (allocate_dynrelocs): Likewise.
        * elf64-s390.c (allocate_dynrelocs): Likewise.
        * elf64-x86-64.c (allocate_dynrelocs): Likewise.
        * elf32-m32r.c (allocate_dynrelocs): Likewise.  Discard relocs
        on undef weak with non-default visibility too.
        * elfxx-sparc.c (allocate_dynrelocs): Ditto.

2006-02-17  Alan Modra  <address@hidden>

        PR ld/2218
        * elf64-ppc.c (allocate_dynrelocs): Ensure undef weak sym is
        dynamic.
        (ppc64_elf_relocate_section): Check output reloc section size.
        * elf32-ppc.c (allocate_dynrelocs): Simplify undef weak test.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=2218

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]