* addr2line.c (long_options): Add new option 'section'.
[external/binutils.git] / binutils / ChangeLog
1 2006-04-05  Eric Botcazou  <ebotcazou@adacore.com>
2
3         * addr2line.c (long_options): Add new option 'section'.
4         (usage): Document new -j/--section option.
5         (find_offset_in_section): New function.
6         (translate_addresses): Add 'section' parameter.
7         If it is non-null, call find_offset_in_section on it.
8         (process_file): Add 'section_name' parameter.
9         If it is non-null, look for the section in the BFD object.
10         Pass the section to translate_addresses.
11         (main): Handle new -j option.
12         Pass the section name to process_file.
13         * doc/binutils.texi (addr2line): Document new -j/--section option.
14
15 2006-03-29  Ben Elliston  <bje@au.ibm.com>
16
17         * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
18
19 2006-03-20  Nathan Sidwell  <nathan@codesourcery.com>
20
21         * BRANCHES: Remove binutils-csl-arm-2006q1-branch.  Document
22         binutils-csl-2_17-branch instead.
23
24 2006-03-20  Paul Brook  <paul@codesourcery.com>
25
26         * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
27
28 2006-03-16  Alan Modra  <amodra@bigpond.net.au>
29
30         PR 2434
31         * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
32         * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
33
34 2006-03-13  Ben Elliston  <bje@au.ibm.com>
35
36         * bucomm.c (display_target_list): Make local variable `a' to be of
37         type enum bfd_architecture.  Thus no need to cast enums to int.
38         (display_info_table): Likewise.
39
40 2006-03-10  Paul Brook  <paul@codesourcery.com>
41
42         * readelf.c (decode_ARM_machine_flags):  Handle EABIv5.
43
44 2006-03-10  Alan Modra  <amodra@bigpond.net.au>
45
46         * dwarf.c (process_extended_line_op): Remove pointer_size param.
47         Use length instead to determine address size.
48         (get_pointer_size_and_offset_of_comp_unit): Delete.
49         (display_debug_lines): Adjust for above.
50         (display_debug_aranges): Don't stop on finding two zeros.
51         (display_debug_frames): For warning, print offset not pointer.
52
53 2006-03-09  Danny Smith  <dannysmith@users.sourceforge.net>
54
55         * dlltool.c: Update copyright year.
56         * doc/binutils.texi: Likewise.
57
58 2006-03-09  Danny Smith  <dannysmith@users.sourceforge.net>
59
60         * dlltool.c (add_stdcall_underscore): New flag.
61         (xlate): Also add underscore to stdcall symbol if
62         add_stdcall_underscore set.
63         (usage): Document --add-stdcall-underscore option.
64         (OPTION_ADD_STDCALL_UNDERSCORE): New define.
65         (long_options): Use it for --add-stdcall-underscore option.
66         (main): Handle it.
67         * doc/binutils.texi: Document --add-stdcall-underscore option
68         and differentiate from --add-underscore.
69
70 2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
71
72         * readelf.c (get_machine_flags): Adjust.
73
74 2006-03-03  Jakub Jelinek  <jakub@redhat.com>
75
76         * dwarf.c (frame_display_row, display_debug_frames): Handle
77         DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
78
79 2006-02-28  Nick Clifton  <nickc@redhat.com>
80
81         * objcopy.c (use_alt_mach_code): Change type to unsigned long.
82         (copy_object):  If bfd_alt_mach_code fails emit a more helpful
83         message and if the target architecture is ELF use the alternative
84         as replacement value for the e_machine number.
85         (copy_main): Use strtoul to parse the number provided with the
86         --alt-mach-code switch.
87         * doc/binutils.texi (--alt-mach-code): Document that this switch
88         can now set the absolute e_machine value.
89
90 2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
91
92         * po/Make-in: Add html target.
93
94 2006-02-17  Nick Hudson  <nick.hudson@dsl.pipex.com>
95
96         * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
97
98 2006-02-14  Jakub Jelinek  <jakub@redhat.com>
99
100         * config.in: Rebuilt.
101
102 2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
103
104         PR binutils/2258
105         * readelf.c (process_program_headers): Use
106         ELF_IS_SECTION_IN_SEGMENT_MEMORY.
107
108 2006-02-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
109
110         * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
111         * configure: Regenerate.
112         * objdump.c (fprintf): Remove declaration.
113         * bucomm.h (fprintf): Declare if not already declared.
114         (snprintf): Likewise.
115         (vsnprintf): Likewise.
116
117 2006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
118
119         * readelf.c (process_program_headers): Match PT_TLS segment
120         only with SHT_TLS sections.
121
122 2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
123
124         * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
125
126 2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
127
128         * readelf.c (process_program_headers): Undo the last change.
129
130 2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
131
132         * readelf.c (process_program_headers): Undo the change made on
133         2004-09-22.  Match PT_DYNAMIC segment only with SHT_DYNAMIC
134         sections.
135
136 2006-01-30  Nick Clifton  <nickc@redhat.com>
137
138         * objcopy.c (copy_object): Catch the case where an attempt is made
139         to add a section that already exists and produce a more helpful
140         warning message.
141
142 2006-01-26  Nick Clifton  <nickc@redhat.com>
143
144         * po/vi.po: New Vietnamese translation.
145         * configure.in (ALL_LINGUAS): Add vi.
146         * configure: Regenerate.
147
148 2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
149
150         Introduce TLS descriptors for i386 and x86_64.
151         * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
152         DT_TLSDESC_PLT.
153
154 2006-01-18  Nick Clifton  <nickc@redhat.com>
155
156         PR binutils/1391
157         * objcopy.c (copy_object): For PE format targets set the VMA of a
158         newly created gnu_debuglink section to a non-zero, aligned,
159         contiguous value.
160         * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
161         * Makefile.in: Regenerate.
162
163 2006-01-17  Andreas Schwab  <schwab@suse.de>
164
165         PR binutils/1486
166         * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
167         * configure: Regenerate.
168         * objdump.c (struct objdump_disasm_info): Don't check for
169         DISASSEMBLER_NEEDS_RELOCS.
170         (objdump_print_addr): Likewise.
171         (disassemble_bytes): Check disassembler_needs_relocs from
172         disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
173         at compile-time.
174         (disassemble_section): Likewise.
175         (disassemble_data): Initialize it.
176
177 2006-01-11  Alan Modra  <amodra@bigpond.net.au>
178
179         * objcopy.c (copy_object): Fix thinko.
180
181         * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
182
183 2006-01-09  Mike Frysinger  <vapier@gentoo.org>:
184
185         * readelf.c (guess_is_rela): Add case for Nios/Nios II.
186         (get_machine_name): Likewise.
187
188 For older changes see ChangeLog-2005
189 \f
190 Local Variables:
191 mode: change-log
192 left-margin: 8
193 fill-column: 74
194 version-control: never
195 End: