[PATCH] Add support for ia16

Jan Beulich JBeulich@suse.com
Mon Apr 3 07:37:00 GMT 2017


>>> On 01.04.17 at 18:49, <andrew@codesourcery.com> wrote:
> 2017-04-01  Andrew Jenner  <andrew@codesourcery.com>
> 
> 	* config.sub: Handle ia16 in $basic_machine.
> 
> 	bfd/
> 	* config.bfd: Handle ia16.
> 
>>+  ia16-*-elf)
>>+    targ_defvec=i386_elf32_vec

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?

>>+    targ_selvecs="i386_msdos_vec i386_aout_vec"

Why force aout in for everyone?

Jan



More information about the Binutils mailing list