* readelf.c (Elf32_Word): Delete.
[binutils-gdb.git] / binutils / ChangeLog
1 2004-06-22 Alan Modra <amodra@bigpond.net.au>
2
3 * readelf.c (Elf32_Word): Delete.
4 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
5 (get_64bit_dynamic_section): Likewise.
6
7 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
8 (get_64bit_dynamic_section): Likewise.
9
10 * readelf.c (dynamic_nent): New variable.
11 (get_32bit_dynamic_section): Set it.
12 (get_64bit_dynamic_section): Here too.
13 (process_dynamic_section): Use it instead of dynamic_size.
14 (process_syminfo): Likewise.
15
16 * readelf.c (get_32bit_dynamic_section): Correct number of entries
17 translated from external to internal form.
18 (get_64bit_dynamic_section): Likewise.
19
20 2004-06-18 Jie Zhang <zhangjie@magima.com.cn>
21
22 * readelf.c (process_program_headers): When locating the dynamic
23 section use the section table if it is present.
24 (dynamic_segment): Renamed to dynamic_section.
25 Replace references to dynamic segment with references to dynamic
26 section, except where appropriate.
27 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
28 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
29 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
30 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
31 Remove tag counting code as it is no longer needed.
32 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
33 Remove tag counting code as it is no longer needed.
34 (process_dynamic_segment): Rename to process_dynamic_section.
35
36 2004-06-15 Alan Modra <amodra@bigpond.net.au>
37
38 * objcopy.c (copy_section): Use bfd_get_section_size instead of
39 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
40 (compare_section_lma): Likewise.
41 * addr2line.c (find_address_in_section): Likewise.
42 * coffgrok.c (do_sections_p1): Likewise.
43 * dlltool.c (scan_drectve_symbols): Likewise.
44 * nlmconv.c (main): Likewise.
45 (copy_sections): Likewise.
46 (powerpc_mangle_relocs): Likewise.
47 * objdump.c (disassemble_section): Likewise.
48 * prdbg.c (find_address_in_section): Likewise.
49 * size.c (berkeley_sum): Likewise.
50 * srconv.c (wr_ob): Likewise.
51 * strings.c (strings_a_section): Likewise.
52
53 2004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
54
55 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
56
57 2004-05-17 David Heine <dlheine@tensilica.com>
58
59 * objcopy.c (setup_bfd_headers): New function.
60 (copy_object): Call setup_bfd_headers.
61
62 2004-05-13 Paul Brook <paul@codesourcery.com>
63
64 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
65 entries.
66
67 2004-05-13 Nick Clifton <nickc@redhat.com>
68
69 * po/fr.po: Updated French translation.
70
71 2004-05-11 Jakub Jelinek <jakub@redhat.com>
72
73 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
74
75 2004-05-07 H.J. Lu <hongjiu.lu@intel.com>
76
77 * readelf.c (section_groups): New.
78 (group_count): New.
79 (section_headers_groups): New.
80 (process_section_groups): Populate group_count, section_groups
81 and section_headers_groups.
82 (process_unwind): Support section group.
83 (process_object): Always call process_section_groups. Free
84 section_groups and section_headers_groups.
85
86 2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
87
88 * readelf.c (process_section_headers): Use %3lu on sh_info.
89
90 2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
91
92 * ranlib.sh: Quote $1 argument in case it contains spaces.
93
94 2004-04-27 John Paul Wallington <jpw@gnu.org>
95
96 * objcopy.c (copy_usage, strip_usage): Fix spelling.
97
98 2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
99
100 * readelf.c (do_section_groups): New.
101 (options): Add --section-groups/-g.
102 (usage): Mention --section-groups/-g.
103 (parse_args): Support --section-groups/-g.
104 (get_group_flags): New.
105 (process_section_groups): New.
106 (process_object): Call process_section_groups.
107
108 2004-04-24 Alan Modra <amodra@bigpond.net.au>
109
110 * objdump.c (disassemble_section): Don't disassemble sections
111 without SEC_HAS_CONTENTS.
112
113 2004-04-22 Jakub Jelinek <jakub@redhat.com>
114
115 * objdump.c (synthsyms, synthcount): New variables.
116 (disassemble_data): Use dynsyms for stripped binaries or libraries.
117 Add synthetized symbols.
118 (dump_bfd): For disassemble, initialize dynsyms always and
119 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
120 before returning.
121
122 2004-04-14 Alan Modra <amodra@bigpond.net.au>
123
124 * strings.c (print_strings): Cast file_off to unsigned long in
125 printf arg list.
126
127 2004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
128
129 PR 86
130 * arsup.c (ar_save): Use smart_rename.
131
132 2004-04-01 Dean Luick <luick@cray.com>
133
134 * readelf.c (display_debug_pubnames): Align offset and data
135 columns.
136 (read_and_display_attr_value): Add missing break;
137 (debug_displays): Enable the display of the .debug_pubtypes
138 section.
139
140 2004-03-30 Stan Shebs <shebs@apple.com>
141
142 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
143 support files, no longer used.
144
145 2004-03-23 Paul Brook <paul@codesourcery.com>
146
147 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
148
149 2004-03-21 Richard Henderson <rth@redhat.com>
150
151 * readelf.c (display_debug_frames): Don't crash for mismatched
152 DW_CFA_restore_state.
153
154 2004-03-19 Alan Modra <amodra@bigpond.net.au>
155
156 * Makefile.am: Run "make dep-am".
157 * Makefile.in: Regenerate.
158 * aclocal.m4: Regenerate.
159 * config.in: Regenerate.
160 * configure: Regenerate.
161 * po/binutils.pot: Regenerate.
162
163 2004-03-15 Nathan Sidwell <nathan@codesourcery.com>
164
165 * objdump.c (struct SFILE): Replace current pointer with pos
166 offset, rename size to alloc.
167 (objdump_sprintf): Avoid unnecessary copies in the common case
168 (disassemble_bytes): Keep sfile live throughout the
169 function. Adjust usage appropriately.
170
171 2004-03-10 Ben Elliston <bje@gnu.org>
172
173 * MAINTAINERS: Update my mail address.
174
175 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
176
177 * deflex.l: Handle "PRIVATE" string.
178 * defparse.y (%token): Add PRIVATE.
179 (%type): Add opt_PRIVATE.
180 (expline): Pass opt_PRIVATE to def_exports.
181 (opt_PRIVATE): Handle PRIVATE token.
182 * dlltool.h (def_exports): Add 7th param for private flag to
183 declaration.
184 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
185 (struct export): Add 'private' field.
186 (def_exports): Set 'private' field of struct exports.
187 (scan_drectve_symbols): Adjust calls to def_exports.
188 (scan_filtered_symbols): Likewise.
189 (dump_def_info): Print 'private' field.
190 (gen_def_file): Likewise.
191 (gen_lib_file): Skip generation of lib object if private.
192 Delete tmp object files in same order as they were generated.
193 Don't delete non-existent private object files.
194
195 2004-02-27 Andreas Schwab <schwab@suse.de>
196
197 * ar.c (main): Support POSIX-compatible argument parsing.
198
199 2004-02-23 Daniel Lucq <daniel@lucq.org>
200
201 * readelf.c (process_mips_specific): Print conflictsno as an
202 unsigned long.
203
204 2004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
205
206 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
207
208 2004-02-19 Jakub Jelinek <jakub@redhat.com>
209
210 * objcopy.c (copy_section): Avoid warnings.
211
212 2004-02-14 Andrew Cagney <cagney@redhat.com>
213
214 * ar.c (remove_output): Use bfd_cache_close.
215 * arsup.c (ar_end): Ditto.
216
217 2004-01-21 Roland McGrath <roland@redhat.com>
218
219 * readelf.c (get_note_type): Match NT_AUXV.
220
221 2004-01-20 Nick Clifton <nickc@redhat.com>
222
223 * version.c (print_version): Update copyright year to 2004.
224
225 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
226
227 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
228 throughout.
229 * aclocal.m4: Regenerate.
230 * configure: Regenerate.
231
232 2004-01-12 Jakub Jelinek <jakub@redhat.com>
233
234 * objcopy.c: Include elf-bfd.h.
235 (is_strip_section): Don't strip debugging sections if
236 STRIP_NONDEBUG.
237 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
238 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
239
240 * objcopy.c (copy_section): Free relpp if relcount == 0.
241
242 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
243
244 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
245 (stab_demangle_argtypes): Likewise.
246 (stab_demangle_v3_argtypes): New static function.
247 (stab_demangle_v3_arg): New static function.
248
249 2004-01-12 Nick Clifton <nickc@redhat.com>
250
251 * objcopy.c (copy_object): Make the function boolean, returning
252 FALSE upon failure.
253 (copy_archive): Handle the return value from copy_object.
254 (copy_file): Likewise.
255
256 2004-01-07 Nick Clifton <nickc@redhat.com>
257
258 * readelf.c (find_section): New function. Locates a named
259 section.
260 (get_debug_line_pointer_sizes): New function: Initialises the
261 debug_line_pointer_sizes array.
262 (display_debug_lines): Call get_debug_line_pointer_sizes.
263 (display_debug_loc): Likewise.
264 (load_debug_loc): Use find_section.
265 (load_debug_str): Likewise.
266 (display_debug_info): Likewise.
267 (prescan_debug_info): Delete.
268 (debug_displays): Remove prescan field.
269 (process_section_contents): Do not perform prescans.
270
271 2004-01-03 Alan Modra <amodra@bigpond.net.au>
272
273 * objcopy.c (filter_bytes): Delete. Move code to..
274 (copy_section): ..here. Simplify size adjustment. Divide
275 section lma by interleave.
276
277 2004-01-02 Nick Clifton <nickc@redhat.com>
278
279 * po/ru.po: New file: Russian translation.
280 * configure.in (ALL_LINGUAS): Add ru
281 * configure: Regenerate.
282
283 For older changes see ChangeLog-0203
284 \f
285 Local Variables:
286 mode: change-log
287 left-margin: 8
288 fill-column: 74
289 version-control: never
290 End: