binutils/testsuite: Verify the handling of invalid `r_sym' in relocation
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2018-04-09 Maciej W. Rozycki <macro@mips.com>
2
3 * testsuite/binutils-all/strip-14.d: New test.
4 * testsuite/binutils-all/strip-14rel.s: New test source.
5 * testsuite/binutils-all/strip-14rela.s: New test source.
6 * testsuite/binutils-all/strip-14mips64.s: New test source.
7 * testsuite/binutils-all/objcopy.exp: Run the new test.
8
9 2018-04-06 Tom Tromey <tom@tromey.com>
10
11 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
12 constants from DWARF 5.
13
14 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
15
16 PR gas/22318
17 * configure: Regenerated.
18
19 2018-04-05 Maciej W. Rozycki <macro@mips.com>
20
21 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
22 than `.dc.w' in second relocation.
23
24 2018-04-05 Maciej W. Rozycki <macro@mips.com>
25
26 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
27 relocation type 0x8f' error message.
28
29 2018-04-05 Maciej W. Rozycki <macro@mips.com>
30
31 * testsuite/binutils-all/strip-13.s: Rename to...
32 * testsuite/binutils-all/strip-13rela.s: ... this.
33 * testsuite/binutils-all/strip-13rel.s: New test source.
34 * testsuite/binutils-all/strip-13mips64.s: New test source.
35 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
36 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
37 `m68hc11-*' to `not-target' list.
38 * testsuite/binutils-all/objcopy.exp: Switch between sources for
39 `strip-13'.
40
41 2018-04-05 Maciej W. Rozycki <macro@mips.com>
42
43 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
44 241 (0xf1) for the relocation number and RELA addend.
45 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
46 `not-target' list.
47
48 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
49
50 * MAINTAINERS: Update my e-mail address.
51
52 2018-04-04 Nick Clifton <nickc@redhat.com>
53
54 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
55
56 2018-03-23 Nick Clifton <nickc@redhat.com>
57
58 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
59 symbols.
60 (print_gnu_build_attribute_description): If no file start symbol
61 could be found, look for one two bytes into the file.
62 * testsuite/binutils-all/note-4-64.s: Set the address of the file
63 start symbol to two bytes into the file.
64 * testsuite/binutils-all/note-4-32.s: Likewise.
65
66 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
67
68 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
69 DF_1_WEAKFILTER and DF_1_NOCOMMON.
70
71 2018-03-20 Nick Clifton <nickc@redhat.com>
72
73 * po/es.po: Updated Spanish translation.
74 * po/ru.po: Updated Russian translation.
75
76 2018-03-13 Nick Clifton <nickc@redhat.com>
77
78 PR 22957
79 * stabs.c (pop_binincl): Fail if the file index is off the end of
80 the stack.
81
82 2018-03-13 Nick Clifton <nickc@redhat.com>
83
84 PR 22955
85 * stabs.c (parse_number): Add p_end parameter and use it to check
86 the validity of the pp parameter. Add checks to prevent walking
87 off the end of the string buffer.
88 (parse_stab_string): Likewise.
89 (parse_stab_type): Likewise.
90 (parse_stab_type_number): Likewise.
91 (parse_stab_range_type): Likewise.
92 (parse_stab_sun_builtin_type): Likewise.
93 (parse_stab_sun_floating_type): Likewise.
94 (parse_stab_enum_type): Likewise.
95 (parse_stab_struct_type): Likewise.
96 (parse_stab_baseclasses): Likewise.
97 (parse_stab_struct_fields): Likewise.
98 (parse_stab_cpp_abbrev): Likewise.
99 (parse_stab_one_struct_field): Likewise.
100 (parse_stab_members): Likewise.
101 (parse_stab_tilde_field): Likewise.
102 (parse_stab_array_type): Likewise.
103
104 * parse_stab: Compute the end of the string and then pass it on to
105 individual parser functions.
106
107 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
108
109 PR binutils/22923
110 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
111 overflow.
112
113 2018-03-07 Alan Modra <amodra@gmail.com>
114
115 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
116 * configure: Regenerate.
117
118 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
119
120 PR binutils/22911
121 * objdump.c (is_significant_symbol_name): Return TRUE for all
122 .plt* sections.
123 (find_symbol_for_address): Replace linear search with binary
124 search on dynamic relocations.
125
126 2018-03-01 Nick Clifton <nickc@redhat.com>
127
128 PR 22905
129 * dwarf.c (display_debug_ranges): Check that the offset loaded
130 from the range_entry structure is valid.
131
132 2018-03-01 Alan Modra <amodra@gmail.com>
133
134 * configure.ac (ALL_LINGUAS): Add sr. Sort.
135 * configure: Regenerate.
136
137 2018-02-27 Nick Clifton <nickc@redhat.com>
138
139 * po/pt.po: New Portuguese translation.
140 * configure.ac (ALL_LINGUAS): Add pt.
141 * configure: Regenerate.
142
143 2018-02-27 Nick Clifton <nickc@redhat.com>
144
145 PR 22875
146 * objcopy.c (copy_object): Check the error status after marking
147 symbols used in relocations.
148 * testsuite/binutils-all/strip-13.s: New test source file.
149 * testsuite/binutils-all/strip-13.s: New test driver file.
150 * testsuite/binutils-all/objcopy.exp: Run the new test.
151
152 2018-02-26 Alan Modra <amodra@gmail.com>
153
154 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
155 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
156
157 2018-02-23 Alan Modra <amodra@gmail.com>
158
159 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
160 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
161
162 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
163
164 * doc/binutils.texi (objcopy): Add missing closing square
165 parenthesis to listing of objcopy's command line options.
166
167 2018-02-19 Matthias Klose <doko@debian.org>
168
169 * strings.c (long_options): Include-all-whitespace does not take
170 an extra agument.
171
172 2018-02-13 Alan Modra <amodra@gmail.com>
173
174 PR 22836
175 * testsuite/binutils-all/group-7.s,
176 * testsuite/binutils-all/group-7a.d,
177 * testsuite/binutils-all/group-7b.d,
178 * testsuite/binutils-all/group-7c.d: New tests.
179 * testsuite/binutils-all/objcopy.exp: Run them.
180
181 2018-02-08 Nick Clifton <nickc@redhat.com>
182
183 PR 22802
184 * dwarf.c (load_separate_debug_file): Return early if the user is
185 not interested in debug links.
186
187 2018-02-06 Nick Clifton <nickc@redhat.com>
188
189 PR 22793
190 * readelf.c (find_section): Replace assertion with test and return
191 of NULL.
192 (find_section_by_address): Add test of section header table
193 existance.
194 (find_section_by_type): Likewise.
195 (find_section_in_set): Likewise.
196
197 2018-02-05 Maciej W. Rozycki <macro@mips.com>
198
199 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
200 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
201 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
202 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
203
204 2018-02-05 Maciej W. Rozycki <macro@mips.com>
205
206 * testsuite/config/default.exp (binutils_run): Document
207 `binutils_run_status'.
208 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
209 and set it.
210 (run_dump_test): Add `error', `error_output', `warning' and
211 `warning_output' options. Update documentation accordingly.
212
213 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
214
215 * dwarf.c (dwarf_regnames_riscv): New register name table.
216 (init_dwarf_regnames_riscv): New function.
217 (init_dwarf_regnames): Add call to initialise RiscV register
218 names.
219 * dwarf.h (init_dwarf_regnames_riscv): Declare.
220 * objdump.c (dump_dwarf): Add call to initialise RiscV register
221 names.
222
223 2018-02-01 Alan Modra <amodra@gmail.com>
224
225 PR 22769
226 * objdump.c (load_specific_debug_section): Check for overflow
227 when adding one to section size for a string section terminator.
228
229 2018-01-30 Nick Clifton <nickc@redhat.com>
230
231 PR 22734
232 * doc/binutils.texi (nm): Update description to point out that
233 zero-initialized values can also be shown as type B, b, S or s
234 since they can be stored in the BSS section.
235
236 2018-01-30 Alan Modra <amodra@gmail.com>
237
238 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
239 "artificially large" end address.
240
241 2018-01-28 Nick Clifton <nickc@redhat.com>
242
243 * README-how-to-make-a-release: Add note about checking gpg key
244 and the results of gnupload.
245
246 2018-01-27 Nick Clifton <nickc@redhat.com>
247
248 * README-how-to-make-a-release: Add details on how to actually
249 make the release.
250
251 2018-01-26 Nick Clifton <nickc@redhat.com>
252
253 * README-how-to-make-a-release: Add more details on updating
254 version numbers.
255
256 2018-01-22 Maciej W. Rozycki <macro@mips.com>
257
258 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
259 option description.
260
261 2018-01-22 Maciej W. Rozycki <macro@mips.com>
262
263 * MAINTAINERS: Update my company e-mail address.
264
265 2018-01-22 Nick Clifton <nickc@redhat.com>
266
267 * po/sv.po: Updated Swedish translation.
268
269 2018-01-18 Nick Clifton <nickc@redhat.com>
270
271 * po/bg.po: Updated Bulgarian translation.
272
273 2018-01-16 Joel Brobecker <brobecker@adacore.com>
274
275 * README-how-to-make-a-release: Add reminder to update the
276 branch name in gdbadmin's crontab on sourceware.
277
278 2018-01-16 Joel Brobecker <brobecker@adacore.com>
279
280 * README-how-to-make-a-release: Remove trailing spaces.
281
282 2018-01-16 Nick Clifton <nickc@redhat.com>
283
284 * po/fr.po: Updated French translation.
285
286 2018-01-15 Nick Clifton <nickc@redhat.com>
287
288 * po/uk.po: Updated Ukranian translation.
289
290 2018-01-13 Nick Clifton <nickc@redhat.com>
291
292 * README-how-to-make-a-release: Update notes.
293 * po/binutils.pot: Regenerated.
294
295 2018-01-13 Nick Clifton <nickc@redhat.com>
296
297 * configure: Regenerate.
298
299 2018-01-13 Nick Clifton <nickc@redhat.com>
300
301 2.30 branch created.
302 * NEWS: Add marker for 2.30.
303
304 2018-01-12 Nick Clifton <nickc@redhat.com>
305
306 * README-how-to-make-a-release: Add notes on how to make the
307 branch and prelease snapshot.
308 * BRANCHES: Add binutils-2_29-branch.
309
310 2018-01-10 Nick Clifton <nickc@redhat.com>
311
312 * MAINTAINERS: Note that it is now the configure.ac file and not
313 the configure.in file that needs to be kept in sync with gcc.
314 Add a note about sending patches for libiberty to gcc.
315
316 2018-01-03 Nick Clifton <nickc@redhat.com>
317
318 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
319 constants.
320
321 2018-01-03 Nick Clifton <nickc@redhat.com>
322
323 * objcopy.c (objcopy_internal_note): New structure.
324 (gap_exists): New function.
325 (is_open_note): New function.
326 (is_func_note): New function.
327 (is_64bit): New function.
328 (merge_gnu_build_notes): Handle v3 notes. Do not merge
329 if there are relocations against the notes.
330 * readelf.c (get_note_type): Use short names for build attribute
331 notes.
332 (print_symbol_for_build_attribute): Rename to
333 get_symbol_for_build_attribute. Returns the found symbol rather
334 than printing it.
335 (print_gnu_build_attribute_description): Maintain address ranges
336 for function notes as well as global notes. Handle v3 notes.
337 (print_gnu_build_attribute_name): Use more space for printing the
338 name in wide mode.
339 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
340 Eliminate symbol references in order to remove the need for
341 relocations.
342 * testsuite/binutils-all/note-2-64.s: Likewise.
343 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
344 symbol.
345 * testsuite/binutils-all/note-3-64.s: Likewise.
346 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
347 output.
348 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
349 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
350 * testsuite/binutils-all/note-2-32.d: Likewise.
351 * testsuite/binutils-all/note-2-64.d: Likewise.
352 * testsuite/binutils-all/note-3-32.d: Likewise.
353 * testsuite/binutils-all/note-3-64.d: Likewise.
354 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
355 * testsuite/binutils-all/note-4-32.s: New test.
356 * testsuite/binutils-all/note-4-64.d: New test result file.
357 * testsuite/binutils-all/note-4-32.d: New test result file.
358
359 2018-01-03 Alan Modra <amodra@gmail.com>
360
361 Update year range in copyright notice of all files.
362
363 For older changes see ChangeLog-2017
364 \f
365 Copyright (C) 2018 Free Software Foundation, Inc.
366
367 Copying and distribution of this file, with or without modification,
368 are permitted in any medium without royalty provided the copyright
369 notice and this notice are preserved.
370
371 Local Variables:
372 mode: change-log
373 left-margin: 8
374 fill-column: 74
375 version-control: never
376 End:
This page took 0.038386 seconds and 5 git commands to generate.