bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/13235] gcc's -freorder-blocks-and_partition results in ld misopt


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/13235] gcc's -freorder-blocks-and_partition results in ld misoptimizing -mcmodel=medium code
Date: Fri, 30 Sep 2011 05:11:12 +0000

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> 2011-09-30 05:11:12 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    address@hidden    2011-09-30 05:11:04

Modified files:
    bfd            : ChangeLog elf64-ppc.c 
    ld/testsuite   : ChangeLog 
    ld/testsuite/ld-powerpc: powerpc.exp tocopt.d 
Added files:
    ld/testsuite/ld-powerpc: tocopt5.d tocopt5.s 

Log message:
    PR ld/13235
    bfd/
    * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add ha_relocs_not_using_r2.
    (ppc64_elf_edit_toc): Check HA relocs.
    (ha_reloc_match): Delete function.
    (ppc64_elf_relocate_section): Remove delayed HA nop optimization.
    Instead do it and low part optimization based on
    ha_relocs_not_using_r2.
    ld/testsuite/
    * ld-powerpc/tocopt.d: Update.
    * ld-powerpc/tocopt5.d, * ld-powerpc/tocopt5.s: New test.
    * ld-powerpc/powerpc.exp: Run new test.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5476&r2=1.5477
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf64-ppc.c.diff?cvsroot=src&r1=1.363&r2=1.364
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1460&r2=1.1461
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-powerpc/tocopt5.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-powerpc/tocopt5.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-powerpc/powerpc.exp.diff?cvsroot=src&r1=1.36&r2=1.37
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-powerpc/tocopt.d.diff?cvsroot=src&r1=1.1&r2=1.2

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



reply via email to

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