This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Advice on the prefered way to brand ELF binaries as needed on FreeBSD
On Tue, Apr 11, 2000 at 09:18:33PM -0700, Ulrich Drepper wrote:
> There is no binutils change needed. Create a .note section and put an
> appropriate record for the OS in it.
...
> Define ABI_TAG to something like
> #define ABI_TAG 0,2,0,0
This indead would have been the best way to handle this, but moving
FreeBSD to this scheme would create a binary incompatibility. Ie, once I
move FreeBSD 4.1 to a new Bintutils, binaries created under FreeBSD 4.1
would not be executable on FreeBSD 4.0. That is not allowed in our
scheme of binary compatibility. For FreeBSD 5.0-CURRENT, I can probably
get away with the above method.
--
-- David (obrien@NUXI.com)