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