[PATCH] Add support for ia16

Andrew Jenner andrew@codesourcery.com
Mon Apr 3 16:14:00 GMT 2017


Hi Jan,

On 03/04/2017 08:37, Jan Beulich wrote:
> So how would a consumer of the ELF binary recognize the 16bit-ness?
> I.e. shouldn't there first be an extension to the i386 ELF ABI to mark
> either the whole object or (preferred) individual sections as 16bit?

There probably should. I'll take a look at adding this. Do you know if 
other architectures have similar extensions that I could look at to see 
how they do it?

>>> +    targ_selvecs="i386_msdos_vec i386_aout_vec"
>
> Why force aout in for everyone?

It seems to be a prerequisite for i386_msdos_vec - without it, I get 
"undefined reference to `aout_32_mkobject'" in i386msdos.o.


On 03/04/2017 12:19, Nick Clifton wrote:
 > Approved - please apply.

Committed - thanks!

Andrew



More information about the Binutils mailing list