]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - binutils/ChangeLog
Add support for Score target.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
1 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
2
3 * readelf.c: Add support for Score binaries.
4 * Makefile.am: Update readelf's dependencies.
5 * Makefile.in: Regenerate.
6
7 2006-09-16 Nick Clifton <nickc@redhat.com>
8 Pedro Alves <pedro_alves@portugalmail.pt>
9
10 * ar.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
11 macros defined in bfd.h.
12 * dlltool.c: Likewise.
13 * emul_aix.c: Likewise.
14 * nlmconv.c: Likewise.
15 * objdump.c: Likewise.
16 * prdbg.c: Likewise.
17 * stabs.c: Likewise.
18 * readelf.c (const_strneq): New macro.
19 (process_section_headers, slurp_ia64_unwind_table,
20 slurp_hppa_unwind_table, display_debug_section, process_notes,
21 process_archive): Use the new macro.
22
23 2006-09-14 H.J. Lu <hongjiu.lu@intel.com>
24
25 PR binutils/3181
26 * objcopy.c (group_signature): Return proper group signature.
27
28 2006-09-14 Alan Modra <amodra@bigpond.net.au>
29
30 PR 3181
31 * objcopy.c (group_signature): New function, split out from..
32 (setup_section): ..here.
33 (is_strip_section): Return true for SHT_GROUP sections that are
34 going to lose their group signature symbol.
35
36 2006-09-14 Alan Modra <amodra@bigpond.net.au>
37
38 PR 3181
39 * objcopy.c (copy_object): Load symbols earlier.
40 (setup_section): Mark group signature symbols with BSF_KEEP.
41
42 2006-09-09 Nick Clifton <nickc@redhat.com>
43
44 PR binutils/3110
45 * objcopy.c (copy_archive): Add new parameter:
46 force_output_target. If not true, then perserve the file formats
47 of each copied archive element, otherwise force them to be one
48 specific file format.
49 (copy_file): Compute force_output_target parameter to pass to
50 copy_archive.
51
52 2006-09-05 Nick Clifton <nickc@redhat.com>
53
54 PR binutils/3166
55 * objcopy.c (is_strip_section): Do not treat group sections as
56 debugging sections.
57 * doc/binutils.texi (--only-keep-debug): Document that this switch
58 is only intended for use on fully linked files.
59
60 2006-09-01 Nick Clifton <nickc@redhat.com>
61
62 PR binutils/3146
63 * readelf.c (dump_relocations): Check for a NULL value in rtype
64 before using it.
65
66 2006-08-21 Pedro Alves <pedro_alves@portugalmail.pt>
67
68 * configure.in: Split arm-pe and arm-wince-pe. Build dlltool
69 with -DDLLTOOL_ARM_WINCE for Windows CE case.
70 * configure: Regenerate.
71 * dlltool.c: Add support for arm-wince.
72
73 2006-08-15 Nick Clifton <nickc@redhat.com>
74
75 PR binutils/3039
76 * wrstabs.c (stab_tag_type): Initialize 'size'.
77
78 2006-08-10 J"orn Rennecke <joern.rennecke@st.com>
79
80 PR binutils/3017
81 * doc/Makefile.am: Use single quotes inside backquotes for
82 date command while generating config.texi.
83 * doc/Makefile.in: Regenerate.
84
85 2006-08-08 Nick Clifton <nickc@redhat.com>
86
87 PR binutils/2768
88 * dwarf.c (display_debug_aranges): When the address size is
89 greater than 4 display addresses and lengths as 16 hex digits,
90 otherwise use 8 hex digits.
91
92 2006-08-06 Nick Clifton <nickc@redhat.com>
93
94 PR binutils/3001
95 * addr2line.c (process_file): Change function from void to
96 returning an int. Return 0 upon success, 1 otherwise.
97 (main): Use return value from process_file as the exit value.
98 * ar.c (ranlib_only): Change function from void to returning an
99 int. Return 0 upon success, 1 otherwise.
100 (ranlib_touch): Likewise.
101 (main): Use return value from ranlib functions as exit value.
102 * objcopy.c (add_specific_symbol): Set status to 1 if get_file_size
103 fails.
104 (copy_file): Likewise.
105 (strip_main): Likewise.
106 (copy_main): Likewise.
107 * objdump.c (display_file): Set exit_status to 1 if get_file_size
108 fails.
109 * size.c (display_file): Set return_code to 1 if get_file_size
110 fails.
111
112 2006-08-02 Thiemo Seufer <ths@mips.com>
113 Nigel Stephens <nigel@mips.com>
114
115 * readelf.c (dump_relocations): Handle MIPS-specific
116 SHN_MIPS_SCOMMON and SHN_MIPS_SUNDEFINED.
117 (get_symbol_index_type): Similarly.
118
119 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
120
121 * doc/binutils.texinfo: Fix spelling mistakes.
122
123 2006-07-10 Jakub Jelinek <jakub@redhat.com>
124
125 * readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
126 (get_section_type_name): Handle SHT_GNU_HASH.
127 (dynamic_info_DT_GNU_HASH): New variable.
128 (process_dynamic_section): Handle DT_GNU_HASH.
129 (process_symbol_table): Print also DT_GNU_HASH histogram.
130
131 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
132
133 PR binutils/2879
134 * doc/binutils.texi (Strings): Document -T shorthand for --target
135 switch.
136 * strings.c: Update comment to include -T option.
137
138 PR binutils/2875
139 * doc/binutils.texi (readelf): Fix spelling typo.
140
141 2006-06-30 Nick Clifton <nickc@redhat.com>
142
143 * dwarf.c (display_debug_frames): Catch a corrupt length field
144 generating an end of block address that is beyond the end of the
145 section.
146 When encountering a corrupt CIE pointer do not reset the start
147 pointer as more data still has to be read.
148 Do not warn about user defined call frame instructions.
149
150 2006-06-29 DJ Delorie <dj@redhat.com>
151
152 * readelf.c (process_section_headers): Add H8/300 support.
153
154 2006-06-23 Richard Sandiford <richard@codesourcery.com>
155
156 * objcopy.c (localize_hidden): New variable.
157 (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
158 (copy_options): Add --localize-hidden.
159 (copy_usage): Mention --localize-hidden.
160 (is_hidden_symbol): New function.
161 (filter_symbols): Handle localize_hidden.
162 (copy_object): Call filter_symbols if localize_hidden.
163 (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
164 * doc/binutils.texi (--localize-hidden): Document new option.
165
166 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
167
168 * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
169 (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
170 * Makefile.in: Regenerate.
171
172 2006-06-23 Alan Modra <amodra@bigpond.net.au>
173
174 * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
175 * Makefile.in: Regenerate.
176
177 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
178
179 * po/Make-in (pdf, ps): New dummy targets.
180
181 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
182
183 * po/Make-in (top_builddir): Define.
184
185 2006-06-05 Alan Modra <amodra@bigpond.net.au>
186
187 * config.in: Regenerate.
188
189 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
190
191 * doc/Makefile.am (TEXI2DVI): Define.
192 * doc/Makefile.in: Regenerate.
193
194 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
195
196 * Makefile.am: Replace INTLLIBS with LIBINTL everywhere. Add
197 DEPENDENCIES variables for every program.
198 (INTLLIBS): Remove.
199 (INCLUDES): Use @INCINTL@.
200 * acinclude.m4: Include new gettext macros.
201 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
202 Remove local code for po/Makefile.
203 * Makefile.in, configure, doc/Makefile.in: Regenerated.
204
205 2006-05-30 Nick Clifton <nickc@redhat.com>
206
207 * po/es.po: Updated Spanish translation.
208
209 2006-05-25 J"orn Rennecke <joern.rennecke@st.com>
210
211 * MAINTAINERS: Update my email address.
212
213 2006-05-24 Nick Clifton <nickc@redhat.com>
214
215 * po/fr.po: Updated French translation.
216
217 2006-05-23 Nick Clifton <nickc@redhat.com>
218
219 * po/vi.po: Updated Vietnamese translation.
220
221 2006-05-22 Daniel Jacobowitz <dan@codesourcery.com>
222
223 * po/ru.po: Updated translation.
224
225 2006-05-19 Andreas Schwab <schwab@suse.de>
226
227 * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
228 (ar.1): Likewise.
229 (dlltool.1): Likewise.
230 (nlmconv.1): Likewise.
231 (nm.1): Likewise.
232 (objcopy.1): Likewise.
233 (objdump.1): Likewise.
234 (ranlib.1): Likewise.
235 (readelf.1): Likewise.
236 (size.1): Likewise.
237 (strings.1): Likewise.
238 (strip.1): Likewise.
239 (windres.1): Likewise.
240 (cxxfilt.man): Likewise.
241 * doc/Makefile.in: Regenerated.
242
243 2006-05-17 Carlos O'Donell <carlos@codesourcery.com>
244
245 * doc/binutils.texi: Use "Binutils Index" for index name.
246
247 2006-05-15 H.J. Lu <hongjiu.lu@intel.com>
248
249 * dwarf.c (display_debug_frames): Don't return on ZERO
250 terminator.
251
252 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
253
254 * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
255 (TEXI2POD): Use AM_MAKEINFOFLAGS.
256 (config.texi): Don't set top_srcdir.
257 * doc/binutils.texi: Don't use top_srcdir.
258 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
259
260 2006-04-26 Julian Brown <julian@codesourcery.com>
261
262 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
263
264 2006-04-19 Alan Modra <amodra@bigpond.net.au>
265
266 * Makefile.am: Run "make dep-am".
267 * Makefile.in: Regenerate.
268
269 2006-04-19 Alan Modra <amodra@bigpond.net.au>
270
271 * configure: Regenerate.
272
273 2006-04-18 Nick Clifton <nickc@redhat.com>
274
275 PR 2257
276 * readelf.c (SECTION_NAME): Cope with a missing string table.
277 (process_file_header): Cope with a corrupt e_shstrndx field.
278 (process_section_headers): Correctly handle an e_shstrndx value of
279 SHF_UNDEF.
280
281 2006-04-12 Nick Clifton <nickc@redhat.com>
282
283 * objdump.c (objdump_symbol_at_address): Fix typo in comment.
284
285 2006-04-10 Ben Elliston <bje@gnu.org>
286
287 * MAINTAINERS (CGEN Maintainers): Remove myself.
288
289 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
290
291 * po/Make-in: Add install-html target.
292 * Makefile.am: Add install-html and install-html-recursive targets.
293 * Makefile.in: Regenerate.
294 * configure.in: AC_SUBST datarootdir, docdir and htmldir.
295 * configure: Regenerate.
296 * doc/Makefile.am: Add install-html and install-html-am targets.
297 * doc/Makefile.in: Regenerate.
298
299 2006-04-05 Eric Botcazou <ebotcazou@adacore.com>
300
301 * addr2line.c (long_options): Add new option 'section'.
302 (usage): Document new -j/--section option.
303 (find_offset_in_section): New function.
304 (translate_addresses): Add 'section' parameter.
305 If it is non-null, call find_offset_in_section on it.
306 (process_file): Add 'section_name' parameter.
307 If it is non-null, look for the section in the BFD object.
308 Pass the section to translate_addresses.
309 (main): Handle new -j option.
310 Pass the section name to process_file.
311 * doc/binutils.texi (addr2line): Document new -j/--section option.
312
313 2006-03-29 Ben Elliston <bje@au.ibm.com>
314
315 * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
316
317 2006-03-20 Nathan Sidwell <nathan@codesourcery.com>
318
319 * BRANCHES: Remove binutils-csl-arm-2006q1-branch. Document
320 binutils-csl-2_17-branch instead.
321
322 2006-03-20 Paul Brook <paul@codesourcery.com>
323
324 * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
325
326 2006-03-16 Alan Modra <amodra@bigpond.net.au>
327
328 PR 2434
329 * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
330 * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
331
332 2006-03-13 Ben Elliston <bje@au.ibm.com>
333
334 * bucomm.c (display_target_list): Make local variable `a' to be of
335 type enum bfd_architecture. Thus no need to cast enums to int.
336 (display_info_table): Likewise.
337
338 2006-03-10 Paul Brook <paul@codesourcery.com>
339
340 * readelf.c (decode_ARM_machine_flags): Handle EABIv5.
341
342 2006-03-10 Alan Modra <amodra@bigpond.net.au>
343
344 * dwarf.c (process_extended_line_op): Remove pointer_size param.
345 Use length instead to determine address size.
346 (get_pointer_size_and_offset_of_comp_unit): Delete.
347 (display_debug_lines): Adjust for above.
348 (display_debug_aranges): Don't stop on finding two zeros.
349 (display_debug_frames): For warning, print offset not pointer.
350
351 2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
352
353 * dlltool.c: Update copyright year.
354 * doc/binutils.texi: Likewise.
355
356 2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
357
358 * dlltool.c (add_stdcall_underscore): New flag.
359 (xlate): Also add underscore to stdcall symbol if
360 add_stdcall_underscore set.
361 (usage): Document --add-stdcall-underscore option.
362 (OPTION_ADD_STDCALL_UNDERSCORE): New define.
363 (long_options): Use it for --add-stdcall-underscore option.
364 (main): Handle it.
365 * doc/binutils.texi: Document --add-stdcall-underscore option
366 and differentiate from --add-underscore.
367
368 2006-03-06 Nathan Sidwell <nathan@codesourcery.com>
369
370 * readelf.c (get_machine_flags): Adjust.
371
372 2006-03-03 Jakub Jelinek <jakub@redhat.com>
373
374 * dwarf.c (frame_display_row, display_debug_frames): Handle
375 DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
376
377 2006-02-28 Nick Clifton <nickc@redhat.com>
378
379 * objcopy.c (use_alt_mach_code): Change type to unsigned long.
380 (copy_object): If bfd_alt_mach_code fails emit a more helpful
381 message and if the target architecture is ELF use the alternative
382 as replacement value for the e_machine number.
383 (copy_main): Use strtoul to parse the number provided with the
384 --alt-mach-code switch.
385 * doc/binutils.texi (--alt-mach-code): Document that this switch
386 can now set the absolute e_machine value.
387
388 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
389
390 * po/Make-in: Add html target.
391
392 2006-02-17 Nick Hudson <nick.hudson@dsl.pipex.com>
393
394 * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
395
396 2006-02-14 Jakub Jelinek <jakub@redhat.com>
397
398 * config.in: Rebuilt.
399
400 2006-02-10 H.J. Lu <hongjiu.lu@intel.com>
401
402 PR binutils/2258
403 * readelf.c (process_program_headers): Use
404 ELF_IS_SECTION_IN_SEGMENT_MEMORY.
405
406 2006-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
407
408 * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
409 * configure: Regenerate.
410 * objdump.c (fprintf): Remove declaration.
411 * bucomm.h (fprintf): Declare if not already declared.
412 (snprintf): Likewise.
413 (vsnprintf): Likewise.
414
415 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
416
417 * readelf.c (process_program_headers): Match PT_TLS segment
418 only with SHT_TLS sections.
419
420 2006-02-07 Nathan Sidwell <nathan@codesourcery.com>
421
422 * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
423
424 2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
425
426 * readelf.c (process_program_headers): Undo the last change.
427
428 2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
429
430 * readelf.c (process_program_headers): Undo the change made on
431 2004-09-22. Match PT_DYNAMIC segment only with SHT_DYNAMIC
432 sections.
433
434 2006-01-30 Nick Clifton <nickc@redhat.com>
435
436 * objcopy.c (copy_object): Catch the case where an attempt is made
437 to add a section that already exists and produce a more helpful
438 warning message.
439
440 2006-01-26 Nick Clifton <nickc@redhat.com>
441
442 * po/vi.po: New Vietnamese translation.
443 * configure.in (ALL_LINGUAS): Add vi.
444 * configure: Regenerate.
445
446 2006-01-18 Alexandre Oliva <aoliva@redhat.com>
447
448 Introduce TLS descriptors for i386 and x86_64.
449 * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
450 DT_TLSDESC_PLT.
451
452 2006-01-18 Nick Clifton <nickc@redhat.com>
453
454 PR binutils/1391
455 * objcopy.c (copy_object): For PE format targets set the VMA of a
456 newly created gnu_debuglink section to a non-zero, aligned,
457 contiguous value.
458 * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
459 * Makefile.in: Regenerate.
460
461 2006-01-17 Andreas Schwab <schwab@suse.de>
462
463 PR binutils/1486
464 * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
465 * configure: Regenerate.
466 * objdump.c (struct objdump_disasm_info): Don't check for
467 DISASSEMBLER_NEEDS_RELOCS.
468 (objdump_print_addr): Likewise.
469 (disassemble_bytes): Check disassembler_needs_relocs from
470 disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
471 at compile-time.
472 (disassemble_section): Likewise.
473 (disassemble_data): Initialize it.
474
475 2006-01-11 Alan Modra <amodra@bigpond.net.au>
476
477 * objcopy.c (copy_object): Fix thinko.
478
479 * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
480
481 2006-01-09 Mike Frysinger <vapier@gentoo.org>:
482
483 * readelf.c (guess_is_rela): Add case for Nios/Nios II.
484 (get_machine_name): Likewise.
485
486 For older changes see ChangeLog-2005
487 \f
488 Local Variables:
489 mode: change-log
490 left-margin: 8
491 fill-column: 74
492 version-control: never
493 End: