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

Re: diff for setting osabi on elf headers



begin  electrogrammati illius Pedro Bastos

>the following patch changes bfd's function responsible for preparing elf
>headers, so that it sets the osabi field to ELFOSABI_OPENBSD.

AFAIK that field was never intended to be used for that purpose,
since ELF was never designed to have two different OSes on one
architecture - it makes it basically binary incompatible (see
also elf2olf).

Hint: we have an ABI Tag now, see src/lib/csu/common_elf/os-note-elf.h

//Thorsten
-- 
Willst Du wegen dummer User immer 'Ja, ich will' nach einem rm an /dev/tty
eingeben müssen?		-- Bodo Eggert in de.alt.sysadmin.recovery