binutils/
[binutils-gdb.git] / binutils / ChangeLog
1 2013-03-01 Cary Coutant <ccoutant@google.com>
2
3 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
4 (shndx_pool_used): Move to top of file.
5 (struct cu_tu_set): New type.
6 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
7 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
8 (find_cu_tu_set_v2): New function.
9 (read_and_display_attr_value): Add "this_set" parameter.
10 (read_and_display_attr): Likewise.
11 (process_debug_info): Track base offsets for DWARF package files.
12 (load_debug_info): Call load_cu_tu_indexes.
13 (get_DW_SECT_short_name): New function.
14 (process_cu_tu_index): Add support for version 2 DWARF package files.
15
16 2013-02-27 Alan Modra <amodra@gmail.com>
17
18 PR binutils/15191
19 * readelf.c (offsetof): Define.
20 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
21 (process_corefile_note_segment): Allow notes without name or
22 desc. Combine out-of-range checks. Disallow "negative"
23 notesz or descsz.
24
25 2013-02-26 Nick Clifton <nickc@redhat.com>
26
27 PR binutils/15191
28 * readelf.c (process_corefile_note_segment): Prevent attempts to
29 read beyond the end of the note buffer.
30
31 2013-02-15 Kai Tietz <ktietz@redhat.com>
32
33 * objcopy.c (copy_main): Initialize context variable.
34
35 2013-02-15 Nick Clifton <nickc@redhat.com>
36
37 PR binutils/15140
38 * ar.c (open_inarch): Fail on attempts to convert a normal archive
39 to a thin archive or vice versa.
40 * elfcomm.c (make_qualified_name): Handle corrupted thin
41 archives.
42 * readelf.c (process_archive): Likewise.
43 * doc/binutils.texi: Clarify documentation describing thin
44 archives.
45
46 2013-02-15 Nick Clifton <nickc@redhat.com>
47
48 PR binutils/15033
49 * objcopy.c (enum change_action): Delete.
50 (struct section_list): Delete remove, copy, change_vma, change_lma
51 and set_flags fields. Add context field.
52 (find_section_list): Add a context parameter. Add support for
53 wildcard characters in section names.
54 (is_strip_section): Check for sections being both copied and
55 removed.
56 (copy_object): Pass context to find_section_list.
57 (setup_section): Likewise.
58 (copy_section): Likewise.
59 (copy_main): Likewise.
60 * doc/binutils: Document the new behaviour.
61 * NEWS: Mention the new feature
62
63 2013-02-14 Nick Clifton <nickc@redhat.com>
64
65 PR binutils/15125
66 * objcopy.c (copy_object): Provide a helpful warning message when
67 adding a gnu_debuglink section to an object which already contains
68 one.
69
70 2013-02-07 Nick Clifton <nickc@redhat.com>
71
72 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
73 corrupt archive uses long names but has no long name table.
74
75 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
76 Andrew Jenner <andrew@codesourcery.com>
77
78 Based on patches from Altera Corporation.
79
80 * readelf.c: Include elf/nios2.h.
81 (dump_relocations): Add case for EM_ALTERA_NIOS2.
82 (get_nios2_dynamic_type): New.
83 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
84 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
85 (is_16bit_abs_reloc): Likewise.
86 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
87 * NEWS: Note Altera Nios II support.
88 * MAINTAINERS: Add Nios II maintainers.
89
90 2013-01-29 Xi Wang <xi.wang@gmail.com>
91
92 * readelf.c (process_version_sections): Fix overflow checks to
93 avoid undefined behaviour.
94
95 2013-01-28 Doug Evans <dje@google.com>
96
97 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
98
99 2013-01-28 Robert Schiele <rschiele@gmail.com>
100
101 * objcopy.c (parse_flags): Add merge and strings section flags.
102
103 2013-01-25 Cary Coutant <ccoutant@google.com>
104
105 * dwarf.c (display_loc_list): Update offset for each line
106 printed.
107 (print_addr_index): New function.
108 (display_loc_list_dwo): Update offset for each line printed.
109 Fix problems displaying loclists in .dwo files. Add support
110 for type 4 entries.
111 (display_debug_loc): Remove custom header for .dwo files.
112 (display_debug_addr): Adjust formatting.
113
114 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
115
116 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
117
118 2013-01-24 Doug Evans <dje@google.com>
119
120 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
121
122 2013-01-24 Nick Clifton <nickc@redhat.com>
123
124 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
125
126 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
127
128 * readelf.c: Add strings for NT_S390_LAST_BREAK and
129 NT_S390_SYSTEM_CALL.
130
131 2013-01-18 Nick Clifton <nickc@redhat.com>
132
133 PR binutils/15026
134 * addr2line.c (translate_addresses): When pretty printing, print
135 unknown function names on the same line as unknown symbol names.
136
137 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
138
139 * objdump.c (dump_target_specific): Fix NULL pointer test.
140
141 2013-01-16 Alan Modra <amodra@gmail.com>
142
143 PR binutils/15018
144 * stabs.c (parse_stab_members): Always set physname here to avoid
145 gcc warning..
146 (parse_stab_argtypes): ..and don't duplicate the init here.
147
148 2013-01-10 Will Newton <will.newton@imgtec.com>
149
150 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
151 (dump_relocations): Add EM_METAG.
152 (get_machine_name): Correct case for Meta.
153 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
154 (is_none_reloc): Add support for Meta NONE reloc.
155
156 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
157
158 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
159 and NT_ARM_HW_WATCH.
160
161 2013-01-07 Roland McGrath <mcgrathr@google.com>
162
163 * objcopy.c (deterministic): Make int rather than bfd_boolean,
164 initialize to -1.
165 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
166 (default_deterministic): New function.
167 (strip_main, copy_main): Handle -U. Call default_deterministic.
168 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
169 the default based on DEFAULT_AR_DETERMINISTIC.
170 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
171 configure options on -D.
172
173 * ar.c (default_deterministic): Comment fix.
174
175 2013-01-07 Patrice Dumas <pertusus@free.fr>
176
177 * doc/binutils.texi: Fix ordering of top level nodes.
178 Replace erroneous uses of @itemx with @item.
179
180 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
181
182 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
183
184 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
185
186 * MAINTAINERS: Add myself as AArch64 co-maintainer.
187
188 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
189
190 * version.c (print_version): Update copyright year to 2013.
191
192 For older changes see ChangeLog-2012
193 \f
194 Copyright (C) 2013 Free Software Foundation, Inc.
195
196 Copying and distribution of this file, with or without modification,
197 are permitted in any medium without royalty provided the copyright
198 notice and this notice are preserved.
199
200 Local Variables:
201 mode: change-log
202 left-margin: 8
203 fill-column: 74
204 version-control: never
205 End: