1 2007-05-21 Richard Sandiford <richard@codesourcery.com>
3 * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
4 for executables and shared libraries.
6 2007-05-18 Nathan Sidwell <nathan@codesourcery.com>
8 * objcopy.c (strip_main): Detect identical input and output file
10 (copy_main): Refactor tempname detection and use.
12 2007-05-17 Nick Clifton <nickc@redhat.com>
14 * objdump.c (load_debug_section): Select bias for DWARF debug
15 addresses based on the flavour of the bfd.
17 2007-05-11 Alan Modra <amodra@bigpond.net.au>
20 * objcopy.c (copy_object): Don't copy ELF program headers for
23 2007-05-11 Alan Modra <amodra@bigpond.net.au>
25 * embedspu.sh (find_prog): Prefer prog in same dir as embedspu
26 over one found on the users path.
27 (main): Generate .reloc for each R_SPU_PPU* reloc.
29 2007-04-28 Alan Modra <amodra@bigpond.net.au>
31 * prdbg.c (tg_variable): Adjust for changed demangler.
32 (tg_start_function): Likewise.
34 2007-04-27 Alan Modra <amodra@bigpond.net.au>
36 * bucumm.h: Split off host dependencies to..
38 Many files: Include sysdep.h. Remove duplicate headers and reorder.
39 * Makefile.am: Run "make dep-am".
40 * Makefile.in: Regenerate.
42 2007-04-24 Nick Clifton <nickc@redhat.com>
44 * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
46 2007-04-24 Nathan Froyd <froydnj@codesourcery.com>
47 Phil Edwards <phil@codesourcery.com>
49 * objcopy.c (filter_symbols): Explicitly stripping a symbol
50 used in relocations is an error.
51 Retype 'keep' to bfd_boolean.
53 2007-04-24 Alan Modra <amodra@bigpond.net.au>
55 * Makefile.in: Regenerate.
56 * doc/Makefile.in: Regenerate.
58 2007-04-20 Nathan Froyd <froydnj@codesourcery.com>
59 Phil Edwards <phil@codesourcery.com>
60 Thomas de Lellis <tdel@windriver.com>
62 * objcopy.c (reverse_bytes): New variable.
63 (command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN.
64 (copy_options, copy_usage): Add "reverse-bytes" entry.
65 (copy_section): Reverse bytes within output sections.
66 * doc/binutils.texi: Document new objcopy option.
68 2007-04-20 Nick Clifton <nickc@redhat.com>
70 * rclex.l: Allow underscores at the start of identifiers.
72 2007-04-19 Alan Modra <amodra@bigpond.net.au>
76 * addr2line.c (translate_addresses): Call bfd_demangle rather than
78 * nm.c (print_symname): Likewise.
79 * objdump.c (objdump_print_symname, dump_symbols): Likewise.
81 * prdbg.c (struct pr_handle <demangler>): Add int param.
82 (tg_variable, tg_start_function): Adjust demangler calls.
83 * Makefile.am: Remove mention of budemang.[ch]. Run "make dep-am".
84 * Makefile.in: Regenerate.
85 * po/POTFILES.in: Regenerate.
87 2007-04-14 Steve Ellcey <sje@cup.hp.com>
89 * Makefile.am: Add ACLOCAL_AMFLAGS.
90 * configure.in: Change macro call order.
91 * Makefile.in: Regenerate.
92 * configure: Regenerate.
94 2007-04-13 Nathan Sidwell <nathan@codesourcery.com>
96 * Makefile.am (TOOL_PROGS): Add objcopy.
97 * Makefile.in: Rebuilt.
99 2007-04-12 H.J. Lu <hongjiu.lu@intel.com>
102 * objcopy.c (copy_object): Don't stop when there are no
103 sections to be copied.
105 2007-04-10 Vladimir Prus <vladimir@codesourcery.com>
107 * NEWS: Mention disjoint histograms support in
110 2007-04-09 Daniel Jacobowitz <dan@codesourcery.com>
112 * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
113 DW_TAG_inlined_subroutine.
115 2007-04-06 Matt Thomas <matt@netbsd.org>
117 * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
119 2007-04-05 Alan Modra <amodra@bigpond.net.au>
122 * nm.c (print_value): Cast bfd_vma to unsigned long to suit
125 2007-04-02 Nick Clifton <nickc@redhat.com>
128 * nm.c (value_format): Replace with value_format_32bit and
130 (set_radix): Update setting of value_format.
131 (set_print_width): New function. Compute the address size of a
132 given bfd and set the print_width global appropriately.
133 (display_archive): Use set_print_width.
134 (display_file): Likewise,
135 (print_object_filename_sysv): Update use of print_width.
136 (print_archive_member_sysv): Likewise.
137 (print_symbol_filename_posix): Likewise.
138 (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
140 2007-03-28 Richard Sandiford <richard@codesourcery.com>
141 Phil Edwards <phil@codesourcery.com>
143 * doc/binutils.texi: Put the contents after the title page rather
144 than at the end of the document.
146 2007-03-28 Nick Clifton <nickc@redhat.com>
148 * readelf.c (slurp_rela_relocs): Add newline to end of error
150 (slurp_rel_relocs, request_dump, request_dump_byname,
151 process_program_headers, process_dynamic_section,
152 process_symbol_table, process_mips_specific, main): Likewise.
154 2007-03-28 Alan Modra <amodra@bigpond.net.au>
156 * MAINTAINERS: Update mailing list addresses. Add myself
159 2007-03-27 Alan Modra <amodra@bigpond.net.au>
161 * embedspu.sh: Correct toe_addr quoting.
163 2007-03-27 Alan Modra <amodra@bigpond.net.au>
165 * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten
166 .toe section and .toe address checks. Use .reloc for _EAR*
167 symbols defined in non-BSS sections. Build table for _SPUEAR_
170 2007-03-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
173 * readelf.c (debug_apply_rela_addends): Do nothing for SH.
175 2007-03-22 Joseph Myers <joseph@codesourcery.com>
177 * doc/binutils.texi: Include VERSION_PACKAGE when reporting
180 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
182 * dlltool.c (make_one_lib_file): Use pc-relative relocation
183 instead of an absolute relocation for x86_64-pc-mingw32 target.
185 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
187 * Makefile.am (REPORT_BUGS_TO): Removed.
188 (INCLUDES): Remove -DREPORT_BUGS_TO.
189 * Makefile.in: Regenerated.
191 * bucomm.c: Don't include bfdver.h.
192 * objdump.c: Likewise.
193 * version.c: Likewise.
195 * bucomm.h: Include bfdver.h.
197 * configure.in (--with-bugurl): Removed.
198 * configure: Regenerated.
200 * doc/Makefile.am (binutils_TEXINFOS): Removed.
201 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
202 (TEXI2DVI): Likewise.
203 (config.texi): Removed.
204 (MOSTLYCLEANFILES): Remove config.texi.
205 * doc/Makefile.in: Regenerated.
207 * doc/binutils.texi: Include bfdver.texi instead of
210 2007-03-13 Nick Clifton <nickc@redhat.com>
212 * readelf.c (dump_section): Also test for SHT_REL sections when
213 producing the warning about unapplied relocs.
215 2007-03-07 Joseph Myers <joseph@codesourcery.com>
217 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
219 * doc/Makefile.am (config.texi): Define BUGURL.
220 * doc/binutils.texi: Use BUGURL. Remove text about large files
222 * Makefile.in, configure, doc/Makefile.in: Regenerate.
224 2007-03-01 Phil Edwards <phil@codesourcery.com>
225 Richard Sandiford <richard@codesourcery.com>
227 * NEWS: Mention addition of --extract-symbol.
228 * doc/binutils.texi: Document it.
229 * objcopy.c (extract_symbol): New variable.
230 (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
231 (copy_options): Add an entry for --extract-symbol.
232 (copy_usage): Mention --extract-symbol.
233 (copy_object): Set the start address to zero for --extract-symbol.
234 Do not copy private BFD data in that case.
235 (setup_section): Set the size, LMA and VMA to zero for
236 --extract-symbol. Do not copy private BFD data in that case.
237 (copy_section): Do not copy section contents if --extract-symbol
239 (copy_main): Set extract_symbol to TRUE if --extract-symbol
242 2007-03-01 Paul Brook <paul@codesourcery.com>
244 * MAINTAINERS: Update my entry.
246 2007-03-01 Joseph Myers <joseph@codesourcery.com>
248 * version.c: Update copyright date.
250 2007-03-01 Daniel Jacobowitz <dan@codesourcery.com>
252 * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
253 Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
254 * Makefile.in, doc/Makefile.in: Regenerate.
256 2007-03-01 Alan Modra <amodra@bigpond.net.au>
258 * embedspu.sh: Set type and size of global program handle symbol.
260 2007-02-28 Alan Modra <amodra@bigpond.net.au>
262 * Makefile.am (PROGS): Delete.
263 (RENAMED_PROGS): Define. Extracted from..
264 (noinst_PROGRAMS): ..here. Add BUILD_MISC.
265 (install-exec-local): Adjust.
266 * Makefile.in: Regenerate.
268 2007-02-28 Alan Modra <amodra@bigpond.net.au>
270 * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
271 (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
272 (EXTRA_PROGRAMS): Remove bin2c.
273 (bin2c$(EXEEXT_FOR_BUILD)): New rule.
274 (bin2c_SOURCES): Delete.
275 (DISTCLEANFILES): Remove sysinfo.
276 (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
277 bin2c$(EXEEXT_FOR_BUILD).
278 * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
280 (BUILD_INSTALL_MISC): ..here.
281 * Makefile.in: Regenerate.
282 * configure: Regenerate.
284 2007-02-27 Alan Modra <amodra@bigpond.net.au>
287 * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
288 (CFILES): Add bin2c.c.
289 (bin2c_SOURCES): Define.
290 (bin2c.o): Dependencies from "make dep-am".
291 * configure.in (BUILD_MISC): Add bin2c.
292 * version.c: Update year.
293 * po/POTFILES.in: Regenerate.
294 * Makefile.in: Regenerate.
295 * configure: Regenerate.
297 2007-02-17 Mark Mitchell <mark@codesourcery.com>
298 Nathan Sidwell <nathan@codesourcery.com>
299 Vladimir Prus <vladimir@codesourcery.com
300 Joseph Myers <joseph@codesourcery.com>
302 * configure.in (--with-bugurl): New option.
303 * configure: Regenerate.
304 * Makefile.am (REPORT_BUGS_TO): Define.
305 (INCLUDES): Define REPORT_BUGS_TO.
306 Regenerate dependencies.
307 * Makefile.in: Regenerate.
308 * doc/Makefile.in: Regenerate.
309 * bucomm.h: Remove include of bin-bugs.h.
310 * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
311 * ar.c (usage): Pass s to list_supported_targets. Don't print
312 empty REPORT_BUGS_TO.
313 * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
314 * cxxfilt.c (usage): Print bug url when giving help.
315 * dlltool.c (usage): Likewise.
316 * dllwrap.c (usage): Likewise.
317 * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
318 * nm.c (usage): Likewise.
319 * objcopy.c (copy_usage, strip_usage): Likewise.
320 * objdump.c (usage): Likewise.
321 * readelf.c ((usage): Likewise. Add STREAM argument. Adjust
323 * size.c (usage): Don't print empty REPORT_BUGS_TO.
324 * srconv.c (show_usage): Likewise.
325 * strings.c (usage): Likewise.
326 * sysdymp.c (show_usage): Likewise.
327 * windres.c (usage): Likewise.
329 2007-02-13 Alan Modra <amodra@bigpond.net.au>
331 * embedspu.sh: Add -W to readelf invocation.
333 2007-02-06 Dave Brolley <brolley@redhat.com>
335 * MAINTAINERS: Add myself as the maintainer of the MeP port.
337 2007-02-06 Nick Clifton <nickc@redhat.com>
340 * readelf.c: Include elf/h8.h twice. The first time in order to
341 get the reloc numbers, the second time in order to get the reloc
343 (dump_section): Tell the user if the section being displayed has
344 unprocessed relocs associated with it.
345 (get_reloc_size): New function - returns the size of a reloc.
346 (debug_apply_rela_addends): Use get_reloc_size().
347 * dwarf.c (read_and_display_attr_value): Extend number of
348 languages known for the DW_AT_language attribute.
349 (process_debug_info): Display the attribute offset before decoding
350 the attribute, in case there are problems.
352 2007-02-05 Dave Brolley <brolley@redhat.com>
354 * readelf.c (dump_relocations): Don't check for
355 (rtype == NULL && type == R_RELC).
357 2007-02-05 Dave Brolley <brolley@redhat.com>
359 * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
360 * Makefile.in: Regenerated.
361 * Contribute the following changes:
362 2003-10-29 Dave Brolley <brolley@redhat.com>
364 * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
365 * configure: Regenerated.
367 2001-04-03 Ben Elliston <bje@redhat.com>
369 * readelf.c: Include "elf/mep.h".
370 (guess_is_rela): Handle EM_CYGNUS_MEP.
371 (get_machine_name): Ditto.
372 (dump_relocations): Ditto.
374 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
376 * MAINTAINERS: Add a space between H.J. and Lu.
378 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
380 * doc/binutils.texi (objdump): Document the new addr64 option
381 for i386 disassembler.
383 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
386 * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
388 (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
389 * configure: Regenerated.
391 * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
393 2007-02-02 Nick Clifton <nickc@redhat.com>
395 * doc/binutils.texi (objdump): Document support for disassembling
396 the 440 PowerPC architecture.
398 2007-01-31 Nathan Sidwell <nathan@codesourcery.com>
400 * dwarf.c (process_debug_info): Protect against bogus length and
403 2007-01-25 Kazu Hirata <kazu@codesourcery.com>
405 * ar.c (print_contents, extract_file): Cast the return value
408 2007-01-12 Alan Modra <amodra@bigpond.net.au>
410 * ar.c (open_inarch): Check fwrite return. Use size_t.
411 (extract_file): Likewise. Remove test for "negative" file size.
412 * readelf.c (process_program_headers): Check fscanf return.
414 2007-01-11 H.J. Lu <hongjiu.lu@intel.com>
416 * bucomm.c (template_in_dir): Fix typo.
418 2007-01-11 Alan Modra <amodra@bigpond.net.au>
420 * embedspu.sh: New file.
421 * Makefile.am (embedspu): Add rule.
422 * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
423 * Makefile.in: Regenerate.
424 * configure: Regenerate.
426 2007-01-11 Alan Modra <amodra@bigpond.net.au>
428 * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
429 * bucomm.c (template_in_dir): New function, split out from..
430 (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP.
431 (make_tempdir): Use template_in_dir. Handle directory creation
433 * objcopy.c (MKDIR): Don't define.
434 (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix
437 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
439 * readelf.c (get_machine_flags): Treat Fido as an architecture
442 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
444 * configure.in: Renamed target x86_64-*-mingw64 to
446 * configure: Regenerated.
448 2007-01-05 Alan Modra <amodra@bigpond.net.au>
450 * readelf.c (dump_section): Don't print 32-bit values, which
451 were done incorrectly for little-endian. Instead print bytes.
453 For older changes see ChangeLog-2006
459 version-control: never