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][MIPS] Add linker emulation for N64 ABI with forced 32-bit symbols


On Nov 24, 2012, at 12:40 AM, Richard Sandiford wrote:

> Matt Thomas <matt@3am-software.com> writes:
>> NetBSD uses -mabicalls so that most symbols are gotten from the GOT so
>> -msym32 doesn't help us that much.
> 
> Well, GNU userspace uses -mabicalls too, but the -mno-shared form is
> now the default for executables.  I suppose that's the difference.
> 
> Just to confirm: it sounds from what you're saying that -msym32
> (and 32-bit load addresses) are not valid as well as not useful
> for n64 NetBSD.  5GB is the minimum (or only) acceptable start
> address.  Is that right?

Not quite.  N64 will work with any start address (that's under 1TB) but NetBSD would prefer it to remain at 5GB.

FWIW, even with a N64 kernel, NetBSD defaults to a N32 userland so having -msym32 support N64 doesn't help us much since only those programs that really need a 64-bit address space will be using N64.


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