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