Re: [PATCH, testsuite] Don't run SREC, IHEX and TEKHEX tests for MIPS N64.

Maciej W. Rozycki
2013-07-03T21:08:48Z

On Wed, 3 Jul 2013, Luis Machado wrote:

> > Hmm, while (unlike Alpha's -taso option) there is no way to force an
> > entire n64 MIPS process into the 31-bit address space, the dynamic
> > executable itself should work just fine mapped low. However the default
> > linker script relies on the start address of the text (0x120000000, unless
> > overridden) rather than data segment to get things right and moving the
> > linker's output address pointer backwards in the middle of the binary
> > being linker may yield strange results. Can you try (or have you tried)
> > -Ttext=... instead?
>
> I don't see a segfault with Ttext, but the text addresses are still based on
> 0x120000000.

Try -Ttext-segment=... instead, sorry about the confusion.

Maciej