The patch below adds binutils support for the SHT_ARM_EXIDX, as defined by
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
40a18ebd
NC
12004-10-01 Paul Brook <paul@codesourcery.com>
2
3 * readelf.c (get_arm_section_type_name): New function.
4 (get_section_type_name): Use it.
5
382c1116
NC
62004-09-28 Nick Clifton <nickc@redhat.com>
7
eb1ab0cf 8 * nm.c: Reorder functions to eliminate most of the static function
382c1116
NC
9 prototypes.
10
cbaa0dc5
AM
112004-09-22 Alan Modra <amodra@bigpond.net.au>
12
13 * readelf.c (process_program_headers): Don't include .tbss in non-TLS
14 segments.
15
3443c1ae
AM
162004-09-17 Alan Modra <amodra@bigpond.net.au>
17
18 * Makefile.am: Run "make dep-am".
19 * Makefile.in: Regenerate.
20 * config.in: Regenerate.
21 * configure: Regenerate.
22 * doc/Makefile.in: Regenerate.
23 * po/binutils.pot: Regenerate.
24
74013231
AM
252004-09-12 Alan Modra <amodra@bigpond.net.au>
26
27 * readelf.c (decode_location_expression): Sign extend value for
28 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
29
360589e8
NC
302004-09-09 Nick Clifton <nickc@redhat.com>
31
32 PR 363
33 * ar.c (replace_members): Do not use get_file_size as
34 ar_emul_append correctly handles missing files.
35
d15b04bd
L
362004-09-07 H.J. Lu <hongjiu.lu@intel.com>
37
38 * configure: Regenerated with autconfig 2.13.
39
d597aff7
DS
402004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
41
74013231
AM
42 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
43 documentation.
d597aff7 44
04c34128
NC
452004-09-06 Michael Wardle <mbw@endbracket.net>
46
3023b782 47 * doc/binutils.texi (objdump): Document that the -x switch includes
04c34128
NC
48 the effect of the -p switch.
49
d597aff7 502004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
5df31fad 51
6cef8f72
DS
52 * dlltool.c (make_one_lib_file): Test if internal_name was
53 specified by user before using it.
5df31fad 54
74013231 552004-09-02 Carlo Wood <carlo@alinoe.com>
5885be89
NC
56
57 PR binutils/351
58 * dlltool.c (make_one_lib_file): For IDATA6 take the name from
59 exp->internal_name if it is present.
60
ec2dfb42
AO
612004-09-02 Alexandre Oliva <aoliva@redhat.com>
62
63 * MAINTAINERS: Add self as co-maintainer of FR-V.
64 * readelf.c (get_machine_flags): Print FR-V cpu types.
65
0873df2a
AM
662004-08-28 Alan Modra <amodra@bigpond.net.au>
67
68 * nm.c (show_synthetic): New var.
69 (long_options): Add "synthetic".
70 (usage): Here too.
71 (display_rel_file): Handle show_synthetic.
72
c9727e01
AM
732004-08-28 Alan Modra <amodra@bigpond.net.au>
74
75 * objdump.c (dump_bfd): Pass both symbol tables to
76 bfd_get_synthetic_symtab.
77
90e3cdf2
JJ
782004-08-17 Jakub Jelinek <jakub@redhat.com>
79
80 * objdump.c (dump_bfd): For relocatable objects, pass syms instead
81 of dynsyms to bfd_get_synthetic_symtab.
82
d84de024
AM
832004-08-16 Alan Modra <amodra@bigpond.net.au>
84
85 * readelf.c (debug_apply_rela_addends): New function, extracted from..
86 (display_debug_info): ..here.
87 (display_debug_frames): Call debug_apply_rela_addends. Don't do
88 DW_EH_PE_pcrel adjustment for ET_REL.
89
efcb5b0e
AS
902004-08-06 Andreas Schwab <schwab@suse.de>
91
92 * readelf.c (dump_relocations): Fix typo when calculating
93 sec_index.
94
d3cde3af
NC
952004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
96
97 * dllwrap.c (deduce_name): Fix typos introduced when program_name
98 was renamed to prog_name.
99
1d70c7fb
AO
1002004-07-29 Alexandre Oliva <aoliva@redhat.com>
101
102 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
103 EF_SH2A_NOFPU.
104
ccde1100
AO
1052004-07-28 Alexandre Oliva <aoliva@redhat.com>
106
107 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
108 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
109 EF_SH4A_NOFPU.
110 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
111 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
112
082b7297
L
1132004-07-21 H.J. Lu <hongjiu.lu@intel.com>
114
115 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
116 to access comdat.
117 * objdump.c (dump_section_header): Likewise.
118
44a6d974
NC
1192004-07-15 Aravinda PR <aravindapr@rediffmail.com>
120
121 * nlmconv.c (main): Pass map_file argument to link_inputs.
122 (link_inputs): Use map_file argument if it is defined.
123
61513dc1
NC
1242004-07-13 Nick Clifton <nickc@redhat.com>
125
126 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
127 conflicts with exported global defined in bucomm.h.
128 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
129 shadowing the global defined in bucomm.h.
130
607dea97
NC
1312004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
132
133 * dlltool.c (ext_prefix_alias): New global variable.
134 (make_one_lib_file): Add aliases with prefixes for external
135 and import definitions.
136 (usage): Document -p option.
137 (long_options): Add --ext-prefix-alias option.
138 (main): Handle -p.
139 * doc/binutils.texi: Document new switch.
140 * NEWS: Mention new switch.
141
2758961a
NC
1422004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
143
144 * binutils/dlltool.c (asm_prefix): Add parameter: name.
145 No underscore for symbols beginning with ?.
146 (ASM_PREFIX): Add parameter: NAME.
147 (gen_exp_file): Use new parameter.
148 (make_label): Likewise.
149 (make_imp_label): Likewise.
150 (make_one_lib_file): Likewise.
151
1fe1f39c
NC
1522004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
153
154 * MAINTAINERS: Added myself to the list.
155 * readelf.c: Include "elf/crx.h".
156 (guess_is_rela): Handle EM_CRX.
157 (get_machine_name): Likewise.
158 (dump_relocations): Likewise.
159
c87db184
CF
1602004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
161
162 * doc/binutils.texi (nm): Clarify weak symbol description.
163
fb7b006e
BE
1642004-06-24 Ben Elliston <bje@au.ibm.com>
165
166 * readelf.c (get_segment_type): Display "GNU_STACK", not just
167 "STACK", when a PT_GNU_STACK segment is encountered.
168
eea6121a
AM
1692004-06-24 Alan Modra <amodra@bigpond.net.au>
170
171 * objcopy.c (copy_section): Don't set _cooked_size.
172
fb514b26
AM
1732004-06-22 Alan Modra <amodra@bigpond.net.au>
174
ba2685cc
AM
175 * readelf.c (Elf32_Word): Delete.
176 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
177 (get_64bit_dynamic_section): Likewise.
178
179 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
180 (get_64bit_dynamic_section): Likewise.
181
86dba8ee
AM
182 * readelf.c (dynamic_nent): New variable.
183 (get_32bit_dynamic_section): Set it.
184 (get_64bit_dynamic_section): Here too.
185 (process_dynamic_section): Use it instead of dynamic_size.
186 (process_syminfo): Likewise.
187
fb514b26
AM
188 * readelf.c (get_32bit_dynamic_section): Correct number of entries
189 translated from external to internal form.
190 (get_64bit_dynamic_section): Likewise.
191
b2d38a17
NC
1922004-06-18 Jie Zhang <zhangjie@magima.com.cn>
193
194 * readelf.c (process_program_headers): When locating the dynamic
195 section use the section table if it is present.
196 (dynamic_segment): Renamed to dynamic_section.
197 Replace references to dynamic segment with references to dynamic
198 section, except where appropriate.
199 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
200 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
201 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
202 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
203 Remove tag counting code as it is no longer needed.
204 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
205 Remove tag counting code as it is no longer needed.
206 (process_dynamic_segment): Rename to process_dynamic_section.
eea6121a 207
135dfb4a
AM
2082004-06-15 Alan Modra <amodra@bigpond.net.au>
209
210 * objcopy.c (copy_section): Use bfd_get_section_size instead of
211 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
212 (compare_section_lma): Likewise.
213 * addr2line.c (find_address_in_section): Likewise.
214 * coffgrok.c (do_sections_p1): Likewise.
215 * dlltool.c (scan_drectve_symbols): Likewise.
216 * nlmconv.c (main): Likewise.
217 (copy_sections): Likewise.
218 (powerpc_mangle_relocs): Likewise.
219 * objdump.c (disassemble_section): Likewise.
220 * prdbg.c (find_address_in_section): Likewise.
221 * size.c (berkeley_sum): Likewise.
222 * srconv.c (wr_ob): Likewise.
223 * strings.c (strings_a_section): Likewise.
224
90e01f86
ILT
2252004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
226
227 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
228
80fccad2
BW
2292004-05-17 David Heine <dlheine@tensilica.com>
230
eea6121a 231 * objcopy.c (setup_bfd_headers): New function.
80fccad2
BW
232 (copy_object): Call setup_bfd_headers.
233
0da76f83
NC
2342004-05-13 Paul Brook <paul@codesourcery.com>
235
236 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
237 entries.
238
9598fbe5
NC
2392004-05-13 Nick Clifton <nickc@redhat.com>
240
241 * po/fr.po: Updated French translation.
242
8c37241b
JJ
2432004-05-11 Jakub Jelinek <jakub@redhat.com>
244
245 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
246
e4b17d5c
L
2472004-05-07 H.J. Lu <hongjiu.lu@intel.com>
248
249 * readelf.c (section_groups): New.
250 (group_count): New.
251 (section_headers_groups): New.
252 (process_section_groups): Populate group_count, section_groups
253 and section_headers_groups.
254 (process_unwind): Support section group.
255 (process_object): Always call process_section_groups. Free
256 section_groups and section_headers_groups.
257
f2da459f
L
2582004-04-30 H.J. Lu <hongjiu.lu@intel.com>
259
260 * readelf.c (process_section_headers): Use %3lu on sh_info.
261
f8935895
NC
2622004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
263
264 * ranlib.sh: Quote $1 argument in case it contains spaces.
265
2662004-04-27 John Paul Wallington <jpw@gnu.org>
a95b5cf9
AM
267
268 * objcopy.c (copy_usage, strip_usage): Fix spelling.
269
f5842774
L
2702004-04-26 H.J. Lu <hongjiu.lu@intel.com>
271
272 * readelf.c (do_section_groups): New.
273 (options): Add --section-groups/-g.
274 (usage): Mention --section-groups/-g.
275 (parse_args): Support --section-groups/-g.
276 (get_group_flags): New.
277 (process_section_groups): New.
278 (process_object): Call process_section_groups.
279
46212538
AM
2802004-04-24 Alan Modra <amodra@bigpond.net.au>
281
282 * objdump.c (disassemble_section): Don't disassemble sections
283 without SEC_HAS_CONTENTS.
284
4c45e5c9
JJ
2852004-04-22 Jakub Jelinek <jakub@redhat.com>
286
287 * objdump.c (synthsyms, synthcount): New variables.
288 (disassemble_data): Use dynsyms for stripped binaries or libraries.
289 Add synthetized symbols.
290 (dump_bfd): For disassemble, initialize dynsyms always and
291 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
292 before returning.
293
e9f87780
AM
2942004-04-14 Alan Modra <amodra@bigpond.net.au>
295
296 * strings.c (print_strings): Cast file_off to unsigned long in
297 printf arg list.
298
1ba93119
AM
2992004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
300
301 PR 86
302 * arsup.c (ar_save): Use smart_rename.
303
935a41f5
NC
3042004-04-01 Dean Luick <luick@cray.com>
305
306 * readelf.c (display_debug_pubnames): Align offset and data
307 columns.
308 (read_and_display_attr_value): Add missing break;
309 (debug_displays): Enable the display of the .debug_pubtypes
310 section.
311
92e25cf8
SS
3122004-03-30 Stan Shebs <shebs@apple.com>
313
314 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
315 support files, no longer used.
316
d507cf36
PB
3172004-03-23 Paul Brook <paul@codesourcery.com>
318
319 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
320
8c9a9879
RH
3212004-03-21 Richard Henderson <rth@redhat.com>
322
323 * readelf.c (display_debug_frames): Don't crash for mismatched
324 DW_CFA_restore_state.
325
6ece5c52
AM
3262004-03-19 Alan Modra <amodra@bigpond.net.au>
327
328 * Makefile.am: Run "make dep-am".
329 * Makefile.in: Regenerate.
330 * aclocal.m4: Regenerate.
331 * config.in: Regenerate.
332 * configure: Regenerate.
333 * po/binutils.pot: Regenerate.
334
6f104306
NS
3352004-03-15 Nathan Sidwell <nathan@codesourcery.com>
336
337 * objdump.c (struct SFILE): Replace current pointer with pos
338 offset, rename size to alloc.
339 (objdump_sprintf): Avoid unnecessary copies in the common case
340 (disassemble_bytes): Keep sfile live throughout the
341 function. Adjust usage appropriately.
342
523f6a27
BE
3432004-03-10 Ben Elliston <bje@gnu.org>
344
345 * MAINTAINERS: Update my mail address.
346
7aa52b1f
NC
3472004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
348
349 * deflex.l: Handle "PRIVATE" string.
350 * defparse.y (%token): Add PRIVATE.
351 (%type): Add opt_PRIVATE.
352 (expline): Pass opt_PRIVATE to def_exports.
353 (opt_PRIVATE): Handle PRIVATE token.
354 * dlltool.h (def_exports): Add 7th param for private flag to
355 declaration.
356 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
357 (struct export): Add 'private' field.
358 (def_exports): Set 'private' field of struct exports.
359 (scan_drectve_symbols): Adjust calls to def_exports.
360 (scan_filtered_symbols): Likewise.
361 (dump_def_info): Print 'private' field.
362 (gen_def_file): Likewise.
363 (gen_lib_file): Skip generation of lib object if private.
364 Delete tmp object files in same order as they were generated.
365 Don't delete non-existent private object files.
366
af865222
AS
3672004-02-27 Andreas Schwab <schwab@suse.de>
368
369 * ar.c (main): Support POSIX-compatible argument parsing.
370
c7e7ca54
NC
3712004-02-23 Daniel Lucq <daniel@lucq.org>
372
373 * readelf.c (process_mips_specific): Print conflictsno as an
374 unsigned long.
375
eff21b8e
CF
3762004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
377
378 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
379
2f01ffbf
JJ
3802004-02-19 Jakub Jelinek <jakub@redhat.com>
381
382 * objcopy.c (copy_section): Avoid warnings.
383
c92c35e7
AC
3842004-02-14 Andrew Cagney <cagney@redhat.com>
385
386 * ar.c (remove_output): Use bfd_cache_close.
387 * arsup.c (ar_end): Ditto.
388
9d241085
RM
3892004-01-21 Roland McGrath <roland@redhat.com>
390
391 * readelf.c (get_note_type): Match NT_AUXV.
392
d99e9f4d
NC
3932004-01-20 Nick Clifton <nickc@redhat.com>
394
395 * version.c (print_version): Update copyright year to 2004.
396
f8b73030
MR
3972004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
398
399 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
400 throughout.
401 * aclocal.m4: Regenerate.
402 * configure: Regenerate.
403
f0312d39
JJ
4042004-01-12 Jakub Jelinek <jakub@redhat.com>
405
406 * objcopy.c: Include elf-bfd.h.
407 (is_strip_section): Don't strip debugging sections if
408 STRIP_NONDEBUG.
409 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
410 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
411
412 * objcopy.c (copy_section): Free relpp if relcount == 0.
413
041821e6
ILT
4142004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
415
416 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
417 (stab_demangle_argtypes): Likewise.
418 (stab_demangle_v3_argtypes): New static function.
419 (stab_demangle_v3_arg): New static function.
420
950d48e7
NC
4212004-01-12 Nick Clifton <nickc@redhat.com>
422
423 * objcopy.c (copy_object): Make the function boolean, returning
424 FALSE upon failure.
eea6121a
AM
425 (copy_archive): Handle the return value from copy_object.
426 (copy_file): Likewise.
950d48e7 427
d9296b18
NC
4282004-01-07 Nick Clifton <nickc@redhat.com>
429
430 * readelf.c (find_section): New function. Locates a named
431 section.
432 (get_debug_line_pointer_sizes): New function: Initialises the
433 debug_line_pointer_sizes array.
eea6121a
AM
434 (display_debug_lines): Call get_debug_line_pointer_sizes.
435 (display_debug_loc): Likewise.
436 (load_debug_loc): Use find_section.
437 (load_debug_str): Likewise.
438 (display_debug_info): Likewise.
439 (prescan_debug_info): Delete.
440 (debug_displays): Remove prescan field.
441 (process_section_contents): Do not perform prescans.
d9296b18 442
5e675b72
AM
4432004-01-03 Alan Modra <amodra@bigpond.net.au>
444
445 * objcopy.c (filter_bytes): Delete. Move code to..
446 (copy_section): ..here. Simplify size adjustment. Divide
447 section lma by interleave.
448
f0660b73
NC
4492004-01-02 Nick Clifton <nickc@redhat.com>
450
451 * po/ru.po: New file: Russian translation.
452 * configure.in (ALL_LINGUAS): Add ru
453 * configure: Regenerate.
eb18fd22 454
c9e214e5 455For older changes see ChangeLog-0203
252b5132
RH
456\f
457Local Variables:
458mode: change-log
459left-margin: 8
460fill-column: 74
461version-control: never
462End:
This page took 0.318625 seconds and 4 git commands to generate.