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