1 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
3 * readelf.c (debug_apply_relocations): Check relocations
4 against STT_SECTION symbol.
6 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
8 * readelf.c (debug_apply_relocations): Allow relocations
9 against function symbols.
11 2009-03-18 Alan Modra <amodra@bigpond.net.au>
13 * sysdep.h: Include alloca-conf.h instead of config.h and remove
14 existing #if's handling alloca.
15 * Makefile.am: Run "make dep-am".
16 * Makefile.in: Regenerate.
18 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
20 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
21 * configure.in: Likewise.
22 * configure: Regenerate.
24 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
27 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
29 2009-03-11 Chris Demetriou <cgd@google.com>
31 * ar.c (deterministic): New global variable.
32 (main): Recognize new 'D' option, which enables 'deterministic mode'.
33 (usage): Document new 'D' option.
34 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
35 flags if deterministic mode was requested.
36 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
38 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
41 * objcopy.c (filter_symbols): Properly handle common symbols
44 2009-03-06 Nick Clifton <nickc@redhat.com>
46 * po/es.po: Updated Spanish translation.
48 2009-03-05 Nick Clifton <nickc@redhat.com>
50 * objdump.c (disassemble_section): If the computed next offset is
51 not beyond the current offset then just continue to the end.
53 2009-03-04 Tristan Gingold <gingold@adacore.com>
55 * MAINTAINERS: Add myself as VMS maintainer.
57 2009-03-03 Nick Clifton <nickc@redhat.com>
59 * readelf.c: Update formatting.
61 2009-03-03 Alan Modra <amodra@bigpond.net.au>
63 * Makefile.am: Run "make dep-am".
64 * Makefile.in: Regenerate.
66 2009-03-03 Alan Modra <amodra@bigpond.net.au>
68 * objdump.c (disassemble_section): Mask address before sign extending.
70 2009-03-02 Sebastian Biallas <sb@biallas.net>
72 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
73 (parse_ieee_bb): Set the filename if it has not already been
76 2009-03-02 Cary Coutant <ccoutant@google.com>
78 * readelf.c (adjust_relative_path): New function.
79 (struct archive_info): New type.
80 (setup_archive): New function.
81 (release_archive): New function.
82 (setup_nested_archive): New function.
83 (get_archive_member_name): New function.
84 (get_archive_member_name_at): New function.
85 (make_qualified_name): New function.
86 (process_archive): Factor out code for reading archive index and
87 long filename table to setup_archive. Add support for thin archives.
89 2009-03-02 Nick Clifton <nickc@redhat.com>
91 * po/sk.po: Updated Slovak translation.
93 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
95 * configure: Regenerate.
97 2009-02-23 Cary Coutant <ccoutant@google.com>
99 * objdump.c (load_specific_debug_section): New function, from
101 (load_debug_section): Use load_specific_debug_section.
102 (dump_dwarf_section): Likewise.
104 2009-02-23 Cary Coutant <ccoutant@google.com>
106 * readelf.c (parse_args): Select all sections explicitly for -w.
108 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
110 * windres.c (set_endianess): Copy name without leading '-'.
112 2009-02-09 Tristan Gingold <gingold@adacore.com>
114 * NEWS: Mention feature match between objdump and readelf for dumping
117 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
120 * objdump.c (usage): Update documentation for -W/--dwarf.
121 (enum option_values): Add OPTION_DWARF.
122 (long_options): --dwarf can accept arguments.
123 (dump_dwarf_section): Also check enabled field.
124 (main): Option -W can accept arguments, code moved to
125 dwarf.c and call dwarf_select_sections_all instead.
126 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
127 (parse_args): Move code to...
128 * dwarf.c (dwarf_select_sections_by_letters,
129 dwarf_select_sections_by_names): : ...here (new functions).
130 (do_debug_lines_decoded): Remove and replaced by ...
131 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
132 (display_debug_lines): Adjust for previous change.
133 (dwarf_select_sections_all): New function.
134 (debug_displays): Add initializer for enabled field.
135 * dwarf.h (do_debug_lines_decoded): Remove.
136 Add prototypes for the new functions.
137 (struct dwarf_section_display): Add enabled field.
139 2009-02-06 Nick Clifton <nickc@redhat.com>
141 * po/vi.po: Updated Vietnamese translation.
143 2009-02-03 Sandip Matte <sandip@rmicorp.com>
145 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
147 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
149 * NEWS: Move --as-needed change to ...
152 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
154 * configure.in: AC_SUBST pdfdir.
155 * Makefile.am: Add install-pdf, install-pdf-am,
156 and install-pdf-recursive targets.
157 * doc/Makefile.am: Define pdf__strip_dir. Add
158 install-pdf and install-pdf-am targets.
159 * po/Make-in: Add install-pdf target.
160 * configure: Regenerate.
161 * Makefile.in: Regenerate.
162 * doc/Makefile.in: Regenerate.
164 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
167 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
169 * doc/binutils.texi: Document --prefix=PREFIX and
170 --prefix-strip=LEVEL.
172 * objdump.c: Include "filenames.h".
174 (prefix_strip): Likewise.
175 (prefix_length): Likewise.
176 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
177 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
178 (long_options): Likewise.
179 (show_line): Handle prefix and prefix_strip.
180 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
182 * readelf.c (PATH_MAX): Moved to ...
185 2009-01-31 Alan Modra <amodra@bigpond.net.au>
187 * NEWS: Mention --as-needed change.
189 2009-01-29 Alan Modra <amodra@bigpond.net.au>
192 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
193 (bfd_get_archive_filename): Constify param.
194 * bucomm.h (bfd_get_archive_filename): Update prototype.
195 * objcopy.c (RETURN_NONFATAL): Delete.
196 (copy_unknown_object): Don't call bfd_get_archive_filename for
197 bfd_nonfatal_message filename, instead just pass bfd.
198 (copy_object): Likewise.
199 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
200 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
201 (setup_bfd_headers): Fix error message.
203 2009-01-27 Nick Clifton <nickc@redhat.com>
206 * objdump.c (disassemble_section): When the target uses signed
207 addresses make sure that we compute signed values.
209 2009-01-27 Nick Clifton <nickc@redhat.com>
211 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
214 2009-01-26 Nick Clifton <nickc@redhat.com>
217 * dlltool.c (xlate): When strip text after the @ sign, look for
218 the last one not the first one.
220 2009-01-16 Alan Modra <amodra@bigpond.net.au>
222 * configure.in (commonbfdlib): Delete.
223 * configure: Regenerate.
225 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
227 Cleanup code related to --identify option.
229 * binutils/dlltool.c (file scope): Removed globals identify_ms,
230 identify_member_contains_symname_result,
231 identify_dll_name_list_head, and identify_dll_name_list_tail.
232 Renamed existing typedef dll_name_list_type to
233 dll_name_list_node_type.
234 Added new typedefs dll_name_list_type, symname_search_data_type,
235 and identify_data_type.
236 (identify_append_dll_name_to_list): Renamed to...
237 (dll_name_list_append): ...here. Changed signature to accept list
238 argument rather than use global.
239 (identify_count_dll_name_list): Renamed to...
240 (dll_name_list_count): ...here. Changed signature to accept list
241 argument rather than use global.
242 (identify_print_dll_name_list): Renamed to...
243 (dll_name_list_print): ...here. Changed signature to accept list
244 argument rather than use global.
245 (identify_free_dll_name_list): Renamed to...
246 (dll_name_list_free_contents): ...here.
247 (dll_name_list_free): New function.
248 (dll_name_list_create): New function.
249 (identify_process_section_p): Changed signature to accept
250 ms_style_implib argument rather than use global.
251 (identify_member_contains_symname): Expect incoming void * data to
252 be symname_search_data_type.
253 (identify_dll_for_implib): Use new functions dll_name_list_create
254 and dll_name_list_free. Use new types symname_search_data_type
255 and identify_data_type to communicate with search routines.
256 (identify_search_section): Expect incoming void * data to be
257 identify_data_type. Use its contents rather than global
260 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
262 Add --identify-strict option. Handle ms-style implibs:
264 * dlltool.c (file scope): Added new globals identify_ms and
265 identify_strict. New typedef dll_name_list_type, and globals
266 identify_dll_name_list_head and identify_dll_name_list_tail. Added
267 new global identify_member_contains_symname_result.
268 (identify_append_dll_name_to_list): New function.
269 (identify_count_dll_name_list): New function.
270 (identify_print_dll_name_list): New function.
271 (identify_free_dll_name_list): New function.
272 (identify_search_archive): Changed signature to take function
273 pointer to operation to apply to each member, and data to pass on
275 (identify_search_member): Changed signature to accept user data
277 (identify_member_contains_symname): New function.
278 (identify_dll_for_implib): Rewrite. Now determines whether implib
279 is ms- or binutils- style, before searching sections for
280 dllname. Allows multiple dllnames.
281 (identify_process_section_p): Search alternate section for dllname
282 when implib is ms-style.
283 (identify_search_section): Add additional conditions to excludes
284 candidate sections from consideration.
285 (usage): Added --identify-strict.
286 (long_options): Added --identify-strict.
287 (main): Handle --identify-strict option.
288 * doc/binutils.texi: Document --identify-strict option.
289 * NEWS: Document --identify and --identify-strict options.
291 2009-01-13 Alan Modra <amodra@bigpond.net.au>
294 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
296 2009-01-13 Alan Modra <amodra@bigpond.net.au>
298 * objdump.c (disassemble_section): Don't assume non-instruction
299 data if object symbol at given address is in different section.
301 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
303 * dlltool.c (create_for_pep): New.
304 (flush_page): Use create_for_pep instead of using
305 macro DLLTOOL_MX86_64 clause.
306 (generate_idata_ofile): Likewise.
307 (make_one_lib_file): Likewise.
308 (make_head): Likewise.
309 (make_tail): Likewise.
310 (main): Initialize create_for_pep.
312 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
314 * dlltool.c (use_nul_prefixed_import_tables): New.
315 (make_head): Make prefix leading zero prefix element for
316 idata$4 and idata$5 dependent to new flag.
317 (usage): Add new option --use-nul-prefixed-import-tables.
318 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
319 (long_options): Add --use-nul-prefixed-import-tables.
321 * doc/binutils.texi: Add new option documentation for
322 --use-nul-prefixed-import-tables.
323 * NEWS: Add new option.
325 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
327 * windres.c (set_endianess): Get architecture name
328 for internal target names like "pe-arm-wince-little".
329 (find_arch_match): New helper.
330 * ChangeLog: Reset it.
331 * ChangeLog-2008: Moved old ChangeLog.
333 For older changes see ChangeLog-2008
339 version-control: never