3 * readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
4 (get_section_type_name): Handle SHT_GNU_HASH.
5 (dynamic_info_DT_GNU_HASH): New variable.
6 (process_dynamic_section): Handle DT_GNU_HASH.
7 (process_symbol_table): Print also DT_GNU_HASH histogram.
12 * doc/binutils.texi (Strings): Document -T shorthand for --target
14 * strings.c: Update comment to include -T option.
17 * doc/binutils.texi (readelf): Fix spelling typo.
21 * dwarf.c (display_debug_frames): Catch a corrupt length field
22 generating an end of block address that is beyond the end of the
24 When encountering a corrupt CIE pointer do not reset the start
25 pointer as more data still has to be read.
26 Do not warn about user defined call frame instructions.
30 * readelf.c (process_section_headers): Add H8/300 support.
34 * objcopy.c (localize_hidden): New variable.
35 (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
36 (copy_options): Add --localize-hidden.
37 (copy_usage): Mention --localize-hidden.
38 (is_hidden_symbol): New function.
39 (filter_symbols): Handle localize_hidden.
40 (copy_object): Call filter_symbols if localize_hidden.
41 (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
42 * doc/binutils.texi (--localize-hidden): Document new option.
46 * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
47 (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
48 * Makefile.in: Regenerate.
52 * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
53 * Makefile.in: Regenerate.
57 * po/Make-in (pdf, ps): New dummy targets.
61 * po/Make-in (top_builddir): Define.
65 * config.in: Regenerate.
69 * doc/Makefile.am (TEXI2DVI): Define.
70 * doc/Makefile.in: Regenerate.
74 * Makefile.am: Replace INTLLIBS with LIBINTL everywhere. Add
75 DEPENDENCIES variables for every program.
77 (INCLUDES): Use @INCINTL@.
78 * acinclude.m4: Include new gettext macros.
79 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
80 Remove local code for po/Makefile.
81 * Makefile.in, configure, doc/Makefile.in: Regenerated.
85 * po/es.po: Updated Spanish translation.
89 * MAINTAINERS: Update my email address.
93 * po/fr.po: Updated French translation.
97 * po/vi.po: Updated Vietnamese translation.
101 * po/ru.po: Updated translation.
105 * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
107 (dlltool.1): Likewise.
108 (nlmconv.1): Likewise.
110 (objcopy.1): Likewise.
111 (objdump.1): Likewise.
112 (ranlib.1): Likewise.
113 (readelf.1): Likewise.
115 (strings.1): Likewise.
117 (windres.1): Likewise.
118 (cxxfilt.man): Likewise.
119 * doc/Makefile.in: Regenerated.
123 * doc/binutils.texi: Use "Binutils Index" for index name.
127 * dwarf.c (display_debug_frames): Don't return on ZERO
132 * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
133 (TEXI2POD): Use AM_MAKEINFOFLAGS.
134 (config.texi): Don't set top_srcdir.
135 * doc/binutils.texi: Don't use top_srcdir.
136 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
140 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
144 * Makefile.am: Run "make dep-am".
145 * Makefile.in: Regenerate.
149 * configure: Regenerate.
154 * readelf.c (SECTION_NAME): Cope with a missing string table.
155 (process_file_header): Cope with a corrupt e_shstrndx field.
156 (process_section_headers): Correctly handle an e_shstrndx value of
161 * objdump.c (objdump_symbol_at_address): Fix typo in comment.
165 * MAINTAINERS (CGEN Maintainers): Remove myself.
169 * po/Make-in: Add install-html target.
170 * Makefile.am: Add install-html and install-html-recursive targets.
171 * Makefile.in: Regenerate.
172 * configure.in: AC_SUBST datarootdir, docdir and htmldir.
173 * configure: Regenerate.
174 * doc/Makefile.am: Add install-html and install-html-am targets.
175 * doc/Makefile.in: Regenerate.
179 * addr2line.c (long_options): Add new option 'section'.
180 (usage): Document new -j/--section option.
181 (find_offset_in_section): New function.
182 (translate_addresses): Add 'section' parameter.
183 If it is non-null, call find_offset_in_section on it.
184 (process_file): Add 'section_name' parameter.
185 If it is non-null, look for the section in the BFD object.
186 Pass the section to translate_addresses.
187 (main): Handle new -j option.
188 Pass the section name to process_file.
189 * doc/binutils.texi (addr2line): Document new -j/--section option.
193 * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
197 * BRANCHES: Remove binutils-csl-arm-2006q1-branch. Document
198 binutils-csl-2_17-branch instead.
202 * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
207 * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
208 * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
212 * bucomm.c (display_target_list): Make local variable `a' to be of
213 type enum bfd_architecture. Thus no need to cast enums to int.
214 (display_info_table): Likewise.
218 * readelf.c (decode_ARM_machine_flags): Handle EABIv5.
222 * dwarf.c (process_extended_line_op): Remove pointer_size param.
223 Use length instead to determine address size.
224 (get_pointer_size_and_offset_of_comp_unit): Delete.
225 (display_debug_lines): Adjust for above.
226 (display_debug_aranges): Don't stop on finding two zeros.
227 (display_debug_frames): For warning, print offset not pointer.
231 * dlltool.c: Update copyright year.
232 * doc/binutils.texi: Likewise.
236 * dlltool.c (add_stdcall_underscore): New flag.
237 (xlate): Also add underscore to stdcall symbol if
238 add_stdcall_underscore set.
239 (usage): Document --add-stdcall-underscore option.
240 (OPTION_ADD_STDCALL_UNDERSCORE): New define.
241 (long_options): Use it for --add-stdcall-underscore option.
243 * doc/binutils.texi: Document --add-stdcall-underscore option
244 and differentiate from --add-underscore.
248 * readelf.c (get_machine_flags): Adjust.
252 * dwarf.c (frame_display_row, display_debug_frames): Handle
253 DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
257 * objcopy.c (use_alt_mach_code): Change type to unsigned long.
258 (copy_object): If bfd_alt_mach_code fails emit a more helpful
259 message and if the target architecture is ELF use the alternative
260 as replacement value for the e_machine number.
261 (copy_main): Use strtoul to parse the number provided with the
262 --alt-mach-code switch.
263 * doc/binutils.texi (--alt-mach-code): Document that this switch
264 can now set the absolute e_machine value.
268 * po/Make-in: Add html target.
272 * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
276 * config.in: Rebuilt.
281 * readelf.c (process_program_headers): Use
282 ELF_IS_SECTION_IN_SEGMENT_MEMORY.
286 * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
287 * configure: Regenerate.
288 * objdump.c (fprintf): Remove declaration.
289 * bucomm.h (fprintf): Declare if not already declared.
290 (snprintf): Likewise.
291 (vsnprintf): Likewise.
295 * readelf.c (process_program_headers): Match PT_TLS segment
296 only with SHT_TLS sections.
300 * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
304 * readelf.c (process_program_headers): Undo the last change.
308 * readelf.c (process_program_headers): Undo the change made on
309 2004-09-22. Match PT_DYNAMIC segment only with SHT_DYNAMIC
314 * objcopy.c (copy_object): Catch the case where an attempt is made
315 to add a section that already exists and produce a more helpful
320 * po/vi.po: New Vietnamese translation.
321 * configure.in (ALL_LINGUAS): Add vi.
322 * configure: Regenerate.
326 Introduce TLS descriptors for i386 and x86_64.
327 * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
333 * objcopy.c (copy_object): For PE format targets set the VMA of a
334 newly created gnu_debuglink section to a non-zero, aligned,
336 * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
337 * Makefile.in: Regenerate.
342 * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
343 * configure: Regenerate.
344 * objdump.c (struct objdump_disasm_info): Don't check for
345 DISASSEMBLER_NEEDS_RELOCS.
346 (objdump_print_addr): Likewise.
347 (disassemble_bytes): Check disassembler_needs_relocs from
348 disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
350 (disassemble_section): Likewise.
351 (disassemble_data): Initialize it.
355 * objcopy.c (copy_object): Fix thinko.
357 * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
361 * readelf.c (guess_is_rela): Add case for Nios/Nios II.
362 (get_machine_name): Likewise.
364 For older changes see ChangeLog-2005
370 version-control: never