binutils/testsuite: Verify the handling of invalid `r_sym' in relocation
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
3f97ba9f
MR
12018-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
2008a0db
TT
92018-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
3cba8b6c
L
142018-04-05 H.J. Lu <hongjiu.lu@intel.com>
15
16 PR gas/22318
17 * configure: Regenerated.
18
2d8c1a23
MR
192018-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
65bd2045
MR
242018-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
2f8ceb38
MR
292018-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
aad7be45
MR
412018-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
89f60df2
JDA
482018-04-04 John David Anglin <danglin@gcc.gnu.org>
49
50 * MAINTAINERS: Update my e-mail address.
51
f1ca0d6d
NC
522018-04-04 Nick Clifton <nickc@redhat.com>
53
54 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
55
8fd75781
NC
562018-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
b1202ffa
L
662018-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
7e100140
NC
712018-03-20 Nick Clifton <nickc@redhat.com>
72
73 * po/es.po: Updated Spanish translation.
74 * po/ru.po: Updated Russian translation.
75
e45ad123
NC
762018-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
81db3241
NC
822018-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.
e45ad123 103
81db3241
NC
104 * parse_stab: Compute the end of the string and then pass it on to
105 individual parser functions.
106
6d4f21f6
PP
1072018-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
52fe4420
AM
1132018-03-07 Alan Modra <amodra@gmail.com>
114
115 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
116 * configure: Regenerate.
117
0e70b27b
L
1182018-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
d11ae95e
NC
1262018-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
e184813f
AM
1322018-03-01 Alan Modra <amodra@gmail.com>
133
134 * configure.ac (ALL_LINGUAS): Add sr. Sort.
135 * configure: Regenerate.
136
bc7c0509
NC
1372018-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
f3185997
NC
1432018-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
2c1c9679
AM
1522018-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
6e05870c
AM
1572018-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
b0ab9c45
RH
1622018-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
e535d0dd
MK
1672018-02-19 Matthias Klose <doko@debian.org>
168
169 * strings.c (long_options): Include-all-whitespace does not take
170 an extra agument.
171
6e5e9d58
AM
1722018-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
8de3a6e2
NC
1812018-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
68807c3c
NC
1872018-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
2d6dda71
MR
1972018-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
78c88364
MR
2042018-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
5bb0830d
AB
2132018-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
f2023ce7
AM
2232018-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
fcabedd5
NC
2292018-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
f49db8be
AM
2362018-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
a8d6d6ac
NC
2412018-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
9a5db26e
NC
2462018-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
94c2436b
NC
2512018-01-26 Nick Clifton <nickc@redhat.com>
252
253 * README-how-to-make-a-release: Add more details on updating
254 version numbers.
255
1ea332d6
MR
2562018-01-22 Maciej W. Rozycki <macro@mips.com>
257
258 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
259 option description.
260
d65ce302
MR
2612018-01-22 Maciej W. Rozycki <macro@mips.com>
262
263 * MAINTAINERS: Update my company e-mail address.
264
f433138f
NC
2652018-01-22 Nick Clifton <nickc@redhat.com>
266
267 * po/sv.po: Updated Swedish translation.
268
7ab82037
NC
2692018-01-18 Nick Clifton <nickc@redhat.com>
270
271 * po/bg.po: Updated Bulgarian translation.
272
0dd86f32
JB
2732018-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
a960d29f
JB
2782018-01-16 Joel Brobecker <brobecker@adacore.com>
279
280 * README-how-to-make-a-release: Remove trailing spaces.
281
f6efed01
NC
2822018-01-16 Nick Clifton <nickc@redhat.com>
283
284 * po/fr.po: Updated French translation.
285
616dcb87
NC
2862018-01-15 Nick Clifton <nickc@redhat.com>
287
288 * po/uk.po: Updated Ukranian translation.
289
3957a496
NC
2902018-01-13 Nick Clifton <nickc@redhat.com>
291
19e2900b 292 * README-how-to-make-a-release: Update notes.
3957a496
NC
293 * po/binutils.pot: Regenerated.
294
769c7ea5
NC
2952018-01-13 Nick Clifton <nickc@redhat.com>
296
297 * configure: Regenerate.
298
9176ac5b
NC
2992018-01-13 Nick Clifton <nickc@redhat.com>
300
faf766e3 301 2.30 branch created.
9176ac5b
NC
302 * NEWS: Add marker for 2.30.
303
98ab9e96
NC
3042018-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
bf41f30d
NC
3102018-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
f13974bd
NC
3162018-01-03 Nick Clifton <nickc@redhat.com>
317
318 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
319 constants.
320
6f156d7a
NC
3212018-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
219d1afa
AM
3592018-01-03 Alan Modra <amodra@gmail.com>
360
361 Update year range in copyright notice of all files.
362
1e563868 363For older changes see ChangeLog-2017
3499769a 364\f
1e563868 365Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
366
367Copying and distribution of this file, with or without modification,
368are permitted in any medium without royalty provided the copyright
369notice and this notice are preserved.
370
371Local Variables:
372mode: change-log
373left-margin: 8
374fill-column: 74
375version-control: never
376End:
This page took 0.158138 seconds and 4 git commands to generate.