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]

PATCH: [darwin] - add code to recognize macho lo-sum addresses



FSF3.4 has a chunk of code missing in routine legitimate_offset address_p to recognize lo-sum address
patterns. This was uncovered by our testing of SPEC. with -mpowerpc64. This patch has been bootstrapped and
dejagnu tested on Darwin-powerpc, as well as SPEC with -O3 -mpowerpc64 -mdynamic-nopic ( which first uncovered
the bug).


OK. to check into the FSF3.4 branch?


- Fariborz Jahanian fjahanian@apple.com


ChangeLog:


2003-12-19 Fariborz Jahanian <fjahanian@apple.com>
* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Add code to
recognize macho-style lo_sum adrress patterns.



Attachment: patch_fsf_macho.txt
Description: Text document


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