[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: thoughts on architectures



On Mon, Feb 11, 2002 at 02:35:50PM +1100, matthew green wrote:
>    
>    > Also, FreeBSD (and possibly NetBSD as well) uses the ELF OSABI field to mark
>    > it's binaries.
>    
>    The GNU/Hurd does it as well.
> 
> 
> hmm, last i looked hurd used an ELF note, like NetBSD.

Yes, sorry, I thought that was he meant (and he did :).  I did not even know
about a special OSABI field.

ulysses:/tmp/x# objdump -s -j .note.ABI-tag /bin/bash

/bin/bash:     file format elf32-i386

Contents of section .note.ABI-tag:
 8048108 04000000 10000000 01000000 474e5500  ............GNU.
 8048118 00000000 02000000 00000000 1e000000  ................
ulysses:/tmp/x# objdump -s -j .note.ABI-tag /gnu/bin/bash

/gnu/bin/bash:     file format elf32-i386

Contents of section .note.ABI-tag:
 8048100 04000000 10000000 01000000 474e5500  ............GNU.
 8048110 01000000 00000000 00000000 00000000  ................

Thanks,
Marcus 

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



Reply to: