This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][MIPS] Add linker emulation for N64 ABI with forced 32-bit symbols
On 16/11/2012, at 11:39 AM, Richard Sandiford wrote:
> <Paul_Koning@Dell.com> writes:
...
>> The interesting case is where a program executes without immediately
>> crashing, but because it uses 32-bit addresses it does some wrong things
>> -- writing wrong data into a database, or things like that. So this
>> isn't a case of lecturing, it's a security improvement.
>
> People who want that can still ask for it, just as people who want
> address santisation, stack protection, PIEs, etc., can ask for
> those features.
Given that the current default for starting address for N64 ABI is not terribly broken, I don't think we should change it for the sake of unifying ABIs.
On the other hand, should we consider enabling -mplt -msym32 /by default/ for N64 ABI (as there are performance advantages to that), then we would have a clear argument to simultaneously change the default starting address for N64 ABI too.
--
Maxim Kuvyrkov
CodeSourcery / Mentor Graphics