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