[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/11378] bugs on exit from large powerpc64 binary
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/11378] bugs on exit from large powerpc64 binary |
Date: |
14 Mar 2010 07:16:32 -0000 |
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-03-14
07:05 -------
Subject: Bug 11378
CVSROOT: /cvs/src
Module name: src
Changes by: address@hidden 2010-03-14 07:05:36
Modified files:
bfd : ChangeLog elf64-ppc.c elf64-ppc.h
ld : ChangeLog
ld/emultempl : ppc64elf.em
Log message:
bfd/
PR ld/11378
* elf64-ppc.h (ppc64_elf_check_init_fini): Declare.
* elf64-ppc.c (call_check_done): Define.
(ppc64_elf_add_symbol_hook): Substitute bfd_get_section_name macro.
(ppc64_elf_check_relocs, ppc64_elf_size_dynamic_sections): Likewise.
(ppc64_elf_finish_multitoc_partition): Remove unnecessary check.
(toc_adjusting_stub_needed): Use call_check_done rather than toc_off.
Simplify return logic. Iterate over all .init and .fini fragments
by recursion. Set makes_toc_func_call here..
(ppc64_elf_next_input_section): ..rather than here.
(check_pasted_section, ppc64_elf_check_init_fini): New functions.
ld/
PR ld/11378
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.4951&r2=1.4952
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf64-ppc.c.diff?cvsroot=src&r1=1.320&r2=1.321
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf64-ppc.h.diff?cvsroot=src&r1=1.28&r2=1.29
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2119&r2=1.2120
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/emultempl/ppc64elf.em.diff?cvsroot=src&r1=1.68&r2=1.69
------- Additional Comments From amodra at gmail dot com 2010-03-14 07:16
-------
Patch applied
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=11378
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.