]> Git Repo - binutils.git/blob - binutils/ChangeLog
* dwarf.c (decode_location_expression): Add DW_OP_form_tls_address.
[binutils.git] / binutils / ChangeLog
1 2007-06-11  Nathan Sidwell  <[email protected]>
2
3         * dwarf.c (decode_location_expression): Add DW_OP_form_tls_address.
4
5 2007-06-06  Kai Tietz  <[email protected]>
6
7         PR binutils/4356 binutils/591
8         * resrc.c (filename_need_quotes): New function.
9         (look_for_default): If filename_need_quotes is true then quote the
10         filename in the command line being created.
11         (read_rc_file): Likewise.
12
13 2007-06-06  Ben Elliston  <[email protected]>
14
15         * doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".
16
17 2007-06-05  Kai Tietz  <[email protected]>
18
19         * Makefile.am: Add LIBICONV to windres.
20         * acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files.
21         * configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV.
22         * config.in: Add ICONV defines.
23         * aclocal.m4: Regenerate.
24         * confugure: Regenerate.
25         * winduni.c: (local_iconv_map codepages, wind_language_t,
26         languages, unicode_is_valid_codepage, wind_find_language_by_id,
27         wind_find_language_by_codepage, wind_find_codepage_info,
28         unicode_from_codepage, codepage_from_unicode, iconv_onechar,
29         wind_iconv_cp, wind_MultiByteToWideChar wind_WideCharToMultiByte):
30         New.
31         (ascii_from_unicode): Use codepage_from_unicode.
32         (ascii_from_unicode): Use unicode_from_codepage.
33         Use for cygwin windows API for unicode transformation.
34         * winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New
35         macros.
36         (wind_language_t, local_iconv_map): New types.
37         (wind_find_language_by_id, wind_find_language_by_codepage,
38         unicode_is_valid_codepage, wind_find_codepage_info,
39         unicode_from_codepage, codepage_from_unicode): New
40         prototypes.
41
42 2007-06-05  Alan Modra  <[email protected]>
43
44         * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.
45
46 2007-05-30  Alan Modra  <[email protected]>
47
48         * objcopy.c (copy_object): Revert 2007-05-11 change.  Don't
49         avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
50         (setup_section): Don't modify flags, and don't avoid calling
51         bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
52         * readelf.c (process_program_headers): Ignore .dynamic of type
53         SHT_NOBITS.
54
55 2007-05-29  Alan Modra  <[email protected]>
56
57         * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
58         pic or pie and image needs relocs.
59
60 2007-05-24  Steve Ellcey  <[email protected]>
61
62         * Makefile.in: Regenerate.
63         * configure: Regenerate.
64         * aclocal.m4: Regenerate.
65         * doc/Makefile.in: Regenerate.
66
67 2007-05-24  Kai Tietz  <[email protected]>
68
69         * rcparse.y: Join strings for elements having no side-effects in
70         "rc"-grammar.
71
72 2007-05-23  Kai Tietz  <[email protected]>
73
74         * rclex.c: New file replacing rclex.l.
75         * rclex.l: Removed.
76         * windint.h: New file holding common structure and type
77         definitions.
78         * Makefile.am: Added new header windint.h and exchanged rclex.l by
79         rclex.c.
80         * Makefile.in: Regenerate.
81         * rcparse.y: Renamed some structures.
82         Use in internal representation always bfd_vma instead of long or
83         int.
84         Removed from %union unused stringtable.
85         Added to %union suni structure for unicode strings.
86         Added new tokens for ANICURSOR, ANIICON, DLGINCLUDE,
87         DLGINIT, FONTDIR, HTML, MANIFEST, PLUGPLAY, VXD,
88         TOOLBAR, BUTTON, QUOTEDUNISTRING, and SIZEDUNISTRING.
89         Added support for these new rc file tokens.
90         * resbin.c: Rewrote using bfd and binary structures, and support
91         new resource types.
92         * rescoff.c: Likewise.
93         * resres.c: Likewise.
94         * resrc.c: Likewise. Dumps as RC are now recompilable.
95         * windres.c: As above. Using bfd for res and provide target
96         specific endianess support.
97         * windres.h: Use windint.h as include. Additionally removed K&R
98         syntax.
99         * winduni.c: New printing and unichar support routines.
100         * winduni.h: Prototypes for new unichar helpers.
101         * windint.h: New file.
102
103 2007-05-22  Paul Brook  <[email protected]>
104
105         * objdump.c (find_symbol_for_address): Merge section and target
106         specific filtering code.
107
108 2007-05-22  Nick Clifton  <[email protected]>
109
110         * doc/binutils.texi: Use @copying around the copyright notice.
111
112 2007-05-21  Richard Sandiford  <[email protected]>
113
114         * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
115         for executables and shared libraries.
116
117 2007-05-18  Nathan Sidwell  <[email protected]>
118
119         * objcopy.c (strip_main): Detect identical input and output file
120         names.
121         (copy_main): Refactor tempname detection and use.
122
123 2007-05-17  Nick Clifton  <[email protected]>
124
125         * objdump.c (load_debug_section): Select bias for DWARF debug
126         addresses based on the flavour of the bfd.
127
128 2007-05-11  Alan Modra  <[email protected]>
129
130         PR 4479
131         * objcopy.c (copy_object): Don't copy ELF program headers for
132         --only-keep-debug.
133
134 2007-05-11  Alan Modra  <[email protected]>
135
136         * embedspu.sh (find_prog): Prefer prog in same dir as embedspu
137         over one found on the users path.
138         (main): Generate .reloc for each R_SPU_PPU* reloc.
139
140 2007-04-28  Alan Modra  <[email protected]>
141
142         * prdbg.c (tg_variable): Adjust for changed demangler.
143         (tg_start_function): Likewise.
144
145 2007-04-27  Alan Modra  <[email protected]>
146
147         * bucumm.h: Split off host dependencies to..
148         * sysdep.h: ..here.
149         Many files: Include sysdep.h.  Remove duplicate headers and reorder.
150         * Makefile.am: Run "make dep-am".
151         * Makefile.in: Regenerate.
152
153 2007-04-24  Nick Clifton  <[email protected]>
154
155         * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
156
157 2007-04-24  Nathan Froyd  <[email protected]>
158             Phil Edwards  <[email protected]>
159
160         * objcopy.c (filter_symbols): Explicitly stripping a symbol
161         used in relocations is an error.
162         Retype 'keep' to bfd_boolean.
163
164 2007-04-24  Alan Modra  <[email protected]>
165
166         * Makefile.in: Regenerate.
167         * doc/Makefile.in: Regenerate.
168
169 2007-04-20  Nathan Froyd  <[email protected]>
170             Phil Edwards  <[email protected]>
171             Thomas de Lellis <[email protected]>
172
173         * objcopy.c (reverse_bytes):  New variable.
174         (command_line_switch, copy_main):  Add OPTION_REVERSE_ENDIAN.
175         (copy_options, copy_usage):  Add "reverse-bytes" entry.
176         (copy_section):  Reverse bytes within output sections.
177         * doc/binutils.texi:  Document new objcopy option.
178
179 2007-04-20  Nick Clifton  <[email protected]>
180
181         * rclex.l: Allow underscores at the start of identifiers.
182
183 2007-04-19  Alan Modra  <[email protected]>
184
185         * budemang.c: Delete.
186         * budemang.h: Delete.
187         * addr2line.c (translate_addresses): Call bfd_demangle rather than
188         demangle.
189         * nm.c (print_symname): Likewise.
190         * objdump.c (objdump_print_symname, dump_symbols): Likewise.
191         (dump_bfd): Likewise.
192         * prdbg.c (struct pr_handle <demangler>): Add int param.
193         (tg_variable, tg_start_function): Adjust demangler calls.
194         * Makefile.am: Remove mention of budemang.[ch].  Run "make dep-am".
195         * Makefile.in: Regenerate.
196         * po/POTFILES.in: Regenerate.
197
198 2007-04-14  Steve Ellcey  <[email protected]>
199
200         * Makefile.am: Add ACLOCAL_AMFLAGS.
201         * configure.in: Change macro call order.
202         * Makefile.in: Regenerate.
203         * configure: Regenerate.
204
205 2007-04-13  Nathan Sidwell  <[email protected]>
206
207         * Makefile.am (TOOL_PROGS): Add objcopy.
208         * Makefile.in: Rebuilt.
209
210 2007-04-12  H.J. Lu  <[email protected]>
211
212         PR binutils/4348
213         * objcopy.c (copy_object): Don't stop when there are no
214         sections to be copied.
215
216 2007-04-10  Vladimir Prus  <[email protected]>
217
218         * NEWS: Mention disjoint histograms support in
219         gprof.
220
221 2007-04-09  Daniel Jacobowitz  <[email protected]>
222
223         * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
224         DW_TAG_inlined_subroutine.
225
226 2007-04-06  Matt Thomas  <[email protected]>
227
228         * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
229
230 2007-04-05  Alan Modra  <[email protected]>
231
232         PR binutils/4292
233         * nm.c (print_value): Cast bfd_vma to unsigned long to suit
234         value_format_32bit.
235
236 2007-04-02  Nick Clifton  <[email protected]>
237
238         PR binutils/4292
239         * nm.c (value_format): Replace with value_format_32bit and
240         value_format_64bit.
241         (set_radix): Update setting of value_format.
242         (set_print_width): New function.  Compute the address size of a
243         given bfd and set the print_width global appropriately.
244         (display_archive): Use set_print_width.
245         (display_file): Likewise,
246         (print_object_filename_sysv): Update use of print_width.
247         (print_archive_member_sysv): Likewise.
248         (print_symbol_filename_posix): Likewise.
249         (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
250
251 2007-03-28  Richard Sandiford  <[email protected]>
252             Phil Edwards  <[email protected]>
253
254         * doc/binutils.texi: Put the contents after the title page rather
255         than at the end of the document.
256
257 2007-03-28  Nick Clifton  <[email protected]>
258
259         * readelf.c (slurp_rela_relocs): Add newline to end of error
260         messages.
261         (slurp_rel_relocs, request_dump, request_dump_byname,
262         process_program_headers, process_dynamic_section,
263         process_symbol_table, process_mips_specific, main): Likewise.
264
265 2007-03-28  Alan Modra  <[email protected]>
266
267         * MAINTAINERS: Update mailing list addresses.  Add myself
268         as PPC maintainer.
269
270 2007-03-27  Alan Modra  <[email protected]>
271
272         * embedspu.sh: Correct toe_addr quoting.
273
274 2007-03-27  Alan Modra  <[email protected]>
275
276         * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns.  Tighten
277         .toe section and .toe address checks.  Use .reloc for _EAR*
278         symbols defined in non-BSS sections.  Build table for _SPUEAR_
279         symbols.
280
281 2007-03-23  Kaz Kojima  <[email protected]>
282
283         PR gas/3811
284         * readelf.c (debug_apply_rela_addends): Do nothing for SH.
285
286 2007-03-22  Joseph Myers  <[email protected]>
287
288         * doc/binutils.texi: Include VERSION_PACKAGE when reporting
289         version.
290
291 2007-03-16  Kai Tietz  <[email protected]>
292
293         * dlltool.c (make_one_lib_file): Use pc-relative relocation
294         instead of an absolute relocation for x86_64-pc-mingw32 target.
295
296 2007-03-15  H.J. Lu  <[email protected]>
297
298         * Makefile.am (REPORT_BUGS_TO): Removed.
299         (INCLUDES): Remove -DREPORT_BUGS_TO.
300         * Makefile.in: Regenerated.
301
302         * bucomm.c: Don't include bfdver.h.
303         * objdump.c: Likewise.
304         * version.c: Likewise.
305
306         * bucomm.h: Include bfdver.h.
307
308         * configure.in (--with-bugurl): Removed.
309         * configure: Regenerated.
310
311         * doc/Makefile.am (binutils_TEXINFOS): Removed.
312         (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
313         (TEXI2DVI): Likewise.
314         (config.texi): Removed.
315         (MOSTLYCLEANFILES): Remove config.texi.
316         * doc/Makefile.in: Regenerated.
317
318         * doc/binutils.texi: Include bfdver.texi instead of
319         config.texi.
320
321 2007-03-13  Nick Clifton  <[email protected]>
322
323         * readelf.c (dump_section): Also test for SHT_REL sections when
324         producing the warning about unapplied relocs.
325
326 2007-03-07  Joseph Myers  <[email protected]>
327
328         * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
329         bug-reporting URL.
330         * doc/Makefile.am (config.texi): Define BUGURL.
331         * doc/binutils.texi: Use BUGURL.  Remove text about large files
332         and uuencoding.
333         * Makefile.in, configure, doc/Makefile.in: Regenerate.
334
335 2007-03-01  Phil Edwards  <[email protected]>
336             Richard Sandiford  <[email protected]>
337
338         * NEWS: Mention addition of --extract-symbol.
339         * doc/binutils.texi: Document it.
340         * objcopy.c (extract_symbol): New variable.
341         (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
342         (copy_options): Add an entry for --extract-symbol.
343         (copy_usage): Mention --extract-symbol.
344         (copy_object): Set the start address to zero for --extract-symbol.
345         Do not copy private BFD data in that case.
346         (setup_section): Set the size, LMA and VMA to zero for
347         --extract-symbol.  Do not copy private BFD data in that case.
348         (copy_section): Do not copy section contents if --extract-symbol
349         is passed.
350         (copy_main): Set extract_symbol to TRUE if --extract-symbol
351         is passed.
352
353 2007-03-01  Paul Brook  <[email protected]>
354
355         * MAINTAINERS: Update my entry.
356
357 2007-03-01  Joseph Myers  <[email protected]>
358
359         * version.c: Update copyright date.
360
361 2007-03-01  Daniel Jacobowitz  <[email protected]>
362
363         * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
364         Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
365         * Makefile.in, doc/Makefile.in: Regenerate.
366
367 2007-03-01  Alan Modra  <[email protected]>
368
369         * embedspu.sh: Set type and size of global program handle symbol.
370
371 2007-02-28  Alan Modra  <[email protected]>
372
373         * Makefile.am (PROGS): Delete.
374         (RENAMED_PROGS): Define.  Extracted from..
375         (noinst_PROGRAMS): ..here.  Add BUILD_MISC.
376         (install-exec-local): Adjust.
377         * Makefile.in: Regenerate.
378
379 2007-02-28  Alan Modra  <[email protected]>
380
381         * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
382         (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
383         (EXTRA_PROGRAMS): Remove bin2c.
384         (bin2c$(EXEEXT_FOR_BUILD)): New rule.
385         (bin2c_SOURCES): Delete.
386         (DISTCLEANFILES): Remove sysinfo.
387         (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
388         bin2c$(EXEEXT_FOR_BUILD).
389         * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
390         Move embedspu to..
391         (BUILD_INSTALL_MISC): ..here.
392         * Makefile.in: Regenerate.
393         * configure: Regenerate.
394
395 2007-02-27  Alan Modra  <[email protected]>
396
397         * bin2c.c: New file.
398         * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
399         (CFILES): Add bin2c.c.
400         (bin2c_SOURCES): Define.
401         (bin2c.o): Dependencies from "make dep-am".
402         * configure.in (BUILD_MISC): Add bin2c.
403         * version.c: Update year.
404         * po/POTFILES.in: Regenerate.
405         * Makefile.in: Regenerate.
406         * configure: Regenerate.
407
408 2007-02-17  Mark Mitchell  <[email protected]>
409             Nathan Sidwell  <[email protected]>
410             Vladimir Prus  <[email protected]
411             Joseph Myers  <[email protected]>
412
413         * configure.in (--with-bugurl): New option.
414         * configure: Regenerate.
415         * Makefile.am (REPORT_BUGS_TO): Define.
416         (INCLUDES): Define REPORT_BUGS_TO.
417         Regenerate dependencies.
418         * Makefile.in: Regenerate.
419         * doc/Makefile.in: Regenerate.
420         * bucomm.h: Remove include of bin-bugs.h.
421         * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
422         * ar.c (usage): Pass s to list_supported_targets.  Don't print
423         empty REPORT_BUGS_TO.
424         * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
425         * cxxfilt.c (usage): Print bug url when giving help.
426         * dlltool.c (usage): Likewise.
427         * dllwrap.c (usage): Likewise.
428         * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
429         * nm.c (usage): Likewise.
430         * objcopy.c (copy_usage, strip_usage): Likewise.
431         * objdump.c (usage): Likewise.
432         * readelf.c ((usage): Likewise. Add STREAM argument.  Adjust
433         callers.
434         * size.c (usage): Don't print empty REPORT_BUGS_TO.
435         * srconv.c (show_usage): Likewise.
436         * strings.c (usage): Likewise.
437         * sysdymp.c (show_usage): Likewise.
438         * windres.c (usage): Likewise.
439
440 2007-02-13  Alan Modra  <[email protected]>
441
442         * embedspu.sh: Add -W to readelf invocation.
443
444 2007-02-06  Dave Brolley  <[email protected]>
445
446         * MAINTAINERS: Add myself as the maintainer of the MeP port.
447
448 2007-02-06  Nick Clifton  <[email protected]>
449
450         PR gas/3800
451         * readelf.c: Include elf/h8.h twice.  The first time in order to
452         get the reloc numbers, the second time in order to get the reloc
453         decoder function.
454         (dump_section): Tell the user if the section being displayed has
455         unprocessed relocs associated with it.
456         (get_reloc_size): New function - returns the size of a reloc.
457         (debug_apply_rela_addends): Use get_reloc_size().
458         * dwarf.c (read_and_display_attr_value): Extend number of
459         languages known for the DW_AT_language attribute.
460         (process_debug_info): Display the attribute offset before decoding
461         the attribute, in case there are problems.
462
463 2007-02-05  Dave Brolley  <[email protected]>
464
465         * readelf.c (dump_relocations): Don't check for
466         (rtype == NULL && type == R_RELC).
467
468 2007-02-05  Dave Brolley  <[email protected]>
469
470         * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
471         * Makefile.in: Regenerated.
472         * Contribute the following changes:
473         2003-10-29  Dave Brolley  <[email protected]>
474
475         * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
476         * configure: Regenerated.
477
478         2001-04-03  Ben Elliston  <[email protected]>
479
480         * readelf.c: Include "elf/mep.h".
481         (guess_is_rela): Handle EM_CYGNUS_MEP.
482         (get_machine_name): Ditto.
483         (dump_relocations): Ditto.
484
485 2007-02-02  H.J. Lu  <[email protected]>
486
487         * MAINTAINERS: Add a space between H.J. and Lu.
488
489 2007-02-02  H.J. Lu  <[email protected]>
490
491         * doc/binutils.texi (objdump): Document the new addr64 option
492         for i386 disassembler.
493
494 2007-02-02  H.J. Lu  <[email protected]>
495
496         PR binutils/3945
497         * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
498         target.
499         (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
500         * configure: Regenerated.
501
502         * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
503
504 2007-02-02  Nick Clifton  <[email protected]>
505
506         * doc/binutils.texi (objdump): Document support for disassembling
507         the 440 PowerPC architecture.
508
509 2007-01-31  Nathan Sidwell  <[email protected]>
510
511         * dwarf.c (process_debug_info): Protect against bogus length and
512         abbrev offsets.
513
514 2007-01-25  Kazu Hirata  <[email protected]>
515
516         * ar.c (print_contents, extract_file): Cast the return value
517         of fwrite to size_t.
518
519 2007-01-12  Alan Modra  <[email protected]>
520
521         * ar.c (open_inarch): Check fwrite return.  Use size_t.
522         (extract_file): Likewise.  Remove test for "negative" file size.
523         * readelf.c (process_program_headers): Check fscanf return.
524
525 2007-01-11  H.J. Lu  <[email protected]>
526
527         * bucomm.c (template_in_dir): Fix typo.
528
529 2007-01-11  Alan Modra  <[email protected]>
530
531         * embedspu.sh: New file.
532         * Makefile.am (embedspu): Add rule.
533         * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
534         * Makefile.in: Regenerate.
535         * configure: Regenerate.
536
537 2007-01-11  Alan Modra  <[email protected]>
538
539         * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
540         * bucomm.c (template_in_dir): New function, split out from..
541         (make_tempname): ..here.  Open the file with O_EXCL if !HAVE_MKSTEMP.
542         (make_tempdir): Use template_in_dir.  Handle directory creation
543         when !HAVE_MKDTEMP.
544         * objcopy.c (MKDIR): Don't define.
545         (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too.  Fix
546         error message.
547
548 2007-01-08  Kazu Hirata  <[email protected]>
549
550         * readelf.c (get_machine_flags): Treat Fido as an architecture
551         by itself.
552
553 2007-01-08  Kai Tietz   <[email protected]>
554
555         * configure.in: Renamed target x86_64-*-mingw64 to
556         x86_64-*-mingw*.
557         * configure: Regenerated.
558
559 2007-01-05  Alan Modra  <[email protected]>
560
561         * readelf.c (dump_section): Don't print 32-bit values, which
562         were done incorrectly for little-endian.  Instead print bytes.
563
564 For older changes see ChangeLog-2006
565 \f
566 Local Variables:
567 mode: change-log
568 left-margin: 8
569 fill-column: 74
570 version-control: never
571 End:
This page took 0.05617 seconds and 4 git commands to generate.