]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
* gdbint.texinfo (Operation System ABI Variant Handling): Update
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
effdf42a
NC
12007-02-01 Nick Clifton <nickc@redhat.com>
2
3 PR ld/3852
4 * elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields
5 in the elf_link_hash_table structure.
6
183e98be
AM
72007-02-01 Alan Modra <amodra@bigpond.net.au>
8
9 * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
10 * elfxx-target.h (elf_backend_write_core_note): Define and use.
11 * elf.c (elfcore_write_prpsinfo): Call the above. Add support for
12 32-bit core note on 64-bit target.
13 (elfcore_write_prstatus): Likewise.
14 (elfcore_write_lwpstatus): Make note_name const.
15 (elfcore_write_prfpreg): Likewise.
16 (elfcore_write_pstatus): Add support for 32-bit core note on 64-bit
17 target.
18 * elf32-ppc.c (ppc_elf_write_core_note): New function.
19 (elf_backend_write_core_note): Define.
20 * elf64-ppc.c (ppc64_elf_write_core_note): New function.
21 (elf_backend_write_core_note): Define.
22
16cecee5
L
232076-01-31 H.J. Lu <hongjiu.lu@intel.com>
24
25 * elf32-cris.c (INCLUDED_TARGET_FILE): Removed.
26 (elf32_bed): Defined for elf32-us-cris.
27
28 * elf64-sh64.c (elf64_bed): Defined for Linux.
29 (INCLUDED_TARGET_FILE): Removed.
30
31 * elfxx-target.h (elfNN_bed): Always define. Don't check
32 INCLUDED_TARGET_FILE.
33
c9b57b7e
DD
342007-01-31 DJ Delorie <dj@redhat.com>
35
36 * elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning
37 message for dangerous relocs, special case the common user error.
38
53020534
L
392007-01-30 H.J. Lu <hongjiu.lu@intel.com>
40
41 * elf.c (copy_elf_program_header): Start from the first section
42 in a segment and stop when all sections in a segment are
43 accounted for.
44
c7b8f16e
JB
452007-01-29 Julian Brown <julian@codesourcery.com>
46
47 * bfd-in2.h: Regenerate.
48 * bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11
49 instruction scanning should be done.
50 (bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan)
51 (bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes.
52 (bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to
53 prototype.
54 * elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info
55 argument.
56 * elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME)
57 (VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros.
58 (elf32_vfp11_erratum_type): New enum.
59 (elf32_vfp11_erratum_list): New struct. List of veneers or jumps to
60 veneers.
61 (_arm_elf_section_data): Add mapsize, erratumcount, erratumlist.
62 (elf32_arm_link_hash_table): Add vfp11_erratum_glue_size,
63 vfp11_fix and num_vfp11_fixes fields.
64 (elf32_arm_link_hash_table_create): Initialise vfp11_fix,
65 vfp11_erratum_glue_size, num_vfp11_fixes fields.
66 (VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer.
67 (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum
68 glue section.
69 (elf32_arm_section_map_add): Add an code/data mapping symbol entry
70 to a section's map.
71 (record_vfp11_erratum_veneer): Create a single veneer, and its
72 associated symbols.
73 (bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue.
74 (bfd_elf32_arm_init_maps): Initialise mapping symbol table for input
75 BFDs.
76 (bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround
77 required.
78 (bfd_arm_vfp11_pipe): Define VFP11 instruction pipes.
79 (bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn.
80 (bfd_arm_vfp11_write_mask): Update write mask according to coded
81 register number.
82 (bfd_arm_vfp11_antidependency): New function.
83 (bfd_arm_vfp11_insn_decode): Decode a VFP11 insn.
84 (elf32_arm_compare_mapping): Declare.
85 (bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input
86 BFD for potential erratum-triggering insns. Record results.
87 (bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers
88 and branches to veneers have been placed in virtual memory after
89 layout.
90 (bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global
91 hash table.
92 (elf32_arm_output_symbol_hook): Remove.
93 (elf32_arm_write_section): Output veneers, and branches to veneers.
94 Use maps from input sections, not output sections, for code
95 byte-swapping.
96 * elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument.
97 * elf32-score.c (_bfd_score_elf_write_section): Likewise.
98 * elfxx-mips.c (_bfd_mips_elf_write_section): Likewise.
99 * elfxx-mips.h (_bfd_mips_elf_write_section): Likewise.
100
1012007-01-27 H.J. Lu <hongjiu.lu@intel.com>
83d1651b
L
102
103 * elf64-hppa.c (elf64_bed): Defined for HPUX and Linux.
b8210914 104 (INCLUDED_TARGET_FILE): Removed.
83d1651b 105
914dfb0f
DA
1062007-01-27 Mike Frysinger <vapier@gentoo.org>
107
108 * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd.
109 (INCLUDED_TARGET_FILE): Remove.
110
78eba9b6
DD
1112007-01-25 DJ Delorie <dj@redhat.com>
112
113 * elf32-m32c.c (m32c_elf_howto_table): Don't complain about
114 R_M32C_16 or R_M32C_24 relocs.
115
64ee10b6
NC
1162007-01-25 Nick Clifton <nickc@redhat.com>
117
118 PR binutils/3874
119 * elf32-avr.c (avr_link_hash_table): Check to make sure that the
120 hash table was created by elf32_avr_link_hash_table_create before
121 using it.
122 (elf32_avr_link_hash_newfunc): New function. Just pass the call
123 through to _bfd_elf_link_hash_newfunc.
124 (elf32_avr_link_hash_table_create): Use
125 elf32_avr_link_hash_newfunc instead of
126 _bfd_elf_link_hash_newfunc.
127 (elf32_avr_relocate_section): Check for the hash table pointer
128 being NULL.
129 (elf32_avr_relax_section, avr_build_one_stub,
130 elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs,
131 elf32_avr_build_stubs): Likewise.
132
40b36307
L
1332007-01-16 H.J. Lu <hongjiu.lu@intel.com>
134
135 PR ld/3831
136 * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an
137 argument, Elf_Internal_Sym *.
138
139 * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data
140 symbol dynamic if info->dynamic_data is TRUE.
141 (bfd_elf_record_link_assignment): Updated call to
142 bfd_elf_record_link_assignment.
143 (_bfd_elf_merge_symbol): Likewise. Always call
144 bfd_elf_link_mark_dynamic_symbol.
145
a454209d
L
1462076-01-12 H.J. Lu <hongjiu.lu@intel.com>
147
148 * Makefile.am (BFD_LIBS): Removed.
149 * Makefile.in: Regenerated.
150
21e40a48
L
1512076-01-11 H.J. Lu <hongjiu.lu@intel.com>
152
153 PR binutils/3631
154 * Makefile.am (OFILES): Add @bfd64_libs@.
155 (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES).
156 * Makefile.in: Regenerated.
157
158 * configure.in (bfd_libs): Replaced by ...
159 (bfd64_libs): This.
160 * configure: Regenerated.
161
59e0647f
NS
1622007-01-11 Nathan Sidwell <nathan@codesourcery.com>
163
164 * elf.c (assign_file_positions_for_load_sections): We can
165 require fewer phdrs than expected.
166
3bdcfdf4
KH
1672007-01-08 Kazu Hirata <kazu@codesourcery.com>
168
169 * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido.
170 * bfd-in2.h: Regenerate.
171 * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of
172 bfd_mach_cpu32_fido.
173 (m68k_arch_features): Use fido_a instead of cpu32.
174 (bfd_m68k_compatible): Reject the combination of Fido and
175 ColdFire. Accept the combination of CPU32 and Fido with a
176 warning.
177 * elf32-m68k.c (elf32_m68k_object_p,
178 elf32_m68k_merge_private_bfd_data,
179 elf32_m68k_print_private_bfd_data): Treat Fido as an
180 architecture by itself.
181
42037fe5
NC
1822007-01-08 Kai Tietz <kai.tietz@onevision.com>
183
184 * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*.
185
ebe8b991
JJ
1862007-01-05 Jakub Jelinek <jakub@redhat.com>
187
188 * texhex.c (first_phase): Don't fall through into the default
189 case.
190 (pass_over): Replace abort () calls with return FALSE. Fix
191 buffer overflow.
192
b327f31f
AM
1932007-01-04 Jie Zhang <jie.zhang@analog.com>
194
195 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set
196 SEC_EXCLUDE on zero size .eh_frame.
197
10a2343e 198For older changes see ChangeLog-2006
56882138
AM
199\f
200Local Variables:
201mode: change-log
202left-margin: 8
203fill-column: 74
204version-control: never
205End: