2009-02-09 Tristan Gingold <gingold@adacore.com>
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2009-02-09 Tristan Gingold <gingold@adacore.com>
2
3 * NEWS: Mention feature match between objdump and readelf for dumping
4 dwarf info.
5
6 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
7 objdump.
8
9 * objdump.c (usage): Update documentation for -W/--dwarf.
10 (enum option_values): Add OPTION_DWARF.
11 (long_options): --dwarf can accept arguments.
12 (dump_dwarf_section): Also check enabled field.
13 (main): Option -W can accept arguments, code moved to
14 dwarf.c and call dwarf_select_sections_all instead.
15 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
16 (parse_args): Move code to...
17 * dwarf.c (dwarf_select_sections_by_letters,
18 dwarf_select_sections_by_names): : ...here (new functions).
19 (do_debug_lines_decoded): Remove and replaced by ...
20 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
21 (display_debug_lines): Adjust for previous change.
22 (dwarf_select_sections_all): New function.
23 (debug_displays): Add initializer for enabled field.
24 * dwarf.h (do_debug_lines_decoded): Remove.
25 Add prototypes for the new functions.
26 (struct dwarf_section_display): Add enabled field.
27
28 2009-02-06 Nick Clifton <nickc@redhat.com>
29
30 * po/vi.po: Updated Vietnamese translation.
31
32 2009-02-03 Sandip Matte <sandip@rmicorp.com>
33
34 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
35
36 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
37
38 * NEWS: Move --as-needed change to ...
39 * ../ld/NEWS: Here.
40
41 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
42
43 * configure.in: AC_SUBST pdfdir.
44 * Makefile.am: Add install-pdf, install-pdf-am,
45 and install-pdf-recursive targets.
46 * doc/Makefile.am: Define pdf__strip_dir. Add
47 install-pdf and install-pdf-am targets.
48 * po/Make-in: Add install-pdf target.
49 * configure: Regenerate.
50 * Makefile.in: Regenerate.
51 * doc/Makefile.in: Regenerate.
52
53 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
54
55 PR binutils/9784
56 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
57
58 * doc/binutils.texi: Document --prefix=PREFIX and
59 --prefix-strip=LEVEL.
60
61 * objdump.c: Include "filenames.h".
62 (prefix): New.
63 (prefix_strip): Likewise.
64 (prefix_length): Likewise.
65 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
66 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
67 (long_options): Likewise.
68 (show_line): Handle prefix and prefix_strip.
69 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
70
71 * readelf.c (PATH_MAX): Moved to ...
72 * sysdep.h: Here.
73
74 2009-01-31 Alan Modra <amodra@bigpond.net.au>
75
76 * NEWS: Mention --as-needed change.
77
78 2009-01-29 Alan Modra <amodra@bigpond.net.au>
79
80 PR 9798
81 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
82 (bfd_get_archive_filename): Constify param.
83 * bucomm.h (bfd_get_archive_filename): Update prototype.
84 * objcopy.c (RETURN_NONFATAL): Delete.
85 (copy_unknown_object): Don't call bfd_get_archive_filename for
86 bfd_nonfatal_message filename, instead just pass bfd.
87 (copy_object): Likewise.
88 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
89 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
90 (setup_bfd_headers): Fix error message.
91
92 2009-01-27 Nick Clifton <nickc@redhat.com>
93
94 PR 9774
95 * objdump.c (disassemble_section): When the target uses signed
96 addresses make sure that we compute signed values.
97
98 2009-01-27 Nick Clifton <nickc@redhat.com>
99
100 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
101 maintainers.
102
103 2009-01-26 Nick Clifton <nickc@redhat.com>
104
105 PR 9766
106 * dlltool.c (xlate): When strip text after the @ sign, look for
107 the last one not the first one.
108
109 2009-01-16 Alan Modra <amodra@bigpond.net.au>
110
111 * configure.in (commonbfdlib): Delete.
112 * configure: Regenerate.
113
114 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
115
116 Cleanup code related to --identify option.
117
118 * binutils/dlltool.c (file scope): Removed globals identify_ms,
119 identify_member_contains_symname_result,
120 identify_dll_name_list_head, and identify_dll_name_list_tail.
121 Renamed existing typedef dll_name_list_type to
122 dll_name_list_node_type.
123 Added new typedefs dll_name_list_type, symname_search_data_type,
124 and identify_data_type.
125 (identify_append_dll_name_to_list): Renamed to...
126 (dll_name_list_append): ...here. Changed signature to accept list
127 argument rather than use global.
128 (identify_count_dll_name_list): Renamed to...
129 (dll_name_list_count): ...here. Changed signature to accept list
130 argument rather than use global.
131 (identify_print_dll_name_list): Renamed to...
132 (dll_name_list_print): ...here. Changed signature to accept list
133 argument rather than use global.
134 (identify_free_dll_name_list): Renamed to...
135 (dll_name_list_free_contents): ...here.
136 (dll_name_list_free): New function.
137 (dll_name_list_create): New function.
138 (identify_process_section_p): Changed signature to accept
139 ms_style_implib argument rather than use global.
140 (identify_member_contains_symname): Expect incoming void * data to
141 be symname_search_data_type.
142 (identify_dll_for_implib): Use new functions dll_name_list_create
143 and dll_name_list_free. Use new types symname_search_data_type
144 and identify_data_type to communicate with search routines.
145 (identify_search_section): Expect incoming void * data to be
146 identify_data_type. Use its contents rather than global
147 variables.
148
149 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
150
151 Add --identify-strict option. Handle ms-style implibs:
152
153 * dlltool.c (file scope): Added new globals identify_ms and
154 identify_strict. New typedef dll_name_list_type, and globals
155 identify_dll_name_list_head and identify_dll_name_list_tail. Added
156 new global identify_member_contains_symname_result.
157 (identify_append_dll_name_to_list): New function.
158 (identify_count_dll_name_list): New function.
159 (identify_print_dll_name_list): New function.
160 (identify_free_dll_name_list): New function.
161 (identify_search_archive): Changed signature to take function
162 pointer to operation to apply to each member, and data to pass on
163 to that function.
164 (identify_search_member): Changed signature to accept user data
165 from caller.
166 (identify_member_contains_symname): New function.
167 (identify_dll_for_implib): Rewrite. Now determines whether implib
168 is ms- or binutils- style, before searching sections for
169 dllname. Allows multiple dllnames.
170 (identify_process_section_p): Search alternate section for dllname
171 when implib is ms-style.
172 (identify_search_section): Add additional conditions to excludes
173 candidate sections from consideration.
174 (usage): Added --identify-strict.
175 (long_options): Added --identify-strict.
176 (main): Handle --identify-strict option.
177 * doc/binutils.texi: Document --identify-strict option.
178 * NEWS: Document --identify and --identify-strict options.
179
180 2009-01-13 Alan Modra <amodra@bigpond.net.au>
181
182 PR 7034
183 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
184
185 2009-01-13 Alan Modra <amodra@bigpond.net.au>
186
187 * objdump.c (disassemble_section): Don't assume non-instruction
188 data if object symbol at given address is in different section.
189
190 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
191
192 * dlltool.c (create_for_pep): New.
193 (flush_page): Use create_for_pep instead of using
194 macro DLLTOOL_MX86_64 clause.
195 (generate_idata_ofile): Likewise.
196 (make_one_lib_file): Likewise.
197 (make_head): Likewise.
198 (make_tail): Likewise.
199 (main): Initialize create_for_pep.
200
201 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
202
203 * dlltool.c (use_nul_prefixed_import_tables): New.
204 (make_head): Make prefix leading zero prefix element for
205 idata$4 and idata$5 dependent to new flag.
206 (usage): Add new option --use-nul-prefixed-import-tables.
207 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
208 (long_options): Add --use-nul-prefixed-import-tables.
209 (main): Likewise.
210 * doc/binutils.texi: Add new option documentation for
211 --use-nul-prefixed-import-tables.
212 * NEWS: Add new option.
213
214 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
215
216 * windres.c (set_endianess): Get architecture name
217 for internal target names like "pe-arm-wince-little".
218 (find_arch_match): New helper.
219 * ChangeLog: Reset it.
220 * ChangeLog-2008: Moved old ChangeLog.
221
222 For older changes see ChangeLog-2008
223 \f
224 Local Variables:
225 mode: change-log
226 left-margin: 8
227 fill-column: 74
228 version-control: never
229 End:
This page took 0.049212 seconds and 4 git commands to generate.