3 * readelf.c: Update formatting.
7 * objdump.c (disassemble_section): Mask address before sign extending.
11 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
12 (parse_ieee_bb): Set the filename if it has not already been
17 * readelf.c (adjust_relative_path): New function.
18 (struct archive_info): New type.
19 (setup_archive): New function.
20 (release_archive): New function.
21 (setup_nested_archive): New function.
22 (get_archive_member_name): New function.
23 (get_archive_member_name_at): New function.
24 (make_qualified_name): New function.
25 (process_archive): Factor out code for reading archive index and
26 long filename table to setup_archive. Add support for thin archives.
30 * po/sk.po: Updated Slovak translation.
34 * configure: Regenerate.
38 * objdump.c (load_specific_debug_section): New function, from
40 (load_debug_section): Use load_specific_debug_section.
41 (dump_dwarf_section): Likewise.
45 * readelf.c (parse_args): Select all sections explicitly for -w.
49 * windres.c (set_endianess): Copy name without leading '-'.
53 * NEWS: Mention feature match between objdump and readelf for dumping
56 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
59 * objdump.c (usage): Update documentation for -W/--dwarf.
60 (enum option_values): Add OPTION_DWARF.
61 (long_options): --dwarf can accept arguments.
62 (dump_dwarf_section): Also check enabled field.
63 (main): Option -W can accept arguments, code moved to
64 dwarf.c and call dwarf_select_sections_all instead.
65 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
66 (parse_args): Move code to...
67 * dwarf.c (dwarf_select_sections_by_letters,
68 dwarf_select_sections_by_names): : ...here (new functions).
69 (do_debug_lines_decoded): Remove and replaced by ...
70 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
71 (display_debug_lines): Adjust for previous change.
72 (dwarf_select_sections_all): New function.
73 (debug_displays): Add initializer for enabled field.
74 * dwarf.h (do_debug_lines_decoded): Remove.
75 Add prototypes for the new functions.
76 (struct dwarf_section_display): Add enabled field.
80 * po/vi.po: Updated Vietnamese translation.
84 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
88 * NEWS: Move --as-needed change to ...
93 * configure.in: AC_SUBST pdfdir.
94 * Makefile.am: Add install-pdf, install-pdf-am,
95 and install-pdf-recursive targets.
96 * doc/Makefile.am: Define pdf__strip_dir. Add
97 install-pdf and install-pdf-am targets.
98 * po/Make-in: Add install-pdf target.
99 * configure: Regenerate.
100 * Makefile.in: Regenerate.
101 * doc/Makefile.in: Regenerate.
106 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
108 * doc/binutils.texi: Document --prefix=PREFIX and
109 --prefix-strip=LEVEL.
111 * objdump.c: Include "filenames.h".
113 (prefix_strip): Likewise.
114 (prefix_length): Likewise.
115 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
116 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
117 (long_options): Likewise.
118 (show_line): Handle prefix and prefix_strip.
119 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
121 * readelf.c (PATH_MAX): Moved to ...
126 * NEWS: Mention --as-needed change.
131 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
132 (bfd_get_archive_filename): Constify param.
133 * bucomm.h (bfd_get_archive_filename): Update prototype.
134 * objcopy.c (RETURN_NONFATAL): Delete.
135 (copy_unknown_object): Don't call bfd_get_archive_filename for
136 bfd_nonfatal_message filename, instead just pass bfd.
137 (copy_object): Likewise.
138 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
139 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
140 (setup_bfd_headers): Fix error message.
145 * objdump.c (disassemble_section): When the target uses signed
146 addresses make sure that we compute signed values.
150 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
156 * dlltool.c (xlate): When strip text after the @ sign, look for
157 the last one not the first one.
161 * configure.in (commonbfdlib): Delete.
162 * configure: Regenerate.
166 Cleanup code related to --identify option.
168 * binutils/dlltool.c (file scope): Removed globals identify_ms,
169 identify_member_contains_symname_result,
170 identify_dll_name_list_head, and identify_dll_name_list_tail.
171 Renamed existing typedef dll_name_list_type to
172 dll_name_list_node_type.
173 Added new typedefs dll_name_list_type, symname_search_data_type,
174 and identify_data_type.
175 (identify_append_dll_name_to_list): Renamed to...
176 (dll_name_list_append): ...here. Changed signature to accept list
177 argument rather than use global.
178 (identify_count_dll_name_list): Renamed to...
179 (dll_name_list_count): ...here. Changed signature to accept list
180 argument rather than use global.
181 (identify_print_dll_name_list): Renamed to...
182 (dll_name_list_print): ...here. Changed signature to accept list
183 argument rather than use global.
184 (identify_free_dll_name_list): Renamed to...
185 (dll_name_list_free_contents): ...here.
186 (dll_name_list_free): New function.
187 (dll_name_list_create): New function.
188 (identify_process_section_p): Changed signature to accept
189 ms_style_implib argument rather than use global.
190 (identify_member_contains_symname): Expect incoming void * data to
191 be symname_search_data_type.
192 (identify_dll_for_implib): Use new functions dll_name_list_create
193 and dll_name_list_free. Use new types symname_search_data_type
194 and identify_data_type to communicate with search routines.
195 (identify_search_section): Expect incoming void * data to be
196 identify_data_type. Use its contents rather than global
201 Add --identify-strict option. Handle ms-style implibs:
203 * dlltool.c (file scope): Added new globals identify_ms and
204 identify_strict. New typedef dll_name_list_type, and globals
205 identify_dll_name_list_head and identify_dll_name_list_tail. Added
206 new global identify_member_contains_symname_result.
207 (identify_append_dll_name_to_list): New function.
208 (identify_count_dll_name_list): New function.
209 (identify_print_dll_name_list): New function.
210 (identify_free_dll_name_list): New function.
211 (identify_search_archive): Changed signature to take function
212 pointer to operation to apply to each member, and data to pass on
214 (identify_search_member): Changed signature to accept user data
216 (identify_member_contains_symname): New function.
217 (identify_dll_for_implib): Rewrite. Now determines whether implib
218 is ms- or binutils- style, before searching sections for
219 dllname. Allows multiple dllnames.
220 (identify_process_section_p): Search alternate section for dllname
221 when implib is ms-style.
222 (identify_search_section): Add additional conditions to excludes
223 candidate sections from consideration.
224 (usage): Added --identify-strict.
225 (long_options): Added --identify-strict.
226 (main): Handle --identify-strict option.
227 * doc/binutils.texi: Document --identify-strict option.
228 * NEWS: Document --identify and --identify-strict options.
233 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
237 * objdump.c (disassemble_section): Don't assume non-instruction
238 data if object symbol at given address is in different section.
242 * dlltool.c (create_for_pep): New.
243 (flush_page): Use create_for_pep instead of using
244 macro DLLTOOL_MX86_64 clause.
245 (generate_idata_ofile): Likewise.
246 (make_one_lib_file): Likewise.
247 (make_head): Likewise.
248 (make_tail): Likewise.
249 (main): Initialize create_for_pep.
253 * dlltool.c (use_nul_prefixed_import_tables): New.
254 (make_head): Make prefix leading zero prefix element for
255 idata$4 and idata$5 dependent to new flag.
256 (usage): Add new option --use-nul-prefixed-import-tables.
257 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
258 (long_options): Add --use-nul-prefixed-import-tables.
260 * doc/binutils.texi: Add new option documentation for
261 --use-nul-prefixed-import-tables.
262 * NEWS: Add new option.
266 * windres.c (set_endianess): Get architecture name
267 for internal target names like "pe-arm-wince-little".
268 (find_arch_match): New helper.
269 * ChangeLog: Reset it.
270 * ChangeLog-2008: Moved old ChangeLog.
272 For older changes see ChangeLog-2008
278 version-control: never