strings.c: Include <sys/stat.h>.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
fb608b92
NC
12004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
2
3 * strings.c: Include <sys/stat.h>.
4
2bb2d727
AM
52004-10-18 Alan Modra <amodra@bigpond.net.au>
6
7f67d4c9
AM
7 * budemang.c (demangle): Fix thinko.
8
2bb2d727
AM
9 * budemang.c (demangle): Handle "@plt" suffix.
10
61bbd35b
NC
112004-10-14 Nick Clifton <nickc@redhat.com>
12
13 * nm.c (usage): Fix description of --special-syms switch.
14
fb5b5478
JJ
152004-10-13 Jakub Jelinek <jakub@redhat.com>
16
17 * strings.c (statbuf): New typedef.
18 (file_stat): Define.
19 (strings_object_file): Avoid using get_file_size, instead do the
20 checks here, using file_stat.
21 * configure.in (HAVE_STAT64): New test.
22 * configure: Rebuilt.
23 * config.in: Rebuilt.
24
8cb51566
PB
252004-10-12 Paul Brook <paul@codesourcery.com>
26
27 * readelf.c (decode_ARM_machine_flags): Support EABI version 4.
28
83ef0798
AM
292004-10-11 Alan Modra <amodra@bigpond.net.au>
30
31 * objdump.c (dump_symbols): Fix thinko last change. Improve error
32 messages.
33
3c9458e9
NC
342004-10-08 Nick Clifton <nickc@redhat.com>
35
36 * nm.c: Add a new switch --special-syms which, if enabled, will
37 include the ARM Mapping symbols in nm's output.
38 (usage): Mention the switch.
39 (filter_symbols): Handle the switch.
40 * objdump.c: Add a similar switch.
41 (usage): Mention the switch.
42 (dump_symbols): Handle the switch.
43 * doc/binutils.texi: Document the new switches.
44 * NEWS: Mention the new switches.
45
d2b2c203
DJ
462004-10-08 Daniel Jacobowitz <dan@debian.org>
47
48 * readelf.c (get_x86_64_section_type_name): New function.
49 (get_section_type_name): Use it.
50
d67a454c
NC
512004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
52
53 * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
54 patches.
55 * doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
56
1c877e87
AO
572004-10-07 Alexandre Oliva <aoliva@redhat.com>
58
59 * readelf.c (get_machine_flags): Don't fall through into m68k cpu
60 types.
61
40a18ebd
NC
622004-10-01 Paul Brook <paul@codesourcery.com>
63
64 * readelf.c (get_arm_section_type_name): New function.
65 (get_section_type_name): Use it.
66
382c1116
NC
672004-09-28 Nick Clifton <nickc@redhat.com>
68
eb1ab0cf 69 * nm.c: Reorder functions to eliminate most of the static function
382c1116
NC
70 prototypes.
71
cbaa0dc5
AM
722004-09-22 Alan Modra <amodra@bigpond.net.au>
73
74 * readelf.c (process_program_headers): Don't include .tbss in non-TLS
75 segments.
76
3443c1ae
AM
772004-09-17 Alan Modra <amodra@bigpond.net.au>
78
79 * Makefile.am: Run "make dep-am".
80 * Makefile.in: Regenerate.
81 * config.in: Regenerate.
82 * configure: Regenerate.
83 * doc/Makefile.in: Regenerate.
84 * po/binutils.pot: Regenerate.
85
74013231
AM
862004-09-12 Alan Modra <amodra@bigpond.net.au>
87
88 * readelf.c (decode_location_expression): Sign extend value for
89 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
90
360589e8
NC
912004-09-09 Nick Clifton <nickc@redhat.com>
92
93 PR 363
94 * ar.c (replace_members): Do not use get_file_size as
95 ar_emul_append correctly handles missing files.
96
d15b04bd
L
972004-09-07 H.J. Lu <hongjiu.lu@intel.com>
98
99 * configure: Regenerated with autconfig 2.13.
100
d597aff7
DS
1012004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
102
74013231
AM
103 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
104 documentation.
d597aff7 105
04c34128
NC
1062004-09-06 Michael Wardle <mbw@endbracket.net>
107
3023b782 108 * doc/binutils.texi (objdump): Document that the -x switch includes
04c34128
NC
109 the effect of the -p switch.
110
d597aff7 1112004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
5df31fad 112
6cef8f72
DS
113 * dlltool.c (make_one_lib_file): Test if internal_name was
114 specified by user before using it.
5df31fad 115
74013231 1162004-09-02 Carlo Wood <carlo@alinoe.com>
5885be89
NC
117
118 PR binutils/351
119 * dlltool.c (make_one_lib_file): For IDATA6 take the name from
120 exp->internal_name if it is present.
121
ec2dfb42
AO
1222004-09-02 Alexandre Oliva <aoliva@redhat.com>
123
124 * MAINTAINERS: Add self as co-maintainer of FR-V.
125 * readelf.c (get_machine_flags): Print FR-V cpu types.
126
0873df2a
AM
1272004-08-28 Alan Modra <amodra@bigpond.net.au>
128
129 * nm.c (show_synthetic): New var.
130 (long_options): Add "synthetic".
131 (usage): Here too.
132 (display_rel_file): Handle show_synthetic.
133
c9727e01
AM
1342004-08-28 Alan Modra <amodra@bigpond.net.au>
135
136 * objdump.c (dump_bfd): Pass both symbol tables to
137 bfd_get_synthetic_symtab.
138
90e3cdf2
JJ
1392004-08-17 Jakub Jelinek <jakub@redhat.com>
140
141 * objdump.c (dump_bfd): For relocatable objects, pass syms instead
142 of dynsyms to bfd_get_synthetic_symtab.
143
d84de024
AM
1442004-08-16 Alan Modra <amodra@bigpond.net.au>
145
146 * readelf.c (debug_apply_rela_addends): New function, extracted from..
147 (display_debug_info): ..here.
148 (display_debug_frames): Call debug_apply_rela_addends. Don't do
149 DW_EH_PE_pcrel adjustment for ET_REL.
150
efcb5b0e
AS
1512004-08-06 Andreas Schwab <schwab@suse.de>
152
153 * readelf.c (dump_relocations): Fix typo when calculating
154 sec_index.
155
d3cde3af
NC
1562004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
157
158 * dllwrap.c (deduce_name): Fix typos introduced when program_name
159 was renamed to prog_name.
160
1d70c7fb
AO
1612004-07-29 Alexandre Oliva <aoliva@redhat.com>
162
163 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
164 EF_SH2A_NOFPU.
165
ccde1100
AO
1662004-07-28 Alexandre Oliva <aoliva@redhat.com>
167
168 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
169 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
170 EF_SH4A_NOFPU.
171 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
172 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
173
082b7297
L
1742004-07-21 H.J. Lu <hongjiu.lu@intel.com>
175
176 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
177 to access comdat.
178 * objdump.c (dump_section_header): Likewise.
179
44a6d974
NC
1802004-07-15 Aravinda PR <aravindapr@rediffmail.com>
181
182 * nlmconv.c (main): Pass map_file argument to link_inputs.
183 (link_inputs): Use map_file argument if it is defined.
184
61513dc1
NC
1852004-07-13 Nick Clifton <nickc@redhat.com>
186
187 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
188 conflicts with exported global defined in bucomm.h.
189 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
190 shadowing the global defined in bucomm.h.
191
607dea97
NC
1922004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
193
194 * dlltool.c (ext_prefix_alias): New global variable.
195 (make_one_lib_file): Add aliases with prefixes for external
196 and import definitions.
197 (usage): Document -p option.
198 (long_options): Add --ext-prefix-alias option.
199 (main): Handle -p.
200 * doc/binutils.texi: Document new switch.
201 * NEWS: Mention new switch.
202
2758961a
NC
2032004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
204
205 * binutils/dlltool.c (asm_prefix): Add parameter: name.
206 No underscore for symbols beginning with ?.
207 (ASM_PREFIX): Add parameter: NAME.
208 (gen_exp_file): Use new parameter.
209 (make_label): Likewise.
210 (make_imp_label): Likewise.
211 (make_one_lib_file): Likewise.
212
1fe1f39c
NC
2132004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
214
215 * MAINTAINERS: Added myself to the list.
216 * readelf.c: Include "elf/crx.h".
217 (guess_is_rela): Handle EM_CRX.
218 (get_machine_name): Likewise.
219 (dump_relocations): Likewise.
220
c87db184
CF
2212004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
222
223 * doc/binutils.texi (nm): Clarify weak symbol description.
224
fb7b006e
BE
2252004-06-24 Ben Elliston <bje@au.ibm.com>
226
227 * readelf.c (get_segment_type): Display "GNU_STACK", not just
228 "STACK", when a PT_GNU_STACK segment is encountered.
229
eea6121a
AM
2302004-06-24 Alan Modra <amodra@bigpond.net.au>
231
232 * objcopy.c (copy_section): Don't set _cooked_size.
233
fb514b26
AM
2342004-06-22 Alan Modra <amodra@bigpond.net.au>
235
ba2685cc
AM
236 * readelf.c (Elf32_Word): Delete.
237 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
238 (get_64bit_dynamic_section): Likewise.
239
240 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
241 (get_64bit_dynamic_section): Likewise.
242
86dba8ee
AM
243 * readelf.c (dynamic_nent): New variable.
244 (get_32bit_dynamic_section): Set it.
245 (get_64bit_dynamic_section): Here too.
246 (process_dynamic_section): Use it instead of dynamic_size.
247 (process_syminfo): Likewise.
248
fb514b26
AM
249 * readelf.c (get_32bit_dynamic_section): Correct number of entries
250 translated from external to internal form.
251 (get_64bit_dynamic_section): Likewise.
252
b2d38a17
NC
2532004-06-18 Jie Zhang <zhangjie@magima.com.cn>
254
255 * readelf.c (process_program_headers): When locating the dynamic
256 section use the section table if it is present.
257 (dynamic_segment): Renamed to dynamic_section.
258 Replace references to dynamic segment with references to dynamic
259 section, except where appropriate.
260 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
261 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
262 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
263 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
264 Remove tag counting code as it is no longer needed.
265 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
266 Remove tag counting code as it is no longer needed.
267 (process_dynamic_segment): Rename to process_dynamic_section.
eea6121a 268
135dfb4a
AM
2692004-06-15 Alan Modra <amodra@bigpond.net.au>
270
271 * objcopy.c (copy_section): Use bfd_get_section_size instead of
272 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
273 (compare_section_lma): Likewise.
274 * addr2line.c (find_address_in_section): Likewise.
275 * coffgrok.c (do_sections_p1): Likewise.
276 * dlltool.c (scan_drectve_symbols): Likewise.
277 * nlmconv.c (main): Likewise.
278 (copy_sections): Likewise.
279 (powerpc_mangle_relocs): Likewise.
280 * objdump.c (disassemble_section): Likewise.
281 * prdbg.c (find_address_in_section): Likewise.
282 * size.c (berkeley_sum): Likewise.
283 * srconv.c (wr_ob): Likewise.
284 * strings.c (strings_a_section): Likewise.
285
90e01f86
ILT
2862004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
287
288 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
289
80fccad2
BW
2902004-05-17 David Heine <dlheine@tensilica.com>
291
eea6121a 292 * objcopy.c (setup_bfd_headers): New function.
80fccad2
BW
293 (copy_object): Call setup_bfd_headers.
294
0da76f83
NC
2952004-05-13 Paul Brook <paul@codesourcery.com>
296
297 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
298 entries.
299
9598fbe5
NC
3002004-05-13 Nick Clifton <nickc@redhat.com>
301
302 * po/fr.po: Updated French translation.
303
8c37241b
JJ
3042004-05-11 Jakub Jelinek <jakub@redhat.com>
305
306 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
307
e4b17d5c
L
3082004-05-07 H.J. Lu <hongjiu.lu@intel.com>
309
310 * readelf.c (section_groups): New.
311 (group_count): New.
312 (section_headers_groups): New.
313 (process_section_groups): Populate group_count, section_groups
314 and section_headers_groups.
315 (process_unwind): Support section group.
316 (process_object): Always call process_section_groups. Free
317 section_groups and section_headers_groups.
318
f2da459f
L
3192004-04-30 H.J. Lu <hongjiu.lu@intel.com>
320
321 * readelf.c (process_section_headers): Use %3lu on sh_info.
322
f8935895
NC
3232004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
324
325 * ranlib.sh: Quote $1 argument in case it contains spaces.
326
3272004-04-27 John Paul Wallington <jpw@gnu.org>
a95b5cf9
AM
328
329 * objcopy.c (copy_usage, strip_usage): Fix spelling.
330
f5842774
L
3312004-04-26 H.J. Lu <hongjiu.lu@intel.com>
332
333 * readelf.c (do_section_groups): New.
334 (options): Add --section-groups/-g.
335 (usage): Mention --section-groups/-g.
336 (parse_args): Support --section-groups/-g.
337 (get_group_flags): New.
338 (process_section_groups): New.
339 (process_object): Call process_section_groups.
340
46212538
AM
3412004-04-24 Alan Modra <amodra@bigpond.net.au>
342
343 * objdump.c (disassemble_section): Don't disassemble sections
344 without SEC_HAS_CONTENTS.
345
4c45e5c9
JJ
3462004-04-22 Jakub Jelinek <jakub@redhat.com>
347
348 * objdump.c (synthsyms, synthcount): New variables.
349 (disassemble_data): Use dynsyms for stripped binaries or libraries.
350 Add synthetized symbols.
351 (dump_bfd): For disassemble, initialize dynsyms always and
352 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
353 before returning.
354
e9f87780
AM
3552004-04-14 Alan Modra <amodra@bigpond.net.au>
356
357 * strings.c (print_strings): Cast file_off to unsigned long in
358 printf arg list.
359
1ba93119
AM
3602004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
361
362 PR 86
363 * arsup.c (ar_save): Use smart_rename.
364
935a41f5
NC
3652004-04-01 Dean Luick <luick@cray.com>
366
367 * readelf.c (display_debug_pubnames): Align offset and data
368 columns.
369 (read_and_display_attr_value): Add missing break;
370 (debug_displays): Enable the display of the .debug_pubtypes
371 section.
372
92e25cf8
SS
3732004-03-30 Stan Shebs <shebs@apple.com>
374
375 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
376 support files, no longer used.
377
d507cf36
PB
3782004-03-23 Paul Brook <paul@codesourcery.com>
379
380 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
381
8c9a9879
RH
3822004-03-21 Richard Henderson <rth@redhat.com>
383
384 * readelf.c (display_debug_frames): Don't crash for mismatched
385 DW_CFA_restore_state.
386
6ece5c52
AM
3872004-03-19 Alan Modra <amodra@bigpond.net.au>
388
389 * Makefile.am: Run "make dep-am".
390 * Makefile.in: Regenerate.
391 * aclocal.m4: Regenerate.
392 * config.in: Regenerate.
393 * configure: Regenerate.
394 * po/binutils.pot: Regenerate.
395
6f104306
NS
3962004-03-15 Nathan Sidwell <nathan@codesourcery.com>
397
398 * objdump.c (struct SFILE): Replace current pointer with pos
399 offset, rename size to alloc.
400 (objdump_sprintf): Avoid unnecessary copies in the common case
401 (disassemble_bytes): Keep sfile live throughout the
402 function. Adjust usage appropriately.
403
523f6a27
BE
4042004-03-10 Ben Elliston <bje@gnu.org>
405
406 * MAINTAINERS: Update my mail address.
407
7aa52b1f
NC
4082004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
409
410 * deflex.l: Handle "PRIVATE" string.
411 * defparse.y (%token): Add PRIVATE.
412 (%type): Add opt_PRIVATE.
413 (expline): Pass opt_PRIVATE to def_exports.
414 (opt_PRIVATE): Handle PRIVATE token.
415 * dlltool.h (def_exports): Add 7th param for private flag to
416 declaration.
417 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
418 (struct export): Add 'private' field.
419 (def_exports): Set 'private' field of struct exports.
420 (scan_drectve_symbols): Adjust calls to def_exports.
421 (scan_filtered_symbols): Likewise.
422 (dump_def_info): Print 'private' field.
423 (gen_def_file): Likewise.
424 (gen_lib_file): Skip generation of lib object if private.
425 Delete tmp object files in same order as they were generated.
426 Don't delete non-existent private object files.
427
af865222
AS
4282004-02-27 Andreas Schwab <schwab@suse.de>
429
430 * ar.c (main): Support POSIX-compatible argument parsing.
431
c7e7ca54
NC
4322004-02-23 Daniel Lucq <daniel@lucq.org>
433
434 * readelf.c (process_mips_specific): Print conflictsno as an
435 unsigned long.
436
eff21b8e
CF
4372004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
438
439 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
440
2f01ffbf
JJ
4412004-02-19 Jakub Jelinek <jakub@redhat.com>
442
443 * objcopy.c (copy_section): Avoid warnings.
444
c92c35e7
AC
4452004-02-14 Andrew Cagney <cagney@redhat.com>
446
447 * ar.c (remove_output): Use bfd_cache_close.
448 * arsup.c (ar_end): Ditto.
449
9d241085
RM
4502004-01-21 Roland McGrath <roland@redhat.com>
451
452 * readelf.c (get_note_type): Match NT_AUXV.
453
d99e9f4d
NC
4542004-01-20 Nick Clifton <nickc@redhat.com>
455
456 * version.c (print_version): Update copyright year to 2004.
457
f8b73030
MR
4582004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
459
460 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
461 throughout.
462 * aclocal.m4: Regenerate.
463 * configure: Regenerate.
464
f0312d39
JJ
4652004-01-12 Jakub Jelinek <jakub@redhat.com>
466
467 * objcopy.c: Include elf-bfd.h.
468 (is_strip_section): Don't strip debugging sections if
469 STRIP_NONDEBUG.
470 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
471 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
472
473 * objcopy.c (copy_section): Free relpp if relcount == 0.
474
041821e6
ILT
4752004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
476
477 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
478 (stab_demangle_argtypes): Likewise.
479 (stab_demangle_v3_argtypes): New static function.
480 (stab_demangle_v3_arg): New static function.
481
950d48e7
NC
4822004-01-12 Nick Clifton <nickc@redhat.com>
483
484 * objcopy.c (copy_object): Make the function boolean, returning
485 FALSE upon failure.
eea6121a
AM
486 (copy_archive): Handle the return value from copy_object.
487 (copy_file): Likewise.
950d48e7 488
d9296b18
NC
4892004-01-07 Nick Clifton <nickc@redhat.com>
490
491 * readelf.c (find_section): New function. Locates a named
492 section.
493 (get_debug_line_pointer_sizes): New function: Initialises the
494 debug_line_pointer_sizes array.
eea6121a
AM
495 (display_debug_lines): Call get_debug_line_pointer_sizes.
496 (display_debug_loc): Likewise.
497 (load_debug_loc): Use find_section.
498 (load_debug_str): Likewise.
499 (display_debug_info): Likewise.
500 (prescan_debug_info): Delete.
501 (debug_displays): Remove prescan field.
502 (process_section_contents): Do not perform prescans.
d9296b18 503
5e675b72
AM
5042004-01-03 Alan Modra <amodra@bigpond.net.au>
505
506 * objcopy.c (filter_bytes): Delete. Move code to..
507 (copy_section): ..here. Simplify size adjustment. Divide
508 section lma by interleave.
509
f0660b73
NC
5102004-01-02 Nick Clifton <nickc@redhat.com>
511
512 * po/ru.po: New file: Russian translation.
513 * configure.in (ALL_LINGUAS): Add ru
514 * configure: Regenerate.
eb18fd22 515
c9e214e5 516For older changes see ChangeLog-0203
252b5132
RH
517\f
518Local Variables:
519mode: change-log
520left-margin: 8
521fill-column: 74
522version-control: never
523End:
This page took 0.255058 seconds and 4 git commands to generate.