summaryrefslogtreecommitdiffstats
path: root/contrib/binutils
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-10-11 06:09:39 +0000
committerobrien <obrien@FreeBSD.org>2002-10-11 06:09:39 +0000
commitf81eaaf0a0e79c52bab9370cde97ecfbfb5e51a8 (patch)
tree5139bbd25b16177351bcac71a91d62a284cb75d7 /contrib/binutils
parenta71610b8de5918a7397f1ddeae9365f487720024 (diff)
downloadFreeBSD-src-f81eaaf0a0e79c52bab9370cde97ecfbfb5e51a8.zip
FreeBSD-src-f81eaaf0a0e79c52bab9370cde97ecfbfb5e51a8.tar.gz
On second thought, garbage collect the OLD_BRANDELF_METHOD. FreeBSD 5.0
is a good point to break from this historical ABI-breaking method.
Diffstat (limited to 'contrib/binutils')
-rw-r--r--contrib/binutils/bfd/elf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/contrib/binutils/bfd/elf.c b/contrib/binutils/bfd/elf.c
index 0b2affd..54907f7 100644
--- a/contrib/binutils/bfd/elf.c
+++ b/contrib/binutils/bfd/elf.c
@@ -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;
OpenPOWER on IntegriCloud