Commit | Line | Data |
---|---|---|
76a56260 NC |
1 | 2004-12-22 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | * readelf.c (last_pointer_size, warned_about_missing_comp_units): | |
4 | New variables associated with obtaining the pointer size for a | |
5 | comp_unit. | |
6 | (get_pointer_size_of_comp_unit): Add an extra parameter - the name | |
7 | of the section requesting the pointer size. Use this name in | |
8 | error messages. If there are not enough comp_units available | |
9 | produce a warning message, but return the last known pointer size | |
10 | so that section dumping can continue. | |
11 | (get_debug_info): Reset the new variables. | |
12 | (display_debug_lines): Add extra parameter to invocation of | |
13 | get_pointer_size_of_comp_unit and remove error message when it | |
14 | returns 0. | |
15 | (display_debug_loc): Likewise. | |
16 | ||
bcf32829 JB |
17 | 2004-12-15 Jan Beulich <jbeulich@novell.com> |
18 | ||
19 | * doc/binutils.texi: Document --strip-unneeded-symbol and | |
20 | --strip-unneeded-symbols. | |
21 | * objcopy.c (strip_unneeded_list): New. | |
22 | (enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL | |
23 | and OPTION_STRIP_UNNEEDED_SYMBOLS. | |
24 | (copy_options): Add --strip-unneeded-symbol and | |
25 | --strip-unneeded-symbols. | |
26 | (copy_usage): Likewise. | |
27 | (filter_symbols): Suppress copying of symbol if in strip_unneeded_list | |
28 | and the symbol is not needed. | |
29 | (copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and | |
30 | OPTION_STRIP_UNNEEDED_SYMBOLS. | |
31 | ||
ebcb91b7 ILT |
32 | 2004-12-09 Ian Lance Taylor <ian@wasabisystems.com> |
33 | ||
34 | * readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000. | |
35 | ||
a2f33459 BE |
36 | 2004-12-08 Ben Elliston <bje@au.ibm.com> |
37 | ||
38 | * arlex.l: Fix formatting. | |
39 | ||
36607f99 BE |
40 | 2004-12-08 Ben Elliston <bje@au.ibm.com> |
41 | ||
42 | * doc/Makefile.am (config.texi): Emit a @set UPDATED command to | |
43 | config.texi whose value is the current month and year. | |
44 | * doc/Makefile.in: Rebuild. | |
45 | * doc/binutils.texi: Set the document subtitle to be the value of | |
46 | the Texinfo UPDATED variable (obtained from config.texi). | |
47 | ||
2aa9814e BE |
48 | 2004-12-07 Ben Elliston <bje@au.ibm.com> |
49 | ||
50 | PR binutils/249 | |
51 | * doc/binutils.texi (def file format): New node. | |
52 | (dlltool): Use the tool name as the @chapter name, like all the | |
53 | other binutils. Use @file{.def} throughout for consistency. | |
54 | ||
c7de9216 BE |
55 | 2004-12-06 Ben Elliston <bje@au.ibm.com> |
56 | ||
57 | * dlltool.c: Comment fix. | |
58 | ||
2423fbe6 BE |
59 | 2004-12-06 Ben Elliston <bje@au.ibm.com> |
60 | ||
61 | * doc/binutils.texi: Update copyright years. | |
62 | ||
73fb7068 RS |
63 | 2004-12-03 Richard Sandiford <rsandifo@redhat.com> |
64 | ||
65 | * MAINTAINERS: Remove mention of config.if. | |
66 | ||
32118081 NC |
67 | 2004-11-30 Tero Niemela <tero_niemela@yahoo.com> |
68 | ||
69 | * Makefile.am: Change LOCALEDIR to $(datadir)/share. | |
70 | * Makefile.in: Regenerate. | |
71 | ||
2b25cacb ILT |
72 | 2004-11-10 Ian Lance Taylor <ian@wasabisystems.com> |
73 | ||
74 | PR binutils/536 | |
75 | * stabs.c (stab_demangle_template): Call stab_demangle_count | |
76 | rather than stab_demangle_get_count to get the length of a pointer | |
77 | target. | |
78 | ||
74aba8aa DS |
79 | 2004-11-10 Danny Smith <dannysmith@users.sourceforge.net> |
80 | ||
81 | * defparse.y: Remove unnecessary commas from token list. | |
82 | ||
977cdf5a NC |
83 | 2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
84 | ||
85 | * doc/binutils.texi (nm): Update description of weak symbols. | |
86 | ||
18bd398b NC |
87 | 2004-11-03 Nick Clifton <nickc@redhat.com> |
88 | ||
89 | * readelf.c (do_debug_ranges): New variable. | |
90 | (usage): Document new switch: -wR or --debug-dump=Ranges. | |
91 | (parse_args): Handle new switch. Replace switch statement for the | |
92 | long options with a more compact table structure. | |
93 | (process_section_headers): Allow the dumping of .debug_ranges | |
94 | sections if so requested. | |
95 | (debug_displays): Likewise. | |
96 | (load_debug_range): New function: Grabs the contents of a | |
97 | .debug_ranges section. | |
98 | (free_debug_range): New function: Releases the grabbed | |
99 | .debug_ranges section. | |
100 | (decode_64bit_range): New function: Displays a 64-bit range in a | |
101 | .debug_ranges section. | |
102 | (decode_range): New function: Displays a 32-bit range in a | |
103 | .debug_ranges section. | |
104 | (read_and_display_attr_value): Record the value of DW_AT_low_pc | |
105 | attributes. Use decode_ranges() to display a DW_AT_ranges | |
106 | attribute. | |
107 | (display_debug_info): Use load_debug_range() and | |
108 | free_debug_range(). | |
109 | (display_64bit_debug_ranges): New function. Displays the contents | |
110 | of a 64-bit format .debug_ranges section. | |
111 | (display_debug_ranges): New function: Displays the contents of a | |
112 | 32-bit .debug_ranges section. | |
113 | ||
114 | (main): Move cmdline_dump_sects and num_cmdline_dump_sects into the | |
115 | global scope. | |
116 | (process_object): Initialise the dump_sects array from the | |
117 | cmdline_dump_sects array before processing each object file. | |
118 | ||
119 | (streq, strneq): New macros. Use them to replace occurrences of | |
120 | strcmp() and strncmp(). | |
121 | ||
122 | (debug_information): New structure array to replace | |
123 | debug_line_pointer_sizes array. | |
124 | (num_debug_info_entries): New variable to replace | |
125 | num_debug_line_pointers. | |
126 | (get_pointer_size_of_comp_unit): New function: Returns the pointer | |
127 | size of a given compilation unit. | |
128 | (get_debug_info): New function to replace | |
129 | get_debug_line_pointer_sizes. | |
130 | (display_debug_lines): Use the new functions. | |
131 | (display_debug_loc): Likewise. | |
132 | ||
133 | (disassemble_section): Change return type to int. | |
134 | (display_debug_lines): Move local variables to their | |
135 | innermost scope. | |
136 | (display_debug_section): Likewise. Also record the return value | |
137 | of functions called and pass this back to the parent. Also only | |
138 | warn about undumped sections when the user explicitly requested | |
139 | their dumping. | |
140 | ||
141 | (debug_apply_rela_addends): Allow relocations against STT_OBJECT | |
142 | types as well. | |
143 | ||
144 | * NEWS: Mention the support for decoding .debug_ranges sections. | |
145 | * doc/binutils.texi: Document the new command line switch to | |
146 | readelf. | |
147 | ||
57346661 AM |
148 | 2004-11-03 Randolph Chung <tausq@debian.org> |
149 | ||
150 | * readelf.c (ia64_unw_aux_info, ia64_unw_table_entry): Rename from | |
151 | unw_aux_info and unw_table_entry. | |
152 | (find_symbol_for_address): Pass symtab and strtab info explicitly. | |
153 | (dump_ia64_unwind): Rename unw_{aux_info,table_entry} with ia64_ | |
154 | prefix. | |
155 | (slurp_ia64_unwind_table): Likewise. | |
156 | (ia64_process_unwind): Rename from old process_unwind. | |
157 | (hppa_unw_aux_info): New. | |
158 | (dump_hppa_unwind): New. | |
159 | (slurp_hppa_unwind_table): New. | |
160 | (hppa_process_unwind): New. | |
161 | (process_unwind): Factor out common unwinding checks; dispatch to | |
162 | unwind handler based on machine type. | |
163 | ||
935d0bca NC |
164 | 2004-11-02 Nick Clifton <nickc@redhat.com> |
165 | ||
166 | * readelf.c (display_debug_lines): Fix typo in error message. | |
167 | ||
1ec5cd37 NC |
168 | 2004-10-26 Mark Mitchell <mark@codesourcery.com> |
169 | ||
170 | * readelf.c (get_note_type): Handle notes not in core files. | |
171 | (process_note_sections): New function. | |
172 | (process_corefile_contents): Rename to ... | |
173 | (process_notes): ... this. | |
174 | (process_object): Call process_notes, not | |
175 | process_corefile_contents. | |
176 | * doc/binutils.texi: Update readelf -n documentation. | |
177 | ||
b3f21e4a JJ |
178 | 2004-10-26 Jakub Jelinek <jakub@redhat.com> |
179 | ||
180 | * ar.c (extract_file): Set atime to mtime for ar xo. | |
181 | ||
2b4c4cc4 ILT |
182 | 2004-10-25 Ian Lance Taylor <ian@wasabisystems.com> |
183 | ||
184 | * stabs.c (stab_demangle_v3_arglist): New static function, broken | |
185 | out of stab_demangle_v3_argtypes. | |
186 | (stab_demangle_v3_argtypes): Call it. | |
187 | (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE. | |
188 | If we find an unrecognized component, print out its number. | |
189 | ||
1ffa9a18 L |
190 | 2004-10-25 David Mosberger <davidm@hpl.hp.com> |
191 | ||
192 | * readelf.c (slurp_ia64_unwind_table): Support relocations against | |
193 | non-section symbols by adding in the symbol value. | |
194 | ||
d79b3d50 NC |
195 | 2004-10-25 Nick Clifton <nickc@redhat.com> |
196 | ||
197 | PR 465 | |
198 | * readelf.c (dynamic_strings_length): New global variable. | |
199 | (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing | |
200 | strings in the dynamic string table. | |
201 | (process_section_headers): Initialise dynamic_strings_length. | |
202 | (process_dynamic_section): Likewise. | |
203 | (process_object): Reset dynamic_string_length when the buffer is freed. | |
204 | (dynamic_sections_mips_val): Use the new macros. | |
205 | (process_dynamic_section): Likewise. | |
206 | (process_version_sections): Likewise. | |
207 | (process_symbol_table): Likewise. | |
208 | (process_syminfo): Likewise. | |
209 | (process_mips_specific): Likewise. | |
210 | (dump_relocations): Add a new parameter 'strtablen' and use this | |
211 | to verify that string offset in a given reloc is valid. Print a | |
212 | suitable error message otherwise. | |
213 | (process_relocs): Pass the new argument to dump_relocations. | |
214 | ||
0fd555c4 NC |
215 | 2004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
216 | ||
217 | * dlltool.c: Include <assert.h>. | |
218 | (PREFIX_ALIAS_BASE): Define. | |
219 | (struct export): Add member import_name; | |
220 | (def_exports): Set import_name. | |
221 | (make_one_lib_file): Remove prefix alias code, use import_name | |
222 | in .idata$6. | |
223 | (gen_lib_file): Create and delete aliases. | |
224 | ||
5ab0c1a1 L |
225 | 2004-10-19 H.J. Lu <hongjiu.lu@intel.com> |
226 | ||
227 | * readelf.c (process_section_groups): Free symtab after use. | |
228 | ||
d412a550 NC |
229 | 2004-10-18 Tommy Pettersson <ptp@lysator.liu.se> |
230 | Nick Clifton <nickc@redhat.com> | |
231 | ||
232 | * strings.c (usage): Place radix values for -t option into the | |
233 | correct order. | |
234 | ||
235 | * objcopy.c (add_redefine_syms_file): Change error messages to use | |
236 | <filename>:<linenumber>: format for easier parsing by automatic | |
237 | tools. | |
238 | ||
239 | * srconv.c (show_usage): Fix spelling typo. | |
240 | ||
241 | * windres.c (format_from_filename): Suggest the use of -J instead | |
242 | of -I if the file type cannot be determined. | |
243 | ||
fb608b92 NC |
244 | 2004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
245 | ||
246 | * strings.c: Include <sys/stat.h>. | |
247 | ||
2bb2d727 AM |
248 | 2004-10-18 Alan Modra <amodra@bigpond.net.au> |
249 | ||
7f67d4c9 AM |
250 | * budemang.c (demangle): Fix thinko. |
251 | ||
2bb2d727 AM |
252 | * budemang.c (demangle): Handle "@plt" suffix. |
253 | ||
61bbd35b NC |
254 | 2004-10-14 Nick Clifton <nickc@redhat.com> |
255 | ||
256 | * nm.c (usage): Fix description of --special-syms switch. | |
257 | ||
fb5b5478 JJ |
258 | 2004-10-13 Jakub Jelinek <jakub@redhat.com> |
259 | ||
260 | * strings.c (statbuf): New typedef. | |
261 | (file_stat): Define. | |
262 | (strings_object_file): Avoid using get_file_size, instead do the | |
263 | checks here, using file_stat. | |
264 | * configure.in (HAVE_STAT64): New test. | |
265 | * configure: Rebuilt. | |
266 | * config.in: Rebuilt. | |
267 | ||
8cb51566 PB |
268 | 2004-10-12 Paul Brook <paul@codesourcery.com> |
269 | ||
270 | * readelf.c (decode_ARM_machine_flags): Support EABI version 4. | |
271 | ||
83ef0798 AM |
272 | 2004-10-11 Alan Modra <amodra@bigpond.net.au> |
273 | ||
274 | * objdump.c (dump_symbols): Fix thinko last change. Improve error | |
275 | messages. | |
276 | ||
3c9458e9 NC |
277 | 2004-10-08 Nick Clifton <nickc@redhat.com> |
278 | ||
279 | * nm.c: Add a new switch --special-syms which, if enabled, will | |
280 | include the ARM Mapping symbols in nm's output. | |
281 | (usage): Mention the switch. | |
282 | (filter_symbols): Handle the switch. | |
283 | * objdump.c: Add a similar switch. | |
284 | (usage): Mention the switch. | |
285 | (dump_symbols): Handle the switch. | |
286 | * doc/binutils.texi: Document the new switches. | |
287 | * NEWS: Mention the new switches. | |
288 | ||
d2b2c203 DJ |
289 | 2004-10-08 Daniel Jacobowitz <dan@debian.org> |
290 | ||
291 | * readelf.c (get_x86_64_section_type_name): New function. | |
292 | (get_section_type_name): Use it. | |
293 | ||
d67a454c NC |
294 | 2004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
295 | ||
296 | * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04 | |
297 | patches. | |
298 | * doc/binutils.texi (dlltool): Revert 2004-09-06 patch. | |
299 | ||
1c877e87 AO |
300 | 2004-10-07 Alexandre Oliva <aoliva@redhat.com> |
301 | ||
302 | * readelf.c (get_machine_flags): Don't fall through into m68k cpu | |
303 | types. | |
304 | ||
40a18ebd NC |
305 | 2004-10-01 Paul Brook <paul@codesourcery.com> |
306 | ||
307 | * readelf.c (get_arm_section_type_name): New function. | |
308 | (get_section_type_name): Use it. | |
309 | ||
382c1116 NC |
310 | 2004-09-28 Nick Clifton <nickc@redhat.com> |
311 | ||
eb1ab0cf | 312 | * nm.c: Reorder functions to eliminate most of the static function |
382c1116 NC |
313 | prototypes. |
314 | ||
cbaa0dc5 AM |
315 | 2004-09-22 Alan Modra <amodra@bigpond.net.au> |
316 | ||
317 | * readelf.c (process_program_headers): Don't include .tbss in non-TLS | |
318 | segments. | |
319 | ||
3443c1ae AM |
320 | 2004-09-17 Alan Modra <amodra@bigpond.net.au> |
321 | ||
322 | * Makefile.am: Run "make dep-am". | |
323 | * Makefile.in: Regenerate. | |
324 | * config.in: Regenerate. | |
325 | * configure: Regenerate. | |
326 | * doc/Makefile.in: Regenerate. | |
327 | * po/binutils.pot: Regenerate. | |
328 | ||
74013231 AM |
329 | 2004-09-12 Alan Modra <amodra@bigpond.net.au> |
330 | ||
331 | * readelf.c (decode_location_expression): Sign extend value for | |
332 | DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip. | |
333 | ||
360589e8 NC |
334 | 2004-09-09 Nick Clifton <nickc@redhat.com> |
335 | ||
336 | PR 363 | |
337 | * ar.c (replace_members): Do not use get_file_size as | |
338 | ar_emul_append correctly handles missing files. | |
339 | ||
d15b04bd L |
340 | 2004-09-07 H.J. Lu <hongjiu.lu@intel.com> |
341 | ||
342 | * configure: Regenerated with autconfig 2.13. | |
343 | ||
d597aff7 DS |
344 | 2004-09-06 Danny Smith <dannysmith@users.sourceforge.net> |
345 | ||
74013231 AM |
346 | * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at |
347 | documentation. | |
d597aff7 | 348 | |
04c34128 NC |
349 | 2004-09-06 Michael Wardle <mbw@endbracket.net> |
350 | ||
3023b782 | 351 | * doc/binutils.texi (objdump): Document that the -x switch includes |
04c34128 NC |
352 | the effect of the -p switch. |
353 | ||
d597aff7 | 354 | 2004-09-04 Danny Smith <dannysmith@users.sourceforge.net> |
5df31fad | 355 | |
6cef8f72 DS |
356 | * dlltool.c (make_one_lib_file): Test if internal_name was |
357 | specified by user before using it. | |
5df31fad | 358 | |
74013231 | 359 | 2004-09-02 Carlo Wood <carlo@alinoe.com> |
5885be89 NC |
360 | |
361 | PR binutils/351 | |
362 | * dlltool.c (make_one_lib_file): For IDATA6 take the name from | |
363 | exp->internal_name if it is present. | |
364 | ||
ec2dfb42 AO |
365 | 2004-09-02 Alexandre Oliva <aoliva@redhat.com> |
366 | ||
367 | * MAINTAINERS: Add self as co-maintainer of FR-V. | |
368 | * readelf.c (get_machine_flags): Print FR-V cpu types. | |
369 | ||
0873df2a AM |
370 | 2004-08-28 Alan Modra <amodra@bigpond.net.au> |
371 | ||
372 | * nm.c (show_synthetic): New var. | |
373 | (long_options): Add "synthetic". | |
374 | (usage): Here too. | |
375 | (display_rel_file): Handle show_synthetic. | |
376 | ||
c9727e01 AM |
377 | 2004-08-28 Alan Modra <amodra@bigpond.net.au> |
378 | ||
379 | * objdump.c (dump_bfd): Pass both symbol tables to | |
380 | bfd_get_synthetic_symtab. | |
381 | ||
90e3cdf2 JJ |
382 | 2004-08-17 Jakub Jelinek <jakub@redhat.com> |
383 | ||
384 | * objdump.c (dump_bfd): For relocatable objects, pass syms instead | |
385 | of dynsyms to bfd_get_synthetic_symtab. | |
386 | ||
d84de024 AM |
387 | 2004-08-16 Alan Modra <amodra@bigpond.net.au> |
388 | ||
389 | * readelf.c (debug_apply_rela_addends): New function, extracted from.. | |
390 | (display_debug_info): ..here. | |
391 | (display_debug_frames): Call debug_apply_rela_addends. Don't do | |
392 | DW_EH_PE_pcrel adjustment for ET_REL. | |
393 | ||
efcb5b0e AS |
394 | 2004-08-06 Andreas Schwab <schwab@suse.de> |
395 | ||
396 | * readelf.c (dump_relocations): Fix typo when calculating | |
397 | sec_index. | |
398 | ||
d3cde3af NC |
399 | 2004-08-02 Jakub Bogusz <qboosh@pld-linux.org> |
400 | ||
401 | * dllwrap.c (deduce_name): Fix typos introduced when program_name | |
402 | was renamed to prog_name. | |
403 | ||
1d70c7fb AO |
404 | 2004-07-29 Alexandre Oliva <aoliva@redhat.com> |
405 | ||
406 | * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and | |
407 | EF_SH2A_NOFPU. | |
408 | ||
ccde1100 AO |
409 | 2004-07-28 Alexandre Oliva <aoliva@redhat.com> |
410 | ||
411 | 2003-07-08 Alexandre Oliva <aoliva@redhat.com> | |
412 | * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and | |
413 | EF_SH4A_NOFPU. | |
414 | 2003-06-12 Alexandre Oliva <aoliva@redhat.com> | |
415 | * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name. | |
416 | ||
082b7297 L |
417 | 2004-07-21 H.J. Lu <hongjiu.lu@intel.com> |
418 | ||
419 | * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section | |
420 | to access comdat. | |
421 | * objdump.c (dump_section_header): Likewise. | |
422 | ||
44a6d974 NC |
423 | 2004-07-15 Aravinda PR <aravindapr@rediffmail.com> |
424 | ||
425 | * nlmconv.c (main): Pass map_file argument to link_inputs. | |
426 | (link_inputs): Use map_file argument if it is defined. | |
427 | ||
61513dc1 NC |
428 | 2004-07-13 Nick Clifton <nickc@redhat.com> |
429 | ||
430 | * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid | |
431 | conflicts with exported global defined in bucomm.h. | |
432 | (deduce_name): Rename parameter 'program_name' to 'name' to avoid | |
433 | shadowing the global defined in bucomm.h. | |
434 | ||
607dea97 NC |
435 | 2004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
436 | ||
437 | * dlltool.c (ext_prefix_alias): New global variable. | |
438 | (make_one_lib_file): Add aliases with prefixes for external | |
439 | and import definitions. | |
440 | (usage): Document -p option. | |
441 | (long_options): Add --ext-prefix-alias option. | |
442 | (main): Handle -p. | |
443 | * doc/binutils.texi: Document new switch. | |
444 | * NEWS: Mention new switch. | |
445 | ||
2758961a NC |
446 | 2004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
447 | ||
448 | * binutils/dlltool.c (asm_prefix): Add parameter: name. | |
449 | No underscore for symbols beginning with ?. | |
450 | (ASM_PREFIX): Add parameter: NAME. | |
451 | (gen_exp_file): Use new parameter. | |
452 | (make_label): Likewise. | |
453 | (make_imp_label): Likewise. | |
454 | (make_one_lib_file): Likewise. | |
455 | ||
1fe1f39c NC |
456 | 2004-07-07 Tomer Levi <Tomer.Levi@nsc.com> |
457 | ||
458 | * MAINTAINERS: Added myself to the list. | |
459 | * readelf.c: Include "elf/crx.h". | |
460 | (guess_is_rela): Handle EM_CRX. | |
461 | (get_machine_name): Likewise. | |
462 | (dump_relocations): Likewise. | |
463 | ||
c87db184 CF |
464 | 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
465 | ||
466 | * doc/binutils.texi (nm): Clarify weak symbol description. | |
467 | ||
fb7b006e BE |
468 | 2004-06-24 Ben Elliston <bje@au.ibm.com> |
469 | ||
470 | * readelf.c (get_segment_type): Display "GNU_STACK", not just | |
471 | "STACK", when a PT_GNU_STACK segment is encountered. | |
472 | ||
eea6121a AM |
473 | 2004-06-24 Alan Modra <amodra@bigpond.net.au> |
474 | ||
475 | * objcopy.c (copy_section): Don't set _cooked_size. | |
476 | ||
fb514b26 AM |
477 | 2004-06-22 Alan Modra <amodra@bigpond.net.au> |
478 | ||
ba2685cc AM |
479 | * readelf.c (Elf32_Word): Delete. |
480 | (get_32bit_dynamic_section): Handle SGI ELF dynamic segment. | |
481 | (get_64bit_dynamic_section): Likewise. | |
482 | ||
483 | * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry. | |
484 | (get_64bit_dynamic_section): Likewise. | |
485 | ||
86dba8ee AM |
486 | * readelf.c (dynamic_nent): New variable. |
487 | (get_32bit_dynamic_section): Set it. | |
488 | (get_64bit_dynamic_section): Here too. | |
489 | (process_dynamic_section): Use it instead of dynamic_size. | |
490 | (process_syminfo): Likewise. | |
491 | ||
fb514b26 AM |
492 | * readelf.c (get_32bit_dynamic_section): Correct number of entries |
493 | translated from external to internal form. | |
494 | (get_64bit_dynamic_section): Likewise. | |
495 | ||
b2d38a17 NC |
496 | 2004-06-18 Jie Zhang <zhangjie@magima.com.cn> |
497 | ||
498 | * readelf.c (process_program_headers): When locating the dynamic | |
499 | section use the section table if it is present. | |
500 | (dynamic_segment): Renamed to dynamic_section. | |
501 | Replace references to dynamic segment with references to dynamic | |
502 | section, except where appropriate. | |
503 | (dynamic_segment_mips_val): Rename to dynamic_section_mips_val. | |
504 | (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val. | |
505 | (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val. | |
506 | (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section. | |
507 | Remove tag counting code as it is no longer needed. | |
508 | (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section. | |
509 | Remove tag counting code as it is no longer needed. | |
510 | (process_dynamic_segment): Rename to process_dynamic_section. | |
eea6121a | 511 | |
135dfb4a AM |
512 | 2004-06-15 Alan Modra <amodra@bigpond.net.au> |
513 | ||
514 | * objcopy.c (copy_section): Use bfd_get_section_size instead of | |
515 | _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done. | |
516 | (compare_section_lma): Likewise. | |
517 | * addr2line.c (find_address_in_section): Likewise. | |
518 | * coffgrok.c (do_sections_p1): Likewise. | |
519 | * dlltool.c (scan_drectve_symbols): Likewise. | |
520 | * nlmconv.c (main): Likewise. | |
521 | (copy_sections): Likewise. | |
522 | (powerpc_mangle_relocs): Likewise. | |
523 | * objdump.c (disassemble_section): Likewise. | |
524 | * prdbg.c (find_address_in_section): Likewise. | |
525 | * size.c (berkeley_sum): Likewise. | |
526 | * srconv.c (wr_ob): Likewise. | |
527 | * strings.c (strings_a_section): Likewise. | |
528 | ||
90e01f86 ILT |
529 | 2004-05-28 Ian Lance Taylor <ian@wasabisystems.com> |
530 | ||
531 | * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT. | |
532 | ||
80fccad2 BW |
533 | 2004-05-17 David Heine <dlheine@tensilica.com> |
534 | ||
eea6121a | 535 | * objcopy.c (setup_bfd_headers): New function. |
80fccad2 BW |
536 | (copy_object): Call setup_bfd_headers. |
537 | ||
0da76f83 NC |
538 | 2004-05-13 Paul Brook <paul@codesourcery.com> |
539 | ||
540 | * readelf.c (display_debug_frames): Handle dwarf3 format CIE | |
541 | entries. | |
542 | ||
9598fbe5 NC |
543 | 2004-05-13 Nick Clifton <nickc@redhat.com> |
544 | ||
545 | * po/fr.po: Updated French translation. | |
546 | ||
8c37241b JJ |
547 | 2004-05-11 Jakub Jelinek <jakub@redhat.com> |
548 | ||
549 | * readelf.c (get_segment_type): Handle PT_GNU_RELRO. | |
550 | ||
e4b17d5c L |
551 | 2004-05-07 H.J. Lu <hongjiu.lu@intel.com> |
552 | ||
553 | * readelf.c (section_groups): New. | |
554 | (group_count): New. | |
555 | (section_headers_groups): New. | |
556 | (process_section_groups): Populate group_count, section_groups | |
557 | and section_headers_groups. | |
558 | (process_unwind): Support section group. | |
559 | (process_object): Always call process_section_groups. Free | |
560 | section_groups and section_headers_groups. | |
561 | ||
f2da459f L |
562 | 2004-04-30 H.J. Lu <hongjiu.lu@intel.com> |
563 | ||
564 | * readelf.c (process_section_headers): Use %3lu on sh_info. | |
565 | ||
f8935895 NC |
566 | 2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net> |
567 | ||
568 | * ranlib.sh: Quote $1 argument in case it contains spaces. | |
569 | ||
570 | 2004-04-27 John Paul Wallington <jpw@gnu.org> | |
a95b5cf9 AM |
571 | |
572 | * objcopy.c (copy_usage, strip_usage): Fix spelling. | |
573 | ||
f5842774 L |
574 | 2004-04-26 H.J. Lu <hongjiu.lu@intel.com> |
575 | ||
576 | * readelf.c (do_section_groups): New. | |
577 | (options): Add --section-groups/-g. | |
578 | (usage): Mention --section-groups/-g. | |
579 | (parse_args): Support --section-groups/-g. | |
580 | (get_group_flags): New. | |
581 | (process_section_groups): New. | |
582 | (process_object): Call process_section_groups. | |
583 | ||
46212538 AM |
584 | 2004-04-24 Alan Modra <amodra@bigpond.net.au> |
585 | ||
586 | * objdump.c (disassemble_section): Don't disassemble sections | |
587 | without SEC_HAS_CONTENTS. | |
588 | ||
4c45e5c9 JJ |
589 | 2004-04-22 Jakub Jelinek <jakub@redhat.com> |
590 | ||
591 | * objdump.c (synthsyms, synthcount): New variables. | |
592 | (disassemble_data): Use dynsyms for stripped binaries or libraries. | |
593 | Add synthetized symbols. | |
594 | (dump_bfd): For disassemble, initialize dynsyms always and | |
595 | also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count | |
596 | before returning. | |
597 | ||
e9f87780 AM |
598 | 2004-04-14 Alan Modra <amodra@bigpond.net.au> |
599 | ||
600 | * strings.c (print_strings): Cast file_off to unsigned long in | |
601 | printf arg list. | |
602 | ||
1ba93119 AM |
603 | 2004-04-07 Benjamin Monate <benjamin.monate@cea.fr> |
604 | ||
605 | PR 86 | |
606 | * arsup.c (ar_save): Use smart_rename. | |
607 | ||
935a41f5 NC |
608 | 2004-04-01 Dean Luick <luick@cray.com> |
609 | ||
610 | * readelf.c (display_debug_pubnames): Align offset and data | |
611 | columns. | |
612 | (read_and_display_attr_value): Add missing break; | |
613 | (debug_displays): Enable the display of the .debug_pubtypes | |
614 | section. | |
615 | ||
92e25cf8 SS |
616 | 2004-03-30 Stan Shebs <shebs@apple.com> |
617 | ||
618 | * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW | |
619 | support files, no longer used. | |
620 | ||
d507cf36 PB |
621 | 2004-03-23 Paul Brook <paul@codesourcery.com> |
622 | ||
623 | * readelf.c (decode_ARM_machine_flags): Add EABI v3. | |
624 | ||
8c9a9879 RH |
625 | 2004-03-21 Richard Henderson <rth@redhat.com> |
626 | ||
627 | * readelf.c (display_debug_frames): Don't crash for mismatched | |
628 | DW_CFA_restore_state. | |
629 | ||
6ece5c52 AM |
630 | 2004-03-19 Alan Modra <amodra@bigpond.net.au> |
631 | ||
632 | * Makefile.am: Run "make dep-am". | |
633 | * Makefile.in: Regenerate. | |
634 | * aclocal.m4: Regenerate. | |
635 | * config.in: Regenerate. | |
636 | * configure: Regenerate. | |
637 | * po/binutils.pot: Regenerate. | |
638 | ||
6f104306 NS |
639 | 2004-03-15 Nathan Sidwell <nathan@codesourcery.com> |
640 | ||
641 | * objdump.c (struct SFILE): Replace current pointer with pos | |
642 | offset, rename size to alloc. | |
643 | (objdump_sprintf): Avoid unnecessary copies in the common case | |
644 | (disassemble_bytes): Keep sfile live throughout the | |
645 | function. Adjust usage appropriately. | |
646 | ||
523f6a27 BE |
647 | 2004-03-10 Ben Elliston <bje@gnu.org> |
648 | ||
649 | * MAINTAINERS: Update my mail address. | |
650 | ||
7aa52b1f NC |
651 | 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net> |
652 | ||
653 | * deflex.l: Handle "PRIVATE" string. | |
654 | * defparse.y (%token): Add PRIVATE. | |
655 | (%type): Add opt_PRIVATE. | |
656 | (expline): Pass opt_PRIVATE to def_exports. | |
657 | (opt_PRIVATE): Handle PRIVATE token. | |
658 | * dlltool.h (def_exports): Add 7th param for private flag to | |
659 | declaration. | |
660 | * dlltool.c: Add PRIVATE to comment on EXPORTS syntax. | |
661 | (struct export): Add 'private' field. | |
662 | (def_exports): Set 'private' field of struct exports. | |
663 | (scan_drectve_symbols): Adjust calls to def_exports. | |
664 | (scan_filtered_symbols): Likewise. | |
665 | (dump_def_info): Print 'private' field. | |
666 | (gen_def_file): Likewise. | |
667 | (gen_lib_file): Skip generation of lib object if private. | |
668 | Delete tmp object files in same order as they were generated. | |
669 | Don't delete non-existent private object files. | |
670 | ||
af865222 AS |
671 | 2004-02-27 Andreas Schwab <schwab@suse.de> |
672 | ||
673 | * ar.c (main): Support POSIX-compatible argument parsing. | |
674 | ||
c7e7ca54 NC |
675 | 2004-02-23 Daniel Lucq <daniel@lucq.org> |
676 | ||
677 | * readelf.c (process_mips_specific): Print conflictsno as an | |
678 | unsigned long. | |
679 | ||
eff21b8e CF |
680 | 2004-02-21 Dmitry Timoshkov <dmitry@baikal.ru> |
681 | ||
682 | * dlltool.c (gen_exp_file): Always output names for forwarded symbols. | |
683 | ||
2f01ffbf JJ |
684 | 2004-02-19 Jakub Jelinek <jakub@redhat.com> |
685 | ||
686 | * objcopy.c (copy_section): Avoid warnings. | |
687 | ||
c92c35e7 AC |
688 | 2004-02-14 Andrew Cagney <cagney@redhat.com> |
689 | ||
690 | * ar.c (remove_output): Use bfd_cache_close. | |
691 | * arsup.c (ar_end): Ditto. | |
692 | ||
9d241085 RM |
693 | 2004-01-21 Roland McGrath <roland@redhat.com> |
694 | ||
695 | * readelf.c (get_note_type): Match NT_AUXV. | |
696 | ||
d99e9f4d NC |
697 | 2004-01-20 Nick Clifton <nickc@redhat.com> |
698 | ||
699 | * version.c (print_version): Update copyright year to 2004. | |
700 | ||
f8b73030 MR |
701 | 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
702 | ||
703 | * acinclude.m4: Quote names of macros to be defined by AC_DEFUN | |
704 | throughout. | |
705 | * aclocal.m4: Regenerate. | |
706 | * configure: Regenerate. | |
707 | ||
f0312d39 JJ |
708 | 2004-01-12 Jakub Jelinek <jakub@redhat.com> |
709 | ||
710 | * objcopy.c: Include elf-bfd.h. | |
711 | (is_strip_section): Don't strip debugging sections if | |
712 | STRIP_NONDEBUG. | |
713 | (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections | |
714 | ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS. | |
715 | ||
716 | * objcopy.c (copy_section): Free relpp if relcount == 0. | |
717 | ||
041821e6 ILT |
718 | 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com> |
719 | ||
720 | * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names. | |
721 | (stab_demangle_argtypes): Likewise. | |
722 | (stab_demangle_v3_argtypes): New static function. | |
723 | (stab_demangle_v3_arg): New static function. | |
724 | ||
950d48e7 NC |
725 | 2004-01-12 Nick Clifton <nickc@redhat.com> |
726 | ||
727 | * objcopy.c (copy_object): Make the function boolean, returning | |
728 | FALSE upon failure. | |
eea6121a AM |
729 | (copy_archive): Handle the return value from copy_object. |
730 | (copy_file): Likewise. | |
950d48e7 | 731 | |
d9296b18 NC |
732 | 2004-01-07 Nick Clifton <nickc@redhat.com> |
733 | ||
734 | * readelf.c (find_section): New function. Locates a named | |
735 | section. | |
736 | (get_debug_line_pointer_sizes): New function: Initialises the | |
737 | debug_line_pointer_sizes array. | |
eea6121a AM |
738 | (display_debug_lines): Call get_debug_line_pointer_sizes. |
739 | (display_debug_loc): Likewise. | |
740 | (load_debug_loc): Use find_section. | |
741 | (load_debug_str): Likewise. | |
742 | (display_debug_info): Likewise. | |
743 | (prescan_debug_info): Delete. | |
744 | (debug_displays): Remove prescan field. | |
745 | (process_section_contents): Do not perform prescans. | |
d9296b18 | 746 | |
5e675b72 AM |
747 | 2004-01-03 Alan Modra <amodra@bigpond.net.au> |
748 | ||
749 | * objcopy.c (filter_bytes): Delete. Move code to.. | |
750 | (copy_section): ..here. Simplify size adjustment. Divide | |
751 | section lma by interleave. | |
752 | ||
f0660b73 NC |
753 | 2004-01-02 Nick Clifton <nickc@redhat.com> |
754 | ||
755 | * po/ru.po: New file: Russian translation. | |
756 | * configure.in (ALL_LINGUAS): Add ru | |
757 | * configure: Regenerate. | |
eb18fd22 | 758 | |
c9e214e5 | 759 | For older changes see ChangeLog-0203 |
252b5132 RH |
760 | \f |
761 | Local Variables: | |
762 | mode: change-log | |
763 | left-margin: 8 | |
764 | fill-column: 74 | |
765 | version-control: never | |
766 | End: |