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