1 2004-09-28 Nick Clifton <nickc@redhat.com>
3 * nm.c: Reorder functions to eliminate most of the static function
6 2004-09-22 Alan Modra <amodra@bigpond.net.au>
8 * readelf.c (process_program_headers): Don't include .tbss in non-TLS
11 2004-09-17 Alan Modra <amodra@bigpond.net.au>
13 * Makefile.am: Run "make dep-am".
14 * Makefile.in: Regenerate.
15 * config.in: Regenerate.
16 * configure: Regenerate.
17 * doc/Makefile.in: Regenerate.
18 * po/binutils.pot: Regenerate.
20 2004-09-12 Alan Modra <amodra@bigpond.net.au>
22 * readelf.c (decode_location_expression): Sign extend value for
23 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
25 2004-09-09 Nick Clifton <nickc@redhat.com>
28 * ar.c (replace_members): Do not use get_file_size as
29 ar_emul_append correctly handles missing files.
31 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
33 * configure: Regenerated with autconfig 2.13.
35 2004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
37 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
40 2004-09-06 Michael Wardle <mbw@endbracket.net>
42 * doc/binutils.texi (objdump): Document that the -x switch includes
43 the effect of the -p switch.
45 2004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
47 * dlltool.c (make_one_lib_file): Test if internal_name was
48 specified by user before using it.
50 2004-09-02 Carlo Wood <carlo@alinoe.com>
53 * dlltool.c (make_one_lib_file): For IDATA6 take the name from
54 exp->internal_name if it is present.
56 2004-09-02 Alexandre Oliva <aoliva@redhat.com>
58 * MAINTAINERS: Add self as co-maintainer of FR-V.
59 * readelf.c (get_machine_flags): Print FR-V cpu types.
61 2004-08-28 Alan Modra <amodra@bigpond.net.au>
63 * nm.c (show_synthetic): New var.
64 (long_options): Add "synthetic".
66 (display_rel_file): Handle show_synthetic.
68 2004-08-28 Alan Modra <amodra@bigpond.net.au>
70 * objdump.c (dump_bfd): Pass both symbol tables to
71 bfd_get_synthetic_symtab.
73 2004-08-17 Jakub Jelinek <jakub@redhat.com>
75 * objdump.c (dump_bfd): For relocatable objects, pass syms instead
76 of dynsyms to bfd_get_synthetic_symtab.
78 2004-08-16 Alan Modra <amodra@bigpond.net.au>
80 * readelf.c (debug_apply_rela_addends): New function, extracted from..
81 (display_debug_info): ..here.
82 (display_debug_frames): Call debug_apply_rela_addends. Don't do
83 DW_EH_PE_pcrel adjustment for ET_REL.
85 2004-08-06 Andreas Schwab <schwab@suse.de>
87 * readelf.c (dump_relocations): Fix typo when calculating
90 2004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
92 * dllwrap.c (deduce_name): Fix typos introduced when program_name
93 was renamed to prog_name.
95 2004-07-29 Alexandre Oliva <aoliva@redhat.com>
97 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
100 2004-07-28 Alexandre Oliva <aoliva@redhat.com>
102 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
103 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
105 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
106 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
108 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
110 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
112 * objdump.c (dump_section_header): Likewise.
114 2004-07-15 Aravinda PR <aravindapr@rediffmail.com>
116 * nlmconv.c (main): Pass map_file argument to link_inputs.
117 (link_inputs): Use map_file argument if it is defined.
119 2004-07-13 Nick Clifton <nickc@redhat.com>
121 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
122 conflicts with exported global defined in bucomm.h.
123 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
124 shadowing the global defined in bucomm.h.
126 2004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
128 * dlltool.c (ext_prefix_alias): New global variable.
129 (make_one_lib_file): Add aliases with prefixes for external
130 and import definitions.
131 (usage): Document -p option.
132 (long_options): Add --ext-prefix-alias option.
134 * doc/binutils.texi: Document new switch.
135 * NEWS: Mention new switch.
137 2004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
139 * binutils/dlltool.c (asm_prefix): Add parameter: name.
140 No underscore for symbols beginning with ?.
141 (ASM_PREFIX): Add parameter: NAME.
142 (gen_exp_file): Use new parameter.
143 (make_label): Likewise.
144 (make_imp_label): Likewise.
145 (make_one_lib_file): Likewise.
147 2004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
149 * MAINTAINERS: Added myself to the list.
150 * readelf.c: Include "elf/crx.h".
151 (guess_is_rela): Handle EM_CRX.
152 (get_machine_name): Likewise.
153 (dump_relocations): Likewise.
155 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
157 * doc/binutils.texi (nm): Clarify weak symbol description.
159 2004-06-24 Ben Elliston <bje@au.ibm.com>
161 * readelf.c (get_segment_type): Display "GNU_STACK", not just
162 "STACK", when a PT_GNU_STACK segment is encountered.
164 2004-06-24 Alan Modra <amodra@bigpond.net.au>
166 * objcopy.c (copy_section): Don't set _cooked_size.
168 2004-06-22 Alan Modra <amodra@bigpond.net.au>
170 * readelf.c (Elf32_Word): Delete.
171 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
172 (get_64bit_dynamic_section): Likewise.
174 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
175 (get_64bit_dynamic_section): Likewise.
177 * readelf.c (dynamic_nent): New variable.
178 (get_32bit_dynamic_section): Set it.
179 (get_64bit_dynamic_section): Here too.
180 (process_dynamic_section): Use it instead of dynamic_size.
181 (process_syminfo): Likewise.
183 * readelf.c (get_32bit_dynamic_section): Correct number of entries
184 translated from external to internal form.
185 (get_64bit_dynamic_section): Likewise.
187 2004-06-18 Jie Zhang <zhangjie@magima.com.cn>
189 * readelf.c (process_program_headers): When locating the dynamic
190 section use the section table if it is present.
191 (dynamic_segment): Renamed to dynamic_section.
192 Replace references to dynamic segment with references to dynamic
193 section, except where appropriate.
194 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
195 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
196 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
197 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
198 Remove tag counting code as it is no longer needed.
199 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
200 Remove tag counting code as it is no longer needed.
201 (process_dynamic_segment): Rename to process_dynamic_section.
203 2004-06-15 Alan Modra <amodra@bigpond.net.au>
205 * objcopy.c (copy_section): Use bfd_get_section_size instead of
206 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
207 (compare_section_lma): Likewise.
208 * addr2line.c (find_address_in_section): Likewise.
209 * coffgrok.c (do_sections_p1): Likewise.
210 * dlltool.c (scan_drectve_symbols): Likewise.
211 * nlmconv.c (main): Likewise.
212 (copy_sections): Likewise.
213 (powerpc_mangle_relocs): Likewise.
214 * objdump.c (disassemble_section): Likewise.
215 * prdbg.c (find_address_in_section): Likewise.
216 * size.c (berkeley_sum): Likewise.
217 * srconv.c (wr_ob): Likewise.
218 * strings.c (strings_a_section): Likewise.
220 2004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
222 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
224 2004-05-17 David Heine <dlheine@tensilica.com>
226 * objcopy.c (setup_bfd_headers): New function.
227 (copy_object): Call setup_bfd_headers.
229 2004-05-13 Paul Brook <paul@codesourcery.com>
231 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
234 2004-05-13 Nick Clifton <nickc@redhat.com>
236 * po/fr.po: Updated French translation.
238 2004-05-11 Jakub Jelinek <jakub@redhat.com>
240 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
242 2004-05-07 H.J. Lu <hongjiu.lu@intel.com>
244 * readelf.c (section_groups): New.
246 (section_headers_groups): New.
247 (process_section_groups): Populate group_count, section_groups
248 and section_headers_groups.
249 (process_unwind): Support section group.
250 (process_object): Always call process_section_groups. Free
251 section_groups and section_headers_groups.
253 2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
255 * readelf.c (process_section_headers): Use %3lu on sh_info.
257 2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
259 * ranlib.sh: Quote $1 argument in case it contains spaces.
261 2004-04-27 John Paul Wallington <jpw@gnu.org>
263 * objcopy.c (copy_usage, strip_usage): Fix spelling.
265 2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
267 * readelf.c (do_section_groups): New.
268 (options): Add --section-groups/-g.
269 (usage): Mention --section-groups/-g.
270 (parse_args): Support --section-groups/-g.
271 (get_group_flags): New.
272 (process_section_groups): New.
273 (process_object): Call process_section_groups.
275 2004-04-24 Alan Modra <amodra@bigpond.net.au>
277 * objdump.c (disassemble_section): Don't disassemble sections
278 without SEC_HAS_CONTENTS.
280 2004-04-22 Jakub Jelinek <jakub@redhat.com>
282 * objdump.c (synthsyms, synthcount): New variables.
283 (disassemble_data): Use dynsyms for stripped binaries or libraries.
284 Add synthetized symbols.
285 (dump_bfd): For disassemble, initialize dynsyms always and
286 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
289 2004-04-14 Alan Modra <amodra@bigpond.net.au>
291 * strings.c (print_strings): Cast file_off to unsigned long in
294 2004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
297 * arsup.c (ar_save): Use smart_rename.
299 2004-04-01 Dean Luick <luick@cray.com>
301 * readelf.c (display_debug_pubnames): Align offset and data
303 (read_and_display_attr_value): Add missing break;
304 (debug_displays): Enable the display of the .debug_pubtypes
307 2004-03-30 Stan Shebs <shebs@apple.com>
309 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
310 support files, no longer used.
312 2004-03-23 Paul Brook <paul@codesourcery.com>
314 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
316 2004-03-21 Richard Henderson <rth@redhat.com>
318 * readelf.c (display_debug_frames): Don't crash for mismatched
319 DW_CFA_restore_state.
321 2004-03-19 Alan Modra <amodra@bigpond.net.au>
323 * Makefile.am: Run "make dep-am".
324 * Makefile.in: Regenerate.
325 * aclocal.m4: Regenerate.
326 * config.in: Regenerate.
327 * configure: Regenerate.
328 * po/binutils.pot: Regenerate.
330 2004-03-15 Nathan Sidwell <nathan@codesourcery.com>
332 * objdump.c (struct SFILE): Replace current pointer with pos
333 offset, rename size to alloc.
334 (objdump_sprintf): Avoid unnecessary copies in the common case
335 (disassemble_bytes): Keep sfile live throughout the
336 function. Adjust usage appropriately.
338 2004-03-10 Ben Elliston <bje@gnu.org>
340 * MAINTAINERS: Update my mail address.
342 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
344 * deflex.l: Handle "PRIVATE" string.
345 * defparse.y (%token): Add PRIVATE.
346 (%type): Add opt_PRIVATE.
347 (expline): Pass opt_PRIVATE to def_exports.
348 (opt_PRIVATE): Handle PRIVATE token.
349 * dlltool.h (def_exports): Add 7th param for private flag to
351 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
352 (struct export): Add 'private' field.
353 (def_exports): Set 'private' field of struct exports.
354 (scan_drectve_symbols): Adjust calls to def_exports.
355 (scan_filtered_symbols): Likewise.
356 (dump_def_info): Print 'private' field.
357 (gen_def_file): Likewise.
358 (gen_lib_file): Skip generation of lib object if private.
359 Delete tmp object files in same order as they were generated.
360 Don't delete non-existent private object files.
362 2004-02-27 Andreas Schwab <schwab@suse.de>
364 * ar.c (main): Support POSIX-compatible argument parsing.
366 2004-02-23 Daniel Lucq <daniel@lucq.org>
368 * readelf.c (process_mips_specific): Print conflictsno as an
371 2004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
373 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
375 2004-02-19 Jakub Jelinek <jakub@redhat.com>
377 * objcopy.c (copy_section): Avoid warnings.
379 2004-02-14 Andrew Cagney <cagney@redhat.com>
381 * ar.c (remove_output): Use bfd_cache_close.
382 * arsup.c (ar_end): Ditto.
384 2004-01-21 Roland McGrath <roland@redhat.com>
386 * readelf.c (get_note_type): Match NT_AUXV.
388 2004-01-20 Nick Clifton <nickc@redhat.com>
390 * version.c (print_version): Update copyright year to 2004.
392 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
394 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
396 * aclocal.m4: Regenerate.
397 * configure: Regenerate.
399 2004-01-12 Jakub Jelinek <jakub@redhat.com>
401 * objcopy.c: Include elf-bfd.h.
402 (is_strip_section): Don't strip debugging sections if
404 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
405 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
407 * objcopy.c (copy_section): Free relpp if relcount == 0.
409 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
411 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
412 (stab_demangle_argtypes): Likewise.
413 (stab_demangle_v3_argtypes): New static function.
414 (stab_demangle_v3_arg): New static function.
416 2004-01-12 Nick Clifton <nickc@redhat.com>
418 * objcopy.c (copy_object): Make the function boolean, returning
420 (copy_archive): Handle the return value from copy_object.
421 (copy_file): Likewise.
423 2004-01-07 Nick Clifton <nickc@redhat.com>
425 * readelf.c (find_section): New function. Locates a named
427 (get_debug_line_pointer_sizes): New function: Initialises the
428 debug_line_pointer_sizes array.
429 (display_debug_lines): Call get_debug_line_pointer_sizes.
430 (display_debug_loc): Likewise.
431 (load_debug_loc): Use find_section.
432 (load_debug_str): Likewise.
433 (display_debug_info): Likewise.
434 (prescan_debug_info): Delete.
435 (debug_displays): Remove prescan field.
436 (process_section_contents): Do not perform prescans.
438 2004-01-03 Alan Modra <amodra@bigpond.net.au>
440 * objcopy.c (filter_bytes): Delete. Move code to..
441 (copy_section): ..here. Simplify size adjustment. Divide
442 section lma by interleave.
444 2004-01-02 Nick Clifton <nickc@redhat.com>
446 * po/ru.po: New file: Russian translation.
447 * configure.in (ALL_LINGUAS): Add ru
448 * configure: Regenerate.
450 For older changes see ChangeLog-0203
456 version-control: never