This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH, testsuite] Don't run SREC, IHEX and TEKHEX tests for MIPS N64.
- From: "Maciej W. Rozycki" <macro at codesourcery dot com>
- To: Luis Machado <lgustavo at codesourcery dot com>
- Cc: Pedro Alves <palves at redhat dot com>, Tom Tromey <tromey at redhat dot com>, Stan Shebs <stanshebs at earthlink dot net>, GDB Patches <gdb-patches at sourceware dot org>, Ulrich Weigand <uweigand at de dot ibm dot com>
- Date: Wed, 3 Jul 2013 22:08:29 +0100
- Subject: Re: [PATCH, testsuite] Don't run SREC, IHEX and TEKHEX tests for MIPS N64.
- References: <51D1AD43 dot 3060904 at codesourcery dot com> <8761wsgb8i dot fsf at fleche dot redhat dot com> <51D3050C dot 4070309 at codesourcery dot com> <51D30BB0 dot 3050906 at earthlink dot net> <87wqp8estz dot fsf at fleche dot redhat dot com> <51D32100 dot 4000901 at codesourcery dot com> <51D43DBB dot 5090803 at redhat dot com> <51D47A05 dot 9020404 at codesourcery dot com> <alpine dot DEB dot 1 dot 10 dot 1307032122270 dot 20590 at tp dot orcam dot me dot uk> <51D48F54 dot 4070509 at codesourcery dot com>
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
- References:
- [PATCH, testsuite] Don't run SREC, IHEX and TEKHEX tests for MIPS N64.
- Re: [PATCH, testsuite] Don't run SREC, IHEX and TEKHEX tests for MIPS N64.
- Re: [PATCH, testsuite] Don't run SREC, IHEX and TEKHEX tests for MIPS N64.
- Re: [PATCH, testsuite] Don't run SREC, IHEX and TEKHEX tests for MIPS N64.
- Re: [PATCH, testsuite] Don't run SREC, IHEX and TEKHEX tests for MIPS N64.
- Re: [PATCH, testsuite] Don't run SREC, IHEX and TEKHEX tests for MIPS N64.
- Re: [PATCH, testsuite] Don't run SREC, IHEX and TEKHEX tests for MIPS N64.
- Re: [PATCH, testsuite] Don't run SREC, IHEX and TEKHEX tests for MIPS N64.
- Re: [PATCH, testsuite] Don't run SREC, IHEX and TEKHEX tests for MIPS N64.
- Re: [PATCH, testsuite] Don't run SREC, IHEX and TEKHEX tests for MIPS N64.