initial import
[patches.git] / binutils-hppa32-bfd-bed.patch
1 2007-01-27 Mike Frysinger <vapier@gentoo.org>
2
3 * elf32-hppa.c [elf32_bed]: Define for hpux, linux, and netbsd.
4 [INCLUDED_TARGET_FILE]: Remove.
5
6 --- binutils-2.17.50.0.10/bfd/elf32-hppa.c
7 +++ binutils-2.17.50.0.10/bfd/elf32-hppa.c
8 @@ -4656,6 +4656,7 @@
9 #define ELF_MACHINE_CODE EM_PARISC
10 #define ELF_MAXPAGESIZE 0x1000
11 #define ELF_OSABI ELFOSABI_HPUX
12 +#define elf32_bed elf32_hppa_hpux_bed
13
14 #include "elf32-target.h"
15
16 @@ -4665,8 +4666,9 @@
17 #define TARGET_BIG_NAME "elf32-hppa-linux"
18 #undef ELF_OSABI
19 #define ELF_OSABI ELFOSABI_LINUX
20 +#undef elf32_bed
21 +#define elf32_bed elf32_hppa_linux_bed
22
23 -#define INCLUDED_TARGET_FILE 1
24 #include "elf32-target.h"
25
26 #undef TARGET_BIG_SYM
27 @@ -4675,5 +4677,7 @@
28 #define TARGET_BIG_NAME "elf32-hppa-netbsd"
29 #undef ELF_OSABI
30 #define ELF_OSABI ELFOSABI_NETBSD
31 +#undef elf32_bed
32 +#define elf32_bed elf32_hppa_netbsd_bed
33
34 #include "elf32-target.h"