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