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