* objcopy.c (filter_symbols): Explicitly stripping a symbol used in relocations is...
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2007-04-24 Nathan Froyd <froydnj@codesourcery.com>
2 Phil Edwards <phil@codesourcery.com>
3
4 * objcopy.c (filter_symbols): Explicitly stripping a symbol
5 used in relocations is an error.
6 Retype 'keep' to bfd_boolean.
7
8 2007-04-24 Alan Modra <amodra@bigpond.net.au>
9
10 * Makefile.in: Regenerate.
11 * doc/Makefile.in: Regenerate.
12
13 2007-04-20 Nathan Froyd <froydnj@codesourcery.com>
14 Phil Edwards <phil@codesourcery.com>
15 Thomas de Lellis <tdel@windriver.com>
16
17 * objcopy.c (reverse_bytes): New variable.
18 (command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN.
19 (copy_options, copy_usage): Add "reverse-bytes" entry.
20 (copy_section): Reverse bytes within output sections.
21 * doc/binutils.texi: Document new objcopy option.
22
23 2007-04-20 Nick Clifton <nickc@redhat.com>
24
25 * rclex.l: Allow underscores at the start of identifiers.
26
27 2007-04-19 Alan Modra <amodra@bigpond.net.au>
28
29 * budemang.c: Delete.
30 * budemang.h: Delete.
31 * addr2line.c (translate_addresses): Call bfd_demangle rather than
32 demangle.
33 * nm.c (print_symname): Likewise.
34 * objdump.c (objdump_print_symname, dump_symbols): Likewise.
35 (dump_bfd): Likewise.
36 * prdbg.c (struct pr_handle <demangler>): Add int param.
37 (tg_variable, tg_start_function): Adjust demangler calls.
38 * Makefile.am: Remove mention of budemang.[ch]. Run "make dep-am".
39 * Makefile.in: Regenerate.
40 * po/POTFILES.in: Regenerate.
41
42 2007-04-14 Steve Ellcey <sje@cup.hp.com>
43
44 * Makefile.am: Add ACLOCAL_AMFLAGS.
45 * configure.in: Change macro call order.
46 * Makefile.in: Regenerate.
47 * configure: Regenerate.
48
49 2007-04-13 Nathan Sidwell <nathan@codesourcery.com>
50
51 * Makefile.am (TOOL_PROGS): Add objcopy.
52 * Makefile.in: Rebuilt.
53
54 2007-04-12 H.J. Lu <hongjiu.lu@intel.com>
55
56 PR binutils/4348
57 * objcopy.c (copy_object): Don't stop when there are no
58 sections to be copied.
59
60 2007-04-10 Vladimir Prus <vladimir@codesourcery.com>
61
62 * NEWS: Mention disjoint histograms support in
63 gprof.
64
65 2007-04-09 Daniel Jacobowitz <dan@codesourcery.com>
66
67 * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
68 DW_TAG_inlined_subroutine.
69
70 2007-04-06 Matt Thomas <matt@netbsd.org>
71
72 * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
73
74 2007-04-05 Alan Modra <amodra@bigpond.net.au>
75
76 PR binutils/4292
77 * nm.c (print_value): Cast bfd_vma to unsigned long to suit
78 value_format_32bit.
79
80 2007-04-02 Nick Clifton <nickc@redhat.com>
81
82 PR binutils/4292
83 * nm.c (value_format): Replace with value_format_32bit and
84 value_format_64bit.
85 (set_radix): Update setting of value_format.
86 (set_print_width): New function. Compute the address size of a
87 given bfd and set the print_width global appropriately.
88 (display_archive): Use set_print_width.
89 (display_file): Likewise,
90 (print_object_filename_sysv): Update use of print_width.
91 (print_archive_member_sysv): Likewise.
92 (print_symbol_filename_posix): Likewise.
93 (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
94
95 2007-03-28 Richard Sandiford <richard@codesourcery.com>
96 Phil Edwards <phil@codesourcery.com>
97
98 * doc/binutils.texi: Put the contents after the title page rather
99 than at the end of the document.
100
101 2007-03-28 Nick Clifton <nickc@redhat.com>
102
103 * readelf.c (slurp_rela_relocs): Add newline to end of error
104 messages.
105 (slurp_rel_relocs, request_dump, request_dump_byname,
106 process_program_headers, process_dynamic_section,
107 process_symbol_table, process_mips_specific, main): Likewise.
108
109 2007-03-28 Alan Modra <amodra@bigpond.net.au>
110
111 * MAINTAINERS: Update mailing list addresses. Add myself
112 as PPC maintainer.
113
114 2007-03-27 Alan Modra <amodra@bigpond.net.au>
115
116 * embedspu.sh: Correct toe_addr quoting.
117
118 2007-03-27 Alan Modra <amodra@bigpond.net.au>
119
120 * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten
121 .toe section and .toe address checks. Use .reloc for _EAR*
122 symbols defined in non-BSS sections. Build table for _SPUEAR_
123 symbols.
124
125 2007-03-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
126
127 PR gas/3811
128 * readelf.c (debug_apply_rela_addends): Do nothing for SH.
129
130 2007-03-22 Joseph Myers <joseph@codesourcery.com>
131
132 * doc/binutils.texi: Include VERSION_PACKAGE when reporting
133 version.
134
135 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
136
137 * dlltool.c (make_one_lib_file): Use pc-relative relocation
138 instead of an absolute relocation for x86_64-pc-mingw32 target.
139
140 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
141
142 * Makefile.am (REPORT_BUGS_TO): Removed.
143 (INCLUDES): Remove -DREPORT_BUGS_TO.
144 * Makefile.in: Regenerated.
145
146 * bucomm.c: Don't include bfdver.h.
147 * objdump.c: Likewise.
148 * version.c: Likewise.
149
150 * bucomm.h: Include bfdver.h.
151
152 * configure.in (--with-bugurl): Removed.
153 * configure: Regenerated.
154
155 * doc/Makefile.am (binutils_TEXINFOS): Removed.
156 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
157 (TEXI2DVI): Likewise.
158 (config.texi): Removed.
159 (MOSTLYCLEANFILES): Remove config.texi.
160 * doc/Makefile.in: Regenerated.
161
162 * doc/binutils.texi: Include bfdver.texi instead of
163 config.texi.
164
165 2007-03-13 Nick Clifton <nickc@redhat.com>
166
167 * readelf.c (dump_section): Also test for SHT_REL sections when
168 producing the warning about unapplied relocs.
169
170 2007-03-07 Joseph Myers <joseph@codesourcery.com>
171
172 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
173 bug-reporting URL.
174 * doc/Makefile.am (config.texi): Define BUGURL.
175 * doc/binutils.texi: Use BUGURL. Remove text about large files
176 and uuencoding.
177 * Makefile.in, configure, doc/Makefile.in: Regenerate.
178
179 2007-03-01 Phil Edwards <phil@codesourcery.com>
180 Richard Sandiford <richard@codesourcery.com>
181
182 * NEWS: Mention addition of --extract-symbol.
183 * doc/binutils.texi: Document it.
184 * objcopy.c (extract_symbol): New variable.
185 (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
186 (copy_options): Add an entry for --extract-symbol.
187 (copy_usage): Mention --extract-symbol.
188 (copy_object): Set the start address to zero for --extract-symbol.
189 Do not copy private BFD data in that case.
190 (setup_section): Set the size, LMA and VMA to zero for
191 --extract-symbol. Do not copy private BFD data in that case.
192 (copy_section): Do not copy section contents if --extract-symbol
193 is passed.
194 (copy_main): Set extract_symbol to TRUE if --extract-symbol
195 is passed.
196
197 2007-03-01 Paul Brook <paul@codesourcery.com>
198
199 * MAINTAINERS: Update my entry.
200
201 2007-03-01 Joseph Myers <joseph@codesourcery.com>
202
203 * version.c: Update copyright date.
204
205 2007-03-01 Daniel Jacobowitz <dan@codesourcery.com>
206
207 * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
208 Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
209 * Makefile.in, doc/Makefile.in: Regenerate.
210
211 2007-03-01 Alan Modra <amodra@bigpond.net.au>
212
213 * embedspu.sh: Set type and size of global program handle symbol.
214
215 2007-02-28 Alan Modra <amodra@bigpond.net.au>
216
217 * Makefile.am (PROGS): Delete.
218 (RENAMED_PROGS): Define. Extracted from..
219 (noinst_PROGRAMS): ..here. Add BUILD_MISC.
220 (install-exec-local): Adjust.
221 * Makefile.in: Regenerate.
222
223 2007-02-28 Alan Modra <amodra@bigpond.net.au>
224
225 * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
226 (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
227 (EXTRA_PROGRAMS): Remove bin2c.
228 (bin2c$(EXEEXT_FOR_BUILD)): New rule.
229 (bin2c_SOURCES): Delete.
230 (DISTCLEANFILES): Remove sysinfo.
231 (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
232 bin2c$(EXEEXT_FOR_BUILD).
233 * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
234 Move embedspu to..
235 (BUILD_INSTALL_MISC): ..here.
236 * Makefile.in: Regenerate.
237 * configure: Regenerate.
238
239 2007-02-27 Alan Modra <amodra@bigpond.net.au>
240
241 * bin2c.c: New file.
242 * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
243 (CFILES): Add bin2c.c.
244 (bin2c_SOURCES): Define.
245 (bin2c.o): Dependencies from "make dep-am".
246 * configure.in (BUILD_MISC): Add bin2c.
247 * version.c: Update year.
248 * po/POTFILES.in: Regenerate.
249 * Makefile.in: Regenerate.
250 * configure: Regenerate.
251
252 2007-02-17 Mark Mitchell <mark@codesourcery.com>
253 Nathan Sidwell <nathan@codesourcery.com>
254 Vladimir Prus <vladimir@codesourcery.com
255 Joseph Myers <joseph@codesourcery.com>
256
257 * configure.in (--with-bugurl): New option.
258 * configure: Regenerate.
259 * Makefile.am (REPORT_BUGS_TO): Define.
260 (INCLUDES): Define REPORT_BUGS_TO.
261 Regenerate dependencies.
262 * Makefile.in: Regenerate.
263 * doc/Makefile.in: Regenerate.
264 * bucomm.h: Remove include of bin-bugs.h.
265 * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
266 * ar.c (usage): Pass s to list_supported_targets. Don't print
267 empty REPORT_BUGS_TO.
268 * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
269 * cxxfilt.c (usage): Print bug url when giving help.
270 * dlltool.c (usage): Likewise.
271 * dllwrap.c (usage): Likewise.
272 * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
273 * nm.c (usage): Likewise.
274 * objcopy.c (copy_usage, strip_usage): Likewise.
275 * objdump.c (usage): Likewise.
276 * readelf.c ((usage): Likewise. Add STREAM argument. Adjust
277 callers.
278 * size.c (usage): Don't print empty REPORT_BUGS_TO.
279 * srconv.c (show_usage): Likewise.
280 * strings.c (usage): Likewise.
281 * sysdymp.c (show_usage): Likewise.
282 * windres.c (usage): Likewise.
283
284 2007-02-13 Alan Modra <amodra@bigpond.net.au>
285
286 * embedspu.sh: Add -W to readelf invocation.
287
288 2007-02-06 Dave Brolley <brolley@redhat.com>
289
290 * MAINTAINERS: Add myself as the maintainer of the MeP port.
291
292 2007-02-06 Nick Clifton <nickc@redhat.com>
293
294 PR gas/3800
295 * readelf.c: Include elf/h8.h twice. The first time in order to
296 get the reloc numbers, the second time in order to get the reloc
297 decoder function.
298 (dump_section): Tell the user if the section being displayed has
299 unprocessed relocs associated with it.
300 (get_reloc_size): New function - returns the size of a reloc.
301 (debug_apply_rela_addends): Use get_reloc_size().
302 * dwarf.c (read_and_display_attr_value): Extend number of
303 languages known for the DW_AT_language attribute.
304 (process_debug_info): Display the attribute offset before decoding
305 the attribute, in case there are problems.
306
307 2007-02-05 Dave Brolley <brolley@redhat.com>
308
309 * readelf.c (dump_relocations): Don't check for
310 (rtype == NULL && type == R_RELC).
311
312 2007-02-05 Dave Brolley <brolley@redhat.com>
313
314 * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
315 * Makefile.in: Regenerated.
316 * Contribute the following changes:
317 2003-10-29 Dave Brolley <brolley@redhat.com>
318
319 * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
320 * configure: Regenerated.
321
322 2001-04-03 Ben Elliston <bje@redhat.com>
323
324 * readelf.c: Include "elf/mep.h".
325 (guess_is_rela): Handle EM_CYGNUS_MEP.
326 (get_machine_name): Ditto.
327 (dump_relocations): Ditto.
328
329 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
330
331 * MAINTAINERS: Add a space between H.J. and Lu.
332
333 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
334
335 * doc/binutils.texi (objdump): Document the new addr64 option
336 for i386 disassembler.
337
338 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
339
340 PR binutils/3945
341 * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
342 target.
343 (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
344 * configure: Regenerated.
345
346 * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
347
348 2007-02-02 Nick Clifton <nickc@redhat.com>
349
350 * doc/binutils.texi (objdump): Document support for disassembling
351 the 440 PowerPC architecture.
352
353 2007-01-31 Nathan Sidwell <nathan@codesourcery.com>
354
355 * dwarf.c (process_debug_info): Protect against bogus length and
356 abbrev offsets.
357
358 2007-01-25 Kazu Hirata <kazu@codesourcery.com>
359
360 * ar.c (print_contents, extract_file): Cast the return value
361 of fwrite to size_t.
362
363 2007-01-12 Alan Modra <amodra@bigpond.net.au>
364
365 * ar.c (open_inarch): Check fwrite return. Use size_t.
366 (extract_file): Likewise. Remove test for "negative" file size.
367 * readelf.c (process_program_headers): Check fscanf return.
368
369 2007-01-11 H.J. Lu <hongjiu.lu@intel.com>
370
371 * bucomm.c (template_in_dir): Fix typo.
372
373 2007-01-11 Alan Modra <amodra@bigpond.net.au>
374
375 * embedspu.sh: New file.
376 * Makefile.am (embedspu): Add rule.
377 * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
378 * Makefile.in: Regenerate.
379 * configure: Regenerate.
380
381 2007-01-11 Alan Modra <amodra@bigpond.net.au>
382
383 * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
384 * bucomm.c (template_in_dir): New function, split out from..
385 (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP.
386 (make_tempdir): Use template_in_dir. Handle directory creation
387 when !HAVE_MKDTEMP.
388 * objcopy.c (MKDIR): Don't define.
389 (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix
390 error message.
391
392 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
393
394 * readelf.c (get_machine_flags): Treat Fido as an architecture
395 by itself.
396
397 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
398
399 * configure.in: Renamed target x86_64-*-mingw64 to
400 x86_64-*-mingw*.
401 * configure: Regenerated.
402
403 2007-01-05 Alan Modra <amodra@bigpond.net.au>
404
405 * readelf.c (dump_section): Don't print 32-bit values, which
406 were done incorrectly for little-endian. Instead print bytes.
407
408 For older changes see ChangeLog-2006
409 \f
410 Local Variables:
411 mode: change-log
412 left-margin: 8
413 fill-column: 74
414 version-control: never
415 End:
This page took 0.040782 seconds and 5 git commands to generate.