This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/50313] ARM: PIC code references a non-existant label


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50313

--- Comment #6 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2012-01-30 14:35:10 UTC ---
Author: ramana
Date: Mon Jan 30 14:35:05 2012
New Revision: 183727

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183727
Log:

Fix PR target/50313


2012-01-30  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

    Backport from mainline.
        2012-01-20  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

    PR target/50313
    * config/arm/arm.c (arm_load_pic_register): Use
    gen_pic_load_addr_unified. Delete calls to gen_pic_load_addr_32bit
    , gen_pic_add_dot_plus_eight and gen_pic_add_dot_plus_four.
    (arm_pic_static_addr): Likewise.
    (arm_rtx_costs_1): Adjust cost for UNSPEC_PIC_UNIFIED.
    (arm_note_pic_base): Handle UNSPEC_PIC_UNIFIED.
    * config/arm/arm.md (UNSPEC_PIC_UNIFIED): Define.
    (pic_load_addr_unified): New.



Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/config/arm/arm.c
    branches/gcc-4_6-branch/gcc/config/arm/arm.md


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]