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