Add entry point support to as86 backend
commite07949dc3f6b10a1f06c33feb50bdaf1e67d4bac
authorSoronel Haetir <soronel.haetir@soronel.com>
Sun, 4 Jan 2009 01:21:52 +0000 (3 16:21 -0900)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 4 Jan 2009 01:54:48 +0000 (3 17:54 -0800)
treec19c37d4df60f2d95c6c6f4200ef4a65244d0c6b
parent6cda414a0e766d07a19b8fb3693b14ef76553369
Add entry point support to as86 backend

I needed entry point support with the as86 format, and after looking through
the archives found a similar desire from someone in 2002.  For some reason
such a patch never made it into the code, even though the required flag
value is present, so I offer the a patch of my own.

I compared against what is done in the .obj format and the approaches are
quite similar which I hope will aid in its acceptability.  While I have
tested it extensively it does do the job asked, and I'm honestly not sure
what extensive testing of the change would look like.
output/outas86.c