This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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 to enhance MIPS GOT page estimates


"Joseph S. Myers" <joseph@codesourcery.com> writes:
> Thanks for the enhancements to the patch.
> On Fri, 21 Sep 2007, Richard Sandiford wrote:
>
>> Index: ld/testsuite/ld-mips-elf/got-page-2.d
>> ===================================================================
>> --- /dev/null	2007-09-15 10:15:35.552097000 +0100
>> +++ ld/testsuite/ld-mips-elf/got-page-2.d	2007-09-21 11:14:01.000000000 +0100
>> @@ -0,0 +1,11 @@
>> +#name: GOT page test 2
>> +#source: got-page-2.s
>> +#as: -n32
>> +#ld: -T got-page-1.ld -shared -melf32btsmipn32
>
> Since a big-endian linker emulation is specified here, the assembler 
> options need to be "-EB -n32" not just -n32, otherwise it fails for 
> configurations defaulting to little-endian.

Good catch, thanks.  I've updated my local copy of the patch accordingly.

Richard


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