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: [darwin] - add code to recognize macho lo-sum addresses



On Dec 19, 2003, at 12:14, Fariborz Jahanian wrote:



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.


Would be better to move some of the code from TARGET_ELF into
non-dependent part?

I know RTH's rewrite of Darwin's backend did what I am suggesting.

Thanks,
Andrew Pinski


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