This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Add support for ia16
- From: "Jan Beulich" <JBeulich at suse dot com>
- To: "Andrew Jenner" <andrew at codesourcery dot com>
- Cc: <binutils at sourceware dot org>
- Date: Mon, 03 Apr 2017 01:37:32 -0600
- Subject: Re: [PATCH] Add support for ia16
- Authentication-results: sourceware.org; auth=none
- References: <aff4c077-c31d-f40f-0a34-bac4072f4fb0@codesourcery.com>
>>> 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