From 8e7b16743137aad4a33817d7a4c75ba894b01023 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Fri, 11 Oct 2002 06:09:39 +0000 Subject: [PATCH] On second thought, garbage collect the OLD_BRANDELF_METHOD. FreeBSD 5.0 is a good point to break from this historical ABI-breaking method. --- contrib/binutils/bfd/elf.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/contrib/binutils/bfd/elf.c b/contrib/binutils/bfd/elf.c index 0b2affd6723b..54907f7107e8 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;