60c7f8ac7fddc6b282fa59bd0288048e814d929d
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2009-04-29 Alan Modra <amodra@bigpond.net.au>
2 Denis Scherbakov <denis_scherbakov@yahoo.com>
3
4 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
5 read, and merge with 32-bit case.
6
7 2009-04-27 Anthony Green <green@moxielogic.com>
8
9 * NEWS: Mention verilog support added to bfd.
10
11 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
12
13 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
14 parameters.
15
16 2009-04-24 Cary Coutant <ccoutant@google.com>
17
18 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
19 Add missing newlines to HP extensions.
20
21 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
22
23 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
24 * doc/binutils.texi: Likewise.
25
26 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
27
28 PR binutils/10074
29 * objcopy.c: Include coff/i386.h and coff/pe.h.
30 (pe_file_alignment): New.
31 (pe_heap_commit): Likewise.
32 (pe_heap_reserve): Likewise.
33 (pe_image_base): Likewise.
34 (pe_section_alignment): Likewise.
35 (pe_stack_commit): Likewise.
36 (pe_stack_reserve): Likewise.
37 (pe_subsystem): Likewise.
38 (pe_major_subsystem_version): Likewise.
39 (pe_minor_subsystem_version): Likewise.
40 (set_pe_subsystem): Likewise.
41 (convert_efi_target): Likewise.
42 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
43 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
44 OPTION_STACK and OPTION_SUBSYSTEM.
45 (copy_options): Likewise.
46 (copy_usage): Add --file-alignment, --heap, --image-base,
47 --section-alignment, --stack and --subsystem.
48 (copy_object): Set up PE parameters.
49 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
50 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
51 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
52 PEI target.
53
54 * NEWS: Mention --file-alignment, --heap, --image-base,
55 --section-alignment, --stack and --subsystem command line
56 options for objcopy.
57
58 * doc/binutils.texi: Document --file-alignment, --heap,
59 --image-base, --section-alignment, --stack and --subsystem
60 command line options for objcopy.
61
62 2009-04-15 Anthony Green <green@moxielogic.com>
63
64 * MAINTAINERS: Add myself as Moxie port maintainer.
65
66 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
67
68 * objcopy.c (enum long_section_name_handling): New enum type.
69 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
70 (copy_options[]): Add entry for --long-section-names option.
71 (copy_usage): Document it.
72 (set_long_section_mode): New subroutine.
73 (copy_file): Call it.
74 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
75 * doc/binutils.texi: Update objcopy documentation with details
76 of new option.
77
78 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
79
80 * dlltool.c (set_dll_name_from_def): Accept new second arg that
81 indicates if we are building DLL or EXE, and use it to add a
82 default suffix to the output filename when none is already present.
83 (def_name): Indicate we are building an EXE when calling it.
84 (def_library): Indicate we are building a DLL when calling it.
85
86 2009-04-01 Jari Aalto <jari.aalto@cante.net>
87
88 PR 9972
89 * doc/binutils.texi (strings): Document the -V alias for the
90 --version option.
91 * strings.c (usage): Likewise.
92
93 2009-03-31 Nick Clifton <nickc@redhat.com>
94
95 PR 9992
96 * configure.in: Import Solaris specific largefile test from
97 bfd/configure.in.
98 * configure: Regenerate.
99
100 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
101
102 * MAINTAINERS: Add self.
103
104 2009-03-27 Nick Clifton <nickc@redhat.com>
105
106 * dwarf.c (display_debug_ranges): Add the base address to the
107 displayed values for 'Begin' and 'End'.
108
109 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
110
111 * readelf.c (process_file_header): Don't report a corrupt string
112 table index if it is zero.
113
114 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
115
116 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
117 (dwarf_regnames_count): Likewise.
118 (frame_need_space): Return int.
119 (display_debug_frames): Check invalid registers.
120
121 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
122
123 * readelf.c (debug_apply_relocations): Check relocations
124 against STT_SECTION symbol.
125
126 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
127
128 * readelf.c (debug_apply_relocations): Allow relocations
129 against function symbols.
130
131 2009-03-18 Alan Modra <amodra@bigpond.net.au>
132
133 * sysdep.h: Include alloca-conf.h instead of config.h and remove
134 existing #if's handling alloca.
135 * Makefile.am: Run "make dep-am".
136 * Makefile.in: Regenerate.
137
138 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
139
140 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
141 * configure.in: Likewise.
142 * configure: Regenerate.
143
144 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
145
146 PR binutils/9945
147 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
148
149 2009-03-11 Chris Demetriou <cgd@google.com>
150
151 * ar.c (deterministic): New global variable.
152 (main): Recognize new 'D' option, which enables 'deterministic mode'.
153 (usage): Document new 'D' option.
154 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
155 flags if deterministic mode was requested.
156 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
157
158 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
159
160 PR binutils/9933
161 * objcopy.c (filter_symbols): Properly handle common symbols
162 in relocatable file.
163
164 2009-03-06 Nick Clifton <nickc@redhat.com>
165
166 * po/es.po: Updated Spanish translation.
167
168 2009-03-05 Nick Clifton <nickc@redhat.com>
169
170 * objdump.c (disassemble_section): If the computed next offset is
171 not beyond the current offset then just continue to the end.
172
173 2009-03-04 Tristan Gingold <gingold@adacore.com>
174
175 * MAINTAINERS: Add myself as VMS maintainer.
176
177 2009-03-03 Nick Clifton <nickc@redhat.com>
178
179 * readelf.c: Update formatting.
180
181 2009-03-03 Alan Modra <amodra@bigpond.net.au>
182
183 * Makefile.am: Run "make dep-am".
184 * Makefile.in: Regenerate.
185
186 2009-03-03 Alan Modra <amodra@bigpond.net.au>
187
188 * objdump.c (disassemble_section): Mask address before sign extending.
189
190 2009-03-02 Sebastian Biallas <sb@biallas.net>
191
192 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
193 (parse_ieee_bb): Set the filename if it has not already been
194 discovered.
195
196 2009-03-02 Cary Coutant <ccoutant@google.com>
197
198 * readelf.c (adjust_relative_path): New function.
199 (struct archive_info): New type.
200 (setup_archive): New function.
201 (release_archive): New function.
202 (setup_nested_archive): New function.
203 (get_archive_member_name): New function.
204 (get_archive_member_name_at): New function.
205 (make_qualified_name): New function.
206 (process_archive): Factor out code for reading archive index and
207 long filename table to setup_archive. Add support for thin archives.
208
209 2009-03-02 Nick Clifton <nickc@redhat.com>
210
211 * po/sk.po: Updated Slovak translation.
212
213 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
214
215 * configure: Regenerate.
216
217 2009-02-23 Cary Coutant <ccoutant@google.com>
218
219 * objdump.c (load_specific_debug_section): New function, from
220 load_debug_section.
221 (load_debug_section): Use load_specific_debug_section.
222 (dump_dwarf_section): Likewise.
223
224 2009-02-23 Cary Coutant <ccoutant@google.com>
225
226 * readelf.c (parse_args): Select all sections explicitly for -w.
227
228 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
229
230 * windres.c (set_endianess): Copy name without leading '-'.
231
232 2009-02-09 Tristan Gingold <gingold@adacore.com>
233
234 * NEWS: Mention feature match between objdump and readelf for dumping
235 dwarf info.
236
237 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
238 objdump.
239
240 * objdump.c (usage): Update documentation for -W/--dwarf.
241 (enum option_values): Add OPTION_DWARF.
242 (long_options): --dwarf can accept arguments.
243 (dump_dwarf_section): Also check enabled field.
244 (main): Option -W can accept arguments, code moved to
245 dwarf.c and call dwarf_select_sections_all instead.
246 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
247 (parse_args): Move code to...
248 * dwarf.c (dwarf_select_sections_by_letters,
249 dwarf_select_sections_by_names): : ...here (new functions).
250 (do_debug_lines_decoded): Remove and replaced by ...
251 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
252 (display_debug_lines): Adjust for previous change.
253 (dwarf_select_sections_all): New function.
254 (debug_displays): Add initializer for enabled field.
255 * dwarf.h (do_debug_lines_decoded): Remove.
256 Add prototypes for the new functions.
257 (struct dwarf_section_display): Add enabled field.
258
259 2009-02-06 Nick Clifton <nickc@redhat.com>
260
261 * po/vi.po: Updated Vietnamese translation.
262
263 2009-02-03 Sandip Matte <sandip@rmicorp.com>
264
265 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
266
267 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
268
269 * NEWS: Move --as-needed change to ...
270 * ../ld/NEWS: Here.
271
272 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
273
274 * configure.in: AC_SUBST pdfdir.
275 * Makefile.am: Add install-pdf, install-pdf-am,
276 and install-pdf-recursive targets.
277 * doc/Makefile.am: Define pdf__strip_dir. Add
278 install-pdf and install-pdf-am targets.
279 * po/Make-in: Add install-pdf target.
280 * configure: Regenerate.
281 * Makefile.in: Regenerate.
282 * doc/Makefile.in: Regenerate.
283
284 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
285
286 PR binutils/9784
287 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
288
289 * doc/binutils.texi: Document --prefix=PREFIX and
290 --prefix-strip=LEVEL.
291
292 * objdump.c: Include "filenames.h".
293 (prefix): New.
294 (prefix_strip): Likewise.
295 (prefix_length): Likewise.
296 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
297 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
298 (long_options): Likewise.
299 (show_line): Handle prefix and prefix_strip.
300 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
301
302 * readelf.c (PATH_MAX): Moved to ...
303 * sysdep.h: Here.
304
305 2009-01-31 Alan Modra <amodra@bigpond.net.au>
306
307 * NEWS: Mention --as-needed change.
308
309 2009-01-29 Alan Modra <amodra@bigpond.net.au>
310
311 PR 9798
312 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
313 (bfd_get_archive_filename): Constify param.
314 * bucomm.h (bfd_get_archive_filename): Update prototype.
315 * objcopy.c (RETURN_NONFATAL): Delete.
316 (copy_unknown_object): Don't call bfd_get_archive_filename for
317 bfd_nonfatal_message filename, instead just pass bfd.
318 (copy_object): Likewise.
319 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
320 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
321 (setup_bfd_headers): Fix error message.
322
323 2009-01-27 Nick Clifton <nickc@redhat.com>
324
325 PR 9774
326 * objdump.c (disassemble_section): When the target uses signed
327 addresses make sure that we compute signed values.
328
329 2009-01-27 Nick Clifton <nickc@redhat.com>
330
331 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
332 maintainers.
333
334 2009-01-26 Nick Clifton <nickc@redhat.com>
335
336 PR 9766
337 * dlltool.c (xlate): When strip text after the @ sign, look for
338 the last one not the first one.
339
340 2009-01-16 Alan Modra <amodra@bigpond.net.au>
341
342 * configure.in (commonbfdlib): Delete.
343 * configure: Regenerate.
344
345 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
346
347 Cleanup code related to --identify option.
348
349 * binutils/dlltool.c (file scope): Removed globals identify_ms,
350 identify_member_contains_symname_result,
351 identify_dll_name_list_head, and identify_dll_name_list_tail.
352 Renamed existing typedef dll_name_list_type to
353 dll_name_list_node_type.
354 Added new typedefs dll_name_list_type, symname_search_data_type,
355 and identify_data_type.
356 (identify_append_dll_name_to_list): Renamed to...
357 (dll_name_list_append): ...here. Changed signature to accept list
358 argument rather than use global.
359 (identify_count_dll_name_list): Renamed to...
360 (dll_name_list_count): ...here. Changed signature to accept list
361 argument rather than use global.
362 (identify_print_dll_name_list): Renamed to...
363 (dll_name_list_print): ...here. Changed signature to accept list
364 argument rather than use global.
365 (identify_free_dll_name_list): Renamed to...
366 (dll_name_list_free_contents): ...here.
367 (dll_name_list_free): New function.
368 (dll_name_list_create): New function.
369 (identify_process_section_p): Changed signature to accept
370 ms_style_implib argument rather than use global.
371 (identify_member_contains_symname): Expect incoming void * data to
372 be symname_search_data_type.
373 (identify_dll_for_implib): Use new functions dll_name_list_create
374 and dll_name_list_free. Use new types symname_search_data_type
375 and identify_data_type to communicate with search routines.
376 (identify_search_section): Expect incoming void * data to be
377 identify_data_type. Use its contents rather than global
378 variables.
379
380 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
381
382 Add --identify-strict option. Handle ms-style implibs:
383
384 * dlltool.c (file scope): Added new globals identify_ms and
385 identify_strict. New typedef dll_name_list_type, and globals
386 identify_dll_name_list_head and identify_dll_name_list_tail. Added
387 new global identify_member_contains_symname_result.
388 (identify_append_dll_name_to_list): New function.
389 (identify_count_dll_name_list): New function.
390 (identify_print_dll_name_list): New function.
391 (identify_free_dll_name_list): New function.
392 (identify_search_archive): Changed signature to take function
393 pointer to operation to apply to each member, and data to pass on
394 to that function.
395 (identify_search_member): Changed signature to accept user data
396 from caller.
397 (identify_member_contains_symname): New function.
398 (identify_dll_for_implib): Rewrite. Now determines whether implib
399 is ms- or binutils- style, before searching sections for
400 dllname. Allows multiple dllnames.
401 (identify_process_section_p): Search alternate section for dllname
402 when implib is ms-style.
403 (identify_search_section): Add additional conditions to excludes
404 candidate sections from consideration.
405 (usage): Added --identify-strict.
406 (long_options): Added --identify-strict.
407 (main): Handle --identify-strict option.
408 * doc/binutils.texi: Document --identify-strict option.
409 * NEWS: Document --identify and --identify-strict options.
410
411 2009-01-13 Alan Modra <amodra@bigpond.net.au>
412
413 PR 7034
414 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
415
416 2009-01-13 Alan Modra <amodra@bigpond.net.au>
417
418 * objdump.c (disassemble_section): Don't assume non-instruction
419 data if object symbol at given address is in different section.
420
421 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
422
423 * dlltool.c (create_for_pep): New.
424 (flush_page): Use create_for_pep instead of using
425 macro DLLTOOL_MX86_64 clause.
426 (generate_idata_ofile): Likewise.
427 (make_one_lib_file): Likewise.
428 (make_head): Likewise.
429 (make_tail): Likewise.
430 (main): Initialize create_for_pep.
431
432 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
433
434 * dlltool.c (use_nul_prefixed_import_tables): New.
435 (make_head): Make prefix leading zero prefix element for
436 idata$4 and idata$5 dependent to new flag.
437 (usage): Add new option --use-nul-prefixed-import-tables.
438 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
439 (long_options): Add --use-nul-prefixed-import-tables.
440 (main): Likewise.
441 * doc/binutils.texi: Add new option documentation for
442 --use-nul-prefixed-import-tables.
443 * NEWS: Add new option.
444
445 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
446
447 * windres.c (set_endianess): Get architecture name
448 for internal target names like "pe-arm-wince-little".
449 (find_arch_match): New helper.
450 * ChangeLog: Reset it.
451 * ChangeLog-2008: Moved old ChangeLog.
452
453 For older changes see ChangeLog-2008
454 \f
455 Local Variables:
456 mode: change-log
457 left-margin: 8
458 fill-column: 74
459 version-control: never
460 End:
This page took 0.039837 seconds and 3 git commands to generate.