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