3 * readelf.c (dynamic_nent): New variable.
4 (get_32bit_dynamic_section): Set it.
5 (get_64bit_dynamic_section): Here too.
6 (process_dynamic_section): Use it instead of dynamic_size.
7 (process_syminfo): Likewise.
9 * readelf.c (get_32bit_dynamic_section): Correct number of entries
10 translated from external to internal form.
11 (get_64bit_dynamic_section): Likewise.
15 * readelf.c (process_program_headers): When locating the dynamic
16 section use the section table if it is present.
17 (dynamic_segment): Renamed to dynamic_section.
18 Replace references to dynamic segment with references to dynamic
19 section, except where appropriate.
20 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
21 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
22 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
23 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
24 Remove tag counting code as it is no longer needed.
25 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
26 Remove tag counting code as it is no longer needed.
27 (process_dynamic_segment): Rename to process_dynamic_section.
31 * objcopy.c (copy_section): Use bfd_get_section_size instead of
32 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
33 (compare_section_lma): Likewise.
34 * addr2line.c (find_address_in_section): Likewise.
35 * coffgrok.c (do_sections_p1): Likewise.
36 * dlltool.c (scan_drectve_symbols): Likewise.
37 * nlmconv.c (main): Likewise.
38 (copy_sections): Likewise.
39 (powerpc_mangle_relocs): Likewise.
40 * objdump.c (disassemble_section): Likewise.
41 * prdbg.c (find_address_in_section): Likewise.
42 * size.c (berkeley_sum): Likewise.
43 * srconv.c (wr_ob): Likewise.
44 * strings.c (strings_a_section): Likewise.
48 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
52 * objcopy.c (setup_bfd_headers): New function.
53 (copy_object): Call setup_bfd_headers.
57 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
62 * po/fr.po: Updated French translation.
66 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
70 * readelf.c (section_groups): New.
72 (section_headers_groups): New.
73 (process_section_groups): Populate group_count, section_groups
74 and section_headers_groups.
75 (process_unwind): Support section group.
76 (process_object): Always call process_section_groups. Free
77 section_groups and section_headers_groups.
81 * readelf.c (process_section_headers): Use %3lu on sh_info.
85 * ranlib.sh: Quote $1 argument in case it contains spaces.
89 * objcopy.c (copy_usage, strip_usage): Fix spelling.
93 * readelf.c (do_section_groups): New.
94 (options): Add --section-groups/-g.
95 (usage): Mention --section-groups/-g.
96 (parse_args): Support --section-groups/-g.
97 (get_group_flags): New.
98 (process_section_groups): New.
99 (process_object): Call process_section_groups.
103 * objdump.c (disassemble_section): Don't disassemble sections
104 without SEC_HAS_CONTENTS.
108 * objdump.c (synthsyms, synthcount): New variables.
109 (disassemble_data): Use dynsyms for stripped binaries or libraries.
110 Add synthetized symbols.
111 (dump_bfd): For disassemble, initialize dynsyms always and
112 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
117 * strings.c (print_strings): Cast file_off to unsigned long in
123 * arsup.c (ar_save): Use smart_rename.
127 * readelf.c (display_debug_pubnames): Align offset and data
129 (read_and_display_attr_value): Add missing break;
130 (debug_displays): Enable the display of the .debug_pubtypes
135 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
136 support files, no longer used.
140 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
144 * readelf.c (display_debug_frames): Don't crash for mismatched
145 DW_CFA_restore_state.
149 * Makefile.am: Run "make dep-am".
150 * Makefile.in: Regenerate.
151 * aclocal.m4: Regenerate.
152 * config.in: Regenerate.
153 * configure: Regenerate.
154 * po/binutils.pot: Regenerate.
158 * objdump.c (struct SFILE): Replace current pointer with pos
159 offset, rename size to alloc.
160 (objdump_sprintf): Avoid unnecessary copies in the common case
161 (disassemble_bytes): Keep sfile live throughout the
162 function. Adjust usage appropriately.
166 * MAINTAINERS: Update my mail address.
170 * deflex.l: Handle "PRIVATE" string.
171 * defparse.y (%token): Add PRIVATE.
172 (%type): Add opt_PRIVATE.
173 (expline): Pass opt_PRIVATE to def_exports.
174 (opt_PRIVATE): Handle PRIVATE token.
175 * dlltool.h (def_exports): Add 7th param for private flag to
177 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
178 (struct export): Add 'private' field.
179 (def_exports): Set 'private' field of struct exports.
180 (scan_drectve_symbols): Adjust calls to def_exports.
181 (scan_filtered_symbols): Likewise.
182 (dump_def_info): Print 'private' field.
183 (gen_def_file): Likewise.
184 (gen_lib_file): Skip generation of lib object if private.
185 Delete tmp object files in same order as they were generated.
186 Don't delete non-existent private object files.
190 * ar.c (main): Support POSIX-compatible argument parsing.
194 * readelf.c (process_mips_specific): Print conflictsno as an
199 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
203 * objcopy.c (copy_section): Avoid warnings.
207 * ar.c (remove_output): Use bfd_cache_close.
208 * arsup.c (ar_end): Ditto.
212 * readelf.c (get_note_type): Match NT_AUXV.
216 * version.c (print_version): Update copyright year to 2004.
220 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
222 * aclocal.m4: Regenerate.
223 * configure: Regenerate.
227 * objcopy.c: Include elf-bfd.h.
228 (is_strip_section): Don't strip debugging sections if
230 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
231 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
233 * objcopy.c (copy_section): Free relpp if relcount == 0.
237 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
238 (stab_demangle_argtypes): Likewise.
239 (stab_demangle_v3_argtypes): New static function.
240 (stab_demangle_v3_arg): New static function.
244 * objcopy.c (copy_object): Make the function boolean, returning
246 (copy_archive): Handle the return value from copy_object.
247 (copy_file): Likewise.
251 * readelf.c (find_section): New function. Locates a named
253 (get_debug_line_pointer_sizes): New function: Initialises the
254 debug_line_pointer_sizes array.
255 (display_debug_lines): Call get_debug_line_pointer_sizes.
256 (display_debug_loc): Likewise.
257 (load_debug_loc): Use find_section.
258 (load_debug_str): Likewise.
259 (display_debug_info): Likewise.
260 (prescan_debug_info): Delete.
261 (debug_displays): Remove prescan field.
262 (process_section_contents): Do not perform prescans.
266 * objcopy.c (filter_bytes): Delete. Move code to..
267 (copy_section): ..here. Simplify size adjustment. Divide
268 section lma by interleave.
272 * po/ru.po: New file: Russian translation.
273 * configure.in (ALL_LINGUAS): Add ru
274 * configure: Regenerate.
276 For older changes see ChangeLog-0203
282 version-control: never