1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

On second thought, garbage collect the OLD_BRANDELF_METHOD. FreeBSD 5.0

is a good point to break from this historical ABI-breaking method.
This commit is contained in:
David E. O'Brien 2002-10-11 06:09:39 +00:00
parent 03dc1f6999
commit 8e7b167431
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104839

View File

@ -4234,12 +4234,6 @@ prep_headers (abfd)
i_ehdrp->e_ident[EI_VERSION] = bed->s->ev_current;
i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_FREEBSD;
#ifdef WANT_OLD_BRANDELF_METHOD
#define _OLD_EI_BRAND_OFFSET 8
#define _OLD_BRANDING "FreeBSD"
strncpy((char *) &i_ehdrp->e_ident[_OLD_EI_BRAND_OFFSET], _OLD_BRANDING,
EI_NIDENT-_OLD_EI_BRAND_OFFSET);
#endif
if ((abfd->flags & DYNAMIC) != 0)
i_ehdrp->e_type = ET_DYN;