This is the mail archive of the gcc-patches@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]

Re: [Patch ARM] Fix PR50313 and handle PIC addresses properly.


Now backported to GCC 4.6 branch as attached.

Ramana

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.

Attachment: pr50313-backport-46.txt
Description: Text document


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