Add support for a .secrel32 x86 reloc to allow DWARF" debug information to used
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
6482c264
NC
12004-04-20 DJ Delorie <dj@redhat.com>
2
3 * reloc.c: Add BFD_RELOC_32_SECREL.
4 * bfd-in2.h: Regenerate.
5 * libbfd.h: Likewise.
6 * coff-i386.c (howto_table) [COFF_WITH_PE]: Add R_SECREL32.
7 (coff_i386_rtype_to_howto) [COFF_WITH_PE]: Handle it.
8 (coff_i386_reloc_type_lookup) [COFF_WITH_PE]: Likewise.
9
4dc570c2
JJ
102004-04-19 Jakub Jelinek <jakub@redhat.com>
11
12 * elf32-sparc.c (elf32_sparc_relocate_section): Handle
13 relocs against hidden/protected undefweak symbols properly.
14 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
15
0b60d5d3
MK
162004-04-18 Mark Kettenis <kettenis@gnu.org>
17
18 * libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
19 * netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC
20 core files.
21
d48bdb99
AM
222004-04-17 Brian Ford <ford@vss.fsi.com>
23
24 * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the first non-zero
25 filepos for the SizeOfHeaders field.
26 (_bfd_XXi_swap_scnhdr_out): Correct section flags lossage on reloc
27 overflow.
28 (_bfd_XXi_swap_sym_in): Remove redundant section flags assignment.
29
57a1784e
AM
302004-04-16 Alan Modra <amodra@bigpond.net.au>
31
32 * simple.c (bfd_simple_get_relocated_section_contents): Don't
33 change reloc_done. Set and restore _cooked_size.
34 (RETURN): Delete.
35
d1ad3f6f
MK
362004-04-15 Mark Kettenis <kettenis@gnu.org>
37
38 * netbsd-core.c (netbsd_core_file_p): Set architecture for VAX
39 core files.
40
3d1bca9d
NC
412004-04-15 Nick Clifton <nickc@redhat.com>
42
43 * bfd.c (bfd_archive_filename): Catch NULL bfd pointers.
44
019b892f
AM
452004-04-15 Alan Modra <amodra@bigpond.net.au>
46
47 * elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change.
48
15b43f48
AM
492004-04-15 H.J. Lu <hongjiu.lu@intel.com>
50
51 * elflink.c (_bfd_elf_merge_symbol): Treat weak as strong only
52 when it is a definition.
53
6de00a78
AM
542004-04-14 Alan Modra <amodra@bigpond.net.au>
55
56 * elf32-sparc.c (elf32_sparc_relocate_section): Don't abort
57 when statically linking PIC code.
58 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
59
279500de
TS
602004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
61
62 * config.bfd: Remove mips*-*-mach3* and mips*-dec-mach3* targets.
63 * configure.in: Remove mips-dec-bsd*, mips-dec-mach3*, mips-*-mach3*
64 targets amd aout_mips_big_vec, aout_mips_little_vec target vectors.
65 * configure: Regenerate.
66
ccf2f652
RS
672004-04-08 Richard Sandiford <rsandifo@redhat.com>
68
69 * elflink.c: Include libiberty.h.
70 * Makefile.am (elflink.lo): Depend on libiberty.h.
71 * Makefile.in: Regenerate.
72
ca07892d
DJ
732004-04-06 Daniel Jacobowitz <drow@mvista.com>
74
75 * elfxx-mips.c (MIPS_ELF_STUB_SECTION_NAME): Always use
76 ".MIPS.stubs".
77
a5a58ba4
L
782004-04-05 H.J. Lu <hongjiu.lu@intel.com>
79
80 * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Always
81 reserve the memory for dynamic linker
82
24d18d30
MK
832004-04-05 Mark Kettenis <kettenis@gnu.org>
84
85 * netbsd-core.c (CORE_WCOOKIE_OFFSET): New define.
86 (netbsd_core_file_p): Create a .wcookie section for OpenBSD/sparc.
87
a4d7b4b5
L
882004-04-02 H.J. Lu <hongjiu.lu@intel.com>
89
90 * elf32-cr16c.c (elf32_cr16c_relocate_section): Use
91 RELOC_FOR_GLOBAL_SYMBOL.
92 (elf32_cr16c_add_symbol_hook): Remove const from Elf_Internal_Sym.
93
1f433d93
L
942004-04-02 H.J. Lu <hongjiu.lu@intel.com>
95
96 * elf32-arm.h (elf32_arm_final_link_relocate): Handle
97 R_ARM_ALU* only if OLD_ARM_ABI is not defined.
98
e489d0ae
PB
992004-04-01 Paul Brook <paul@codesourcery.com>
100
101 * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update.
102 * elf32-arm.h (struct elf32_elf_section_map): New.
103 (struct _arm_elf_section_data): New.
104 (elf32_arm_section_data): Define.
105 (struct elf32_arm_link_hash_table): Add byteswap_code.
106 (elf32_arm_link_hash_table_create): Initialize byteswap_code.
107 (bfd_elf32_arm_process_before_allocation): Add byteswap_code.
108 (elf32_arm_post_process_headers): Set EF_ARM_BE8.
109 (elf32_arm_output_symbol_hook, elf32_arm_new_section_hook,
110 elf32_arm_compare_mapping, elf32_arm_write_section): New functions.
111 (bfd_elf32_new_section_hook, elf_backend_write_section,
112 elf_backend_link_output_symbol_hook): Define.
113
66a695f0
NC
1142004-04-01 Andy Chittenden <achittenden@bluearc.com>
115
116 * stabs.c (struct stab_link_includes_totals): Add field 'symb'
117 that keeps the characters in a B_INCL..B_EINCL range.
118 (_bfd_link_section_stabs): When computing the sum of the
119 characters in a B_INCL..B_EINCL range also keep a copy of those
120 characters. Use this information to distinguish between
121 include sections that have the same sum and the same length
122 but which are nevertheless unique.
123
8375c36b
PB
1242004-03-31 Paul Brook <paul@codesourcery.com>
125
126 * elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*.
127 * elfarm-nabi.c (elf32_arm_howto_table): Ditto.
128
a56b48eb
NC
1292004-03-31 Andy Chittenden <achittenden@bluearc.com>
130
131 * stabs.c (struct stab_link_includes_totals): Rename field 'total'
132 to 'sum_chars' and add field 'num_chars'.
133 (_bfd_link_section_stabs): When computing the sum of the
134 characters in a B_INCL..B_EINCL range also keep a count of the
135 number of characters. Use this information to help distinguish
136 between include sections when have the same sum but which
137 nevertheless are still unique.
138