bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/10474] relocation truncated to fit: R_PPC_REL24 errors


From: cvs-commit at gcc dot gnu dot org
Subject: [Bug ld/10474] relocation truncated to fit: R_PPC_REL24 errors
Date: 10 Aug 2009 07:51:12 -0000

------- Additional Comments From cvs-commit at gcc dot gnu dot org  2009-08-10 
07:51 -------
Subject: Bug 10474

CVSROOT:        /cvs/src
Module name:    src
Changes by:     address@hidden  2009-08-10 07:50:57

Modified files:
        ld             : ChangeLog ldemul.c ldlang.h ldlang.c 
        ld/emultempl   : alphaelf.em armelf.em avrelf.em elf-generic.em 
                         elf32.em genelf.em hppaelf.em m68hc1xelf.em 
                         m68kelf.em mmix-elfnmmo.em mmo.em ppc64elf.em 
                         sh64elf.em spuelf.em 

Log message:
        PR 10474
        * ldemul.c (after_allocation_default): Run lang_relax_sections.
        * ldlang.h (lang_relax_sections): Declare.
        * ldlang.c (relax_sections): Delete.
        (lang_relax_sections): New function.
        (lang_process): Don't relax directly from here.
        * emultempl/alphaelf.em (alpha_finish): Call finish_default.
        * emultempl/armelf.em (arm_elf_after_allocation): Delete.  Move body..
        (gld${EMULATION_NAME}_finish): ..to here.  Move existing code..
        (gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
        (LDEMUL_AFTER_ALLOCATION): Update.
        * emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete.
        (avr_elf_after_allocation): New function.
        (LDEMUL_AFTER_ALLOCATION): Define.
        * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call
        lang_relax_sections.
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete.  Move..
        (gld${EMULATION_NAME}_after_allocation): ..code to here.  New function.
        (LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update.
        * emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete.  Move..
        (gld${EMULATION_NAME}_after_allocation): ..code to here.  New function.
        (LDEMUL_FINISH): Delete.
        (LDEMUL_AFTER_ALLOCATION): Define.
        * emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete.  Move..
        (gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
        (LDEMUL_FINISH): Delete.
        (LDEMUL_AFTER_ALLOCATION): Define.
        * emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete.  Move..
        (m68hc11elf_after_allocation): ..to here.  New function.
        (LDEMUL_FINISH): Delete.
        (LDEMUL_AFTER_ALLOCATION): Define.
        * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
        gld${EMULATION_NAME}_after_allocation.
        * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call
        gld${EMULATION_NAME}_after_allocation.
        * emultempl/mmo.em (mmo_finish): Delete.  Move body..
        (gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
        (LDEMUL_FINISH): Define.
        * emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp.
        (gld${EMULATION_NAME}_finish): Move code sizing sections..
        (gld${EMULATION_NAME}_after_allocation): ..to here.
        * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
        Call gld${EMULATION_NAME}_after_allocation.
        * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete
        bfd_elf_discard_info and map_segments call.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2019&r2=1.2020
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ldemul.c.diff?cvsroot=src&r1=1.30&r2=1.31
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ldlang.h.diff?cvsroot=src&r1=1.83&r2=1.84
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ldlang.c.diff?cvsroot=src&r1=1.313&r2=1.314
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/alphaelf.em.diff?cvsroot=src&r1=1.12&r2=1.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/armelf.em.diff?cvsroot=src&r1=1.74&r2=1.75
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/avrelf.em.diff?cvsroot=src&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/elf-generic.em.diff?cvsroot=src&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/elf32.em.diff?cvsroot=src&r1=1.197&r2=1.198
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/genelf.em.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/hppaelf.em.diff?cvsroot=src&r1=1.52&r2=1.53
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/m68hc1xelf.em.diff?cvsroot=src&r1=1.12&r2=1.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/m68kelf.em.diff?cvsroot=src&r1=1.12&r2=1.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/mmix-elfnmmo.em.diff?cvsroot=src&r1=1.15&r2=1.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/mmo.em.diff?cvsroot=src&r1=1.24&r2=1.25
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/ppc64elf.em.diff?cvsroot=src&r1=1.61&r2=1.62
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/sh64elf.em.diff?cvsroot=src&r1=1.14&r2=1.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/spuelf.em.diff?cvsroot=src&r1=1.40&r2=1.41



-- 


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

------- 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]