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