mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
2002-09-17 David O'Brien <obrien@FreeBSD.org>
* elf32-i386-fbsd.c: Always label using the EI_OSABI method. It is benign for FreeBSD < 4.1. Minor reformatting. * elf64-alpha-fbsd.c: Likewise. Approved by: Alan Modra <amodra@bigpond.net.au> Message-ID: <20020917182339.B14457@bubble.sa.bigpond.net.au>
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2002-09-17 David O'Brien <obrien@FreeBSD.org>
|
||||||
|
|
||||||
|
* elf32-i386-fbsd.c: Always label using the EI_OSABI method.
|
||||||
|
It is benign for FreeBSD < 4.1. Minor reformatting.
|
||||||
|
* elf64-alpha-fbsd.c: Likewise.
|
||||||
|
|
||||||
2002-09-17 Jakub Jelinek <jakub@redhat.com>
|
2002-09-17 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* elf_i386_relocate_section (R_386_TLS_TPOFF32): Negate addend.
|
* elf_i386_relocate_section (R_386_TLS_TPOFF32): Negate addend.
|
||||||
|
@ -43,12 +43,11 @@ elf_i386_post_process_headers (abfd, link_info)
|
|||||||
|
|
||||||
i_ehdrp = elf_elfheader (abfd);
|
i_ehdrp = elf_elfheader (abfd);
|
||||||
|
|
||||||
|
/* Put an ABI label supported by FreeBSD >= 4.1. */
|
||||||
|
i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_FREEBSD;
|
||||||
#ifdef OLD_FREEBSD_ABI_LABEL
|
#ifdef OLD_FREEBSD_ABI_LABEL
|
||||||
/* The ABI label supported by FreeBSD <= 4.0 is quite nonstandard. */
|
/* The ABI label supported by FreeBSD <= 4.0 is quite nonstandard. */
|
||||||
memcpy (&i_ehdrp->e_ident[EI_ABIVERSION], "FreeBSD", 8);
|
memcpy (&i_ehdrp->e_ident[EI_ABIVERSION], "FreeBSD", 8);
|
||||||
#else
|
|
||||||
/* Put an ABI label supported by FreeBSD >= 4.1. */
|
|
||||||
i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_FREEBSD;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,12 +43,11 @@ elf_alpha_post_process_headers (abfd, link_info)
|
|||||||
|
|
||||||
i_ehdrp = elf_elfheader (abfd);
|
i_ehdrp = elf_elfheader (abfd);
|
||||||
|
|
||||||
|
/* Put an ABI label supported by FreeBSD >= 4.1. */
|
||||||
|
i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_FREEBSD;
|
||||||
#ifdef OLD_FREEBSD_ABI_LABEL
|
#ifdef OLD_FREEBSD_ABI_LABEL
|
||||||
/* The ABI label supported by FreeBSD <= 4.0 is quite nonstandard. */
|
/* The ABI label supported by FreeBSD <= 4.0 is quite nonstandard. */
|
||||||
memcpy (&i_ehdrp->e_ident[EI_ABIVERSION], "FreeBSD", 8);
|
memcpy (&i_ehdrp->e_ident[EI_ABIVERSION], "FreeBSD", 8);
|
||||||
#else
|
|
||||||
/* Put an ABI label supported by FreeBSD >= 4.1. */
|
|
||||||
i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_FREEBSD;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user