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