1 2008-07-07 Alan Modra <amodra@bigpond.net.au>
3 * ieee.c (write_ieee_debugging_info): Use bfd_make_section_with_flags.
4 * nlmconv.c (main, powerpc_build_stubs): Likewise.
5 * rescoff.c (write_coff_file): Likewise.
6 * resres.c (write_res_file): Likewise.
7 * windmc.c (windmc_write_bin): Likewise.
9 2008-06-18 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
11 * readelf.c (guess_is_rela): Add EM_CR16_OLD.
12 (dump_relocations): Likewise.
13 (get_machine_name): Likewise.
14 (is_32bit_abs_reloc): Likewise.
16 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
18 * configure: Regenerate.
20 2008-06-12 DJ Delorie <dj@redhat.com>
22 * readelf.c (guess_is_rela): Add EM_M32C_OLD.
23 (dump_relocations): Likewise.
24 (process_section_headers): Likewise.
25 (is_32bit_abs_reloc): Likewise.
26 (is_16bit_abs_reloc): Likewise.
28 2008-06-12 Nick Clifton <nickc@redhat.com>
31 * objdump.c (dump_bfd): If the -g option found no STABS or IEEE
32 debug information to display, try dumping DWARF information
34 * rddbg.c (read_debugging_info): Add a parameter to suppress the
35 display of a warning message when no debug information is found.
36 * budbg.h (read_debugging_info): Update prototype.
37 * objcopy.c (copy_object): Continue to allow read_debugging_info
38 to produce warning messages.
39 * doc/binutils.texi (--debugging): Document new behaviour of the
40 -g/--debugging option.
42 2008-06-10 Ben Elliston <bje@gnu.org>
44 * MAINTAINERS: Remove myself as m68k maintainer.
46 2008-05-14 Alan Modra <amodra@bigpond.net.au>
48 * Makefile.in: Regenerate.
49 * doc/Makefile.in: Regenerate.
51 2008-05-12 Alan Modra <amodra@bigpond.net.au>
53 * embedspu.sh: Test for presence of ._ea by looking at section
54 table rather than looking at relocs. Correct toe_addr substitution.
56 2008-05-08 Alan Modra <amodra@bigpond.net.au>
58 * embedspu.sh: Take note of R_SPU_PPU32/64 relocs without a symbol,
59 and if present, put image in ".data.speelf". Put program handle
62 2008-05-01 Nick Clifton <nickc@redhat.com>
64 * readelf.c (print_symbol): Add code to display non-printing
67 2008-04-30 John Heidemann <johnh@isi.edu>
69 * doc/binutils.texi (strings): Add "unicode" to the documentation
70 of strings in order to make explicit that it supports this
73 2008-04-30 Alan Modra <amodra@bigpond.net.au>
75 * readelf.c (process_program_headers): Correct section in segment
78 2008-04-28 M Thomas <mthomas@rhrk.uni-kl.de>
79 Nick Clifton <nickc@redhat.com>
82 * objdump.c (slurp_file): Open the file in binary mode.
83 * ar.c: Remove conditional definition of O_BINARY.
86 * strings.c: Likewise.
87 * sysdep.h: Add conditional definition of O_BINARY.
89 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
91 * aclocal.m4: Regenerate.
92 * configure: Regenerate.
94 2008-04-16 Jean-Yves Lefort <jylefort@brutele.be>
97 * objcopy.c (stuct symlist): Rename to
98 is_specified_symbol_predicate_data.
99 (strip_specific_list): Rename to strip_specific_htab.
100 (strip_unneeded_list): Rename to strip_unneeded_htab.
101 (keep_specific_list): Rename to keep_specific_htab.
102 (localize_specific_list): Rename to localize_specific_htab.
103 (globalize_specific_list): Rename to globalize_specific_htab.
104 (keepglobal_specific_list): Rename to keepglobal_specific_htab.
105 (weaken_specific_list): Rename to weaken_specific_htab.
106 (eq_string): New function.
107 (create_symbol_htab): New function.
108 (create_symbol_htabs): New function.
109 (add_specific_symbol): Change to use hash tables.
110 (is_specified_symbol_predicate): New function.
111 (is_specified_symbol): Use hash table lookup.
112 (is_strip_section): Update to use new functions and hash tables.
113 (filter_symbols): Likewise.
114 (copy_object): Likewise.
115 (copy_section): Likewise.
116 (strip_main): Likewise.
117 (copy_main): Likewise.
120 2008-04-14 David S. Miller <davem@davemloft.net>
122 * readelf.c (get_gnu_elf_note_type): Recognize NT_GNU_GOLD_VERSION.
124 2008-04-11 Torleif Sandnes <torleif.sandnes@gmail.com>
126 * dwarf.c (display_debug_lines): Rename to
127 display_debug_lines_raw.
128 (display_debug_lines_decoded): New function. Displays the
129 interpreted contents of a .debug_line section.
130 (display_debug_lines): New function: Selects either a raw dump or
131 a decoded dump (or both) as requested by the user.
132 * dwarf.h (do_debug_lines_decoded): New extern.
133 * readelf.c: Add support for -wL or --debug-dump=decodedline
134 option to display the decoded contents of a .debug_line section.
135 * doc/binutils.texi: Document the new option.
136 * NEWS: Mention the new feature.
138 2008-04-08 Alan Modra <amodra@bigpond.net.au>
140 * dwarf.c: Remove trailing whitespace throughout file.
142 2008-04-04 Nick Clifton <nickc@redhat.com>
144 * po/sk.po: Updated Slovak translation.
146 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
148 * dwarf.c (dwarf_regnames_i386): Add AVX registers.
149 (dwarf_regnames_x86_64): Likewise.
151 2008-03-27 Cary Coutant <ccoutant@google.com>
153 Add support for thin archives.
154 * ar.c (make_thin_archive): New global flag.
155 (map_over_members): Deal with full pathnames in thin archives.
156 (usage, main): Add 'T' option for building thin archives.
157 (replace_members): Pass thin archive flag to ar_emul_append.
158 * arsup.c (ar_open): Initialize new flag.
159 * binemul.c (ar_emul_append): Add new parameter for
160 flattening nested archives.
161 (do_ar_emul_default_append): New function.
162 (ar_emul_default_append): Factored out recursive code.
163 * binutils/binemul.h (ar_emul_default_append): Add new parameter.
164 (struct bin_emulation_xfer_struct): New parameter for ar_append.
165 * dlltool.c (gen_lib_file): Initialize thin archive flag.
166 * emul_aix.c (ar_emul_aix_internal): Add new flatten
167 parameter, currently unimplemented.
169 * objcopy.c (copy_archive): Preserve thin archive flag.
170 * doc/binutils.texi: Update ar documentation.
171 * NEWS: Mention the new feature.
173 2008-03-20 H.J. Lu <hongjiu.lu@intel.com>
175 * readelf.c (process_mips_specific): Declare addr_size as int.
177 2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk>
179 * readelf.c (print_mips_got_entry): New function.
180 (process_mips_specific): Print GOT information.
182 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
184 * aclocal.m4: Regenerate.
185 * configure: Likewise.
186 * Makefile.in: Likewise.
187 * doc/Makefile.in: Likewise.
189 2008-03-16 Brian Dessent <brian@dessent.net>
191 * rcparse.y (resid): Allow control text to span multiple lines.
193 2008-03-13 Alan Modra <amodra@bigpond.net.au>
195 * readelf.c: Use %u throughout when printing sh_link or sh_info,
196 %lu when printing sh_addralign.
197 (process_version_sections): Use identical formats when printing
198 all offset and sh_link fields.
200 2008-03-13 Alan Modra <amodra@bigpond.net.au>
202 * Makefile.am: Run "make dep-am".
203 * Makefile.in: Regenerate.
204 * doc/Makefile.in: Regenerate.
205 * configure: Regenerate.
207 2008-03-12 Alan Modra <amodra@bigpond.net.au>
210 * readelf.c (SECTION_HEADER_INDEX, SECTION_HEADER_NUM): Delete.
211 Remove use throughout file.
212 (SECTION_HEADER): Likewise.
213 (dump_relocations): Don't adjust st_shndx for reserved range.
214 (process_file_header): Mask SHN_XINDEX to values seen in external
215 elf structs. Simplify valid section index tests.
216 (get_32bit_elf_symbols, get_64bit_elf_symbols): Mask SHN_XINDEX.
217 Map reserved st_shndx to internal form.
218 (process_section_groups): Test that group symbol st_shndx is in
219 range, not just non-zero. Delete reserved range check.
220 (get_symbol_index_type): Mask "type" to 16 bits when printing PRC,
223 2008-03-09 Paul Brook <paul@codesourcery.com>
225 * readelf.c (arm_attr_tag_VFP_arch): Add "VFPv3-D16".
227 2008-03-03 James E. Wilson <wilson@tuliptree.org>
229 * MAINTAINERS: Update my email address.
231 2008-03-03 Nick Clifton <nickc@redhat.com>
233 * dwarf.c (decode_location_expression): Handle
234 DW_OP_PGI_omp_thread_num.
236 2008-03-01 Alan Modra <amodra@bigpond.net.au>
238 * objdump.c (objdump_print_addr): Initialise "sym".
240 2008-02-27 Justin Pryzby <justinpryzby@users.sourceforge.net>
241 Nick Clifton <nickc@redhat.com>
243 * ar.c (usage): Mention -t command line switch.
244 * doc/binutils.texi (ranlib): Document -t command line switch.
246 2008-02-26 Nick Clifton <nickc@redhat.com>
248 * objdump.c (objdump_print_addr): If displaying file offsets, show
249 the offset even if there are no symbols available.
250 (dump_section): Display nothing if none of the section is going to
251 be dumped. Display the file offset, if requested, of the location
252 from where the dump starts.
253 * doc/binutils.texi (objdump): Mention that dumping via the -s
254 switch is also affected by the -F option.
256 2008-02-26 Nick Clifton <nickc@redhat.com>
258 Re-apply this patch which was accidentally deleted:
259 2006-05-16 Carlos O'Donell <carlos@codesourcery.com>
261 * doc/binutils.texi: Use "Binutils Index" for index name.
263 2008-02-22 Nick Clifton <nickc@redhat.com>
265 * objdump.c (display_file_offsets): New variable.
266 (long_options): Add -F/--file-offsets.
267 (objdump_print_addr_with_sym): If displaying file offsets, print
268 the offset of the given address.
269 (disassemble_bytes): If displaying file offsets, tell the user how
270 many zeroes are skipped and the file offset of the point where
272 (disassemble_section): Only display the name of the section if
273 data is going to be dumped from it.
274 (main): Handle new option. Produce error messages if the start or
275 stop addresses do not make sense.
276 * doc/binutils.texi: Document the new feature.
277 * NEWS: Mention the new feature.
279 2008-02-15 Chu Li <chul@cn.fujitsu.com>
280 Nick Clifton <nickc@redhat.com>
283 * strings.c (integer_arg): Delete function.
284 (string_min): Initialise to 4.
285 (main): Use strtoul to parse integer arguments.
286 Move check for an invalid string length to after all the arguments
288 (usage): Use indentation to indicate that -<n> is a another form
289 of the --bytes= command line option.
291 2008-02-12 Nick Clifton <nickc@redhat.com>
293 * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
295 (scan_obj_filename): Do not drop the const qualifier when calling
296 mcore_elf_cache_filename.
297 (struct fname_cache): Add const qualifier to filename field.
299 2008-02-08 H.J. Lu <hongjiu.lu@intel.com>
302 * strings.c (main): Set string_min to 4 if it is <= 0.
304 2008-02-07 Alan Modra <amodra@bigpond.net.au>
306 * objdump.c (main): Don't pass unadorned NULL to concat.
308 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
311 * configure: Regenerated.
313 2008-02-03 Adam Nemet <anemet@caviumnetworks.com>
315 * readelf.c (get_machine_flags): Handle Octeon.
317 2008-01-30 Tristan Gingold <gingold@adacore.com>
319 * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
320 (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
321 (get_dynamic_type): Handle IA64-specific tags.
322 (get_ia64_section_type_name): Handle OpenVMS-specific sections.
323 (get_section_type_name): Handle OS-specific sections (and
324 particularly IA64 OpenVMS one).
325 (get_elf_section_flags): Makes flags static. Add entries for IA64 and
328 2008-01-29 Nick Clifton <nickc@redhat.com>
330 * dwarf.c (print_dwarf_vma): New function. Display the value of a
331 dwarf_vma type at a specified precision. Use mingw field type
332 specifier if necessary.
333 (display_debug_loc): Use dwarf_vma type for begin and end values.
334 Use print_dwarf_vma to display their values. Use byte_get_signed
335 in order to correctly detect the -1 escape value.
336 (display_debug_aranges): Likewise.
337 (display_debug_ranges): Likewise.
339 2008-01-29 Alan Modra <amodra@bigpond.net.au>
341 * dwarf.c (display_debug_loc): Correct test for base address
342 entry when 64-bit host dumping 32-bit object.
344 2008-01-29 Alan Modra <amodra@bigpond.net.au>
346 * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
348 2008-01-28 Nick Clifton <nickc@redhat.com>
351 * rclex.c (yylex): Also allow the hypen character.
353 2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
355 * dwarf.c: Include "elf/common.h".
356 (eh_addr_size): Changed to int.
357 (dwarf_regnames_i386): New.
358 (dwarf_regnames_x86_64): Likewise.
359 (dwarf_regnames): Likewise.
360 (dwarf_regnames_count): Likewise.
361 (init_dwarf_regnames): Likewise.
363 (frame_display_row): Properly support different address size.
364 Call regname to get register name.
365 (display_debug_frames): Call regname to get register name.
366 Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
367 instead of DW_CFA_def_cfa_reg.
369 * dwarf.h (init_dwarf_regnames): New.
371 * objdump.c: Include "elf-bfd.h".
372 (dump_dwarf): Call init_dwarf_regnames on ELF input.
374 * readelf.c (guess_is_rela): Change argument to int.
375 (parse_args): Remove the undocumented upper case options for
377 (process_file_header): Call init_dwarf_regnames.
379 2008-01-25 DJ Delorie <dj@redhat.com>
381 * readelf.c (process_section_headers): Add m16c handler.
382 (is_16bit_abs_reloc): Recognize R_M32C_16.
384 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
386 * prdbg.c: Correct formatter style use.
387 * readelf.c: Likewise.
388 * strings.c: Likewise.
390 2008-01-25 Nick Clifton <nickc@redhat.com>
392 * po/ru.po: Updated Russian translation.
394 2008-01-17 H.J. Lu <hjl.tools@gmail.com>
396 * MAINTAINERS: Update my email address.
398 2008-01-14 Nick Clifton <nickc@redhat.com>
400 * dwarf.c (process_debug_info): Include the CU offset and corrupt
401 version value when reporting unrecognised DWARF version numbers.
402 (load_debug_info): Remember a failed attempt to load and parse the
403 .debug_info section and do not repeat such attempts.
404 (display_debug_lines): Check the return value from load_debug_info
405 and return whilst displaying a warning message if the load failed.
406 (display_debug_loc): Likewise.
407 (display_debug_ranges): Likewise.
408 (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
409 when the .debug_info section could not be loaded/parsed.
410 (process_debug_info): Display the length of the compilation unit
411 in hex, so that it corresponds with the offsets that will follow.
412 Tell the user if the length was 32-bit or 64-bit.
413 If a DIE abbreviation could not be found, tell the user the offset
415 (free_debug_memory): Do not attempt to free any entries in the
416 debug_information array if num_debug_info_entries is set to
417 DEBUG_INFO_UNAVAILABLE.
419 2008-01-10 Andreas Schwab <schwab@suse.de>
421 * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
423 2008-01-09 Jakub Zawadzki <darkjames@darkjames.ath.cx>
426 * bucomm.c (list_supported_architectures): Free architecture list
428 * windres.c (set_endianess): Likewise.
429 * windmc.c (set_endianess): Likewise.
431 2008-01-08 Kai Tietz <kai.tietz@onevision.com>
434 * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
435 characters for name tokens.
437 2008-01-04 Greg McGary <greg@mcgary.org>
439 * prdbg.c (print_vma): Print as long long, if host supports it.
441 2008-01-03 Nick Clifton <nickc@redhat.com>
443 * dwarf.c (read_and_display_attr_value): Prefix values that are
444 displayed in hexadecimal with 0x.
445 For the DW_AT_import attribute display the abbreviation number and
446 tag of the imported DIE.
447 (process_debug_info): Warn about lengths that reserved by the
448 DWARF3 specification.
449 Provide more information when corrupted DIEs are detected.
450 Warn if DIE corruption makes the sibling level negative.
452 For older changes see ChangeLog-2007
458 version-control: never