This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: [darwin] - add code to recognize macho lo-sum addresses
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Fariborz Jahanian <fjahanian at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Andrew Pinski <pinskia at physics dot uc dot edu>
- Date: Fri, 19 Dec 2003 12:10:21 -0800
- Subject: Re: PATCH: [darwin] - add code to recognize macho lo-sum addresses
- References: <E77A37CE-325F-11D8-B757-000393B9ED88@apple.com>
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