Allow non-fatal errors to be emitted and for disassembly notes be placed on AArch64
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
7d02540a
TC
12018-05-15 Tamar Christina <tamar.christina@arm.com>
2
3 PR binutils/21446
4 * doc/binutils.texi (-M): Document AArch64 options.
5 * NEWS: Document notes and warnings.
6
679ca975
AM
72018-05-15 Alan Modra <amodra@gmail.com>
8
9 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
10 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
11 and *uclinux* into *linux*.
12 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
13 strip-13 test, exclude arm-vxworks and arm-windiss.
14
637b1970
JD
152018-05-10 John Darrington <john@darrington.wattle.id.au>
16
17 * readelf.c (get_machine_name): EM_S12Z - handle new case.
18
60cb2c8a
AM
192018-05-09 Alan Modra <amodra@gmail.com>
20
21 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
22
84f9f8c3
AM
232018-05-09 Sebastian Rasmussen <sebras@gmail.com>
24
25 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
26
886d5428
AM
272018-05-08 Alan Modra <amodra@gmail.com>
28
29 PR 23141
30 * objcopy.c (is_strip_section): Strip groups without a valid
31 signature symbol.
32
ce4ec1a9
AM
332018-05-07 Alan Modra <amodra@gmail.com>
34
35 PR 23142
36 * objcopy.c (group_signature): Don't accept groups that use a
37 symbol table other than the one we've read.
38
fe944acf
FT
392018-04-30 Francois H. Theron <francois.theron@netronome.com>
40
41 * readelf.c: Very basic support for EM_NFP and its section types.
42 * testsuite/binutils-all/nfp: New directory.
43 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
44 tests.
45 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
46 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
47 * testsuite/binutils-all/nfp/test1.d: New file.
48 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
49 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
50 * NEWS: Mention the new support.
51
6d9dabbb
MR
522018-04-27 Maciej W. Rozycki <macro@mips.com>
53
54 * testsuite/lib/binutils-common.exp (match_target): New procedure.
55 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
56 of `istarget' for matching with `target', `not-target', `skip'
57 and `not-skip' options.
58
0df8ad28
NC
592018-04-26 Nick Clifton <nickc@redhat.com>
60
61 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
62 32-bit absolute reloc for the HPPA target.
63 * testsuite/binutils-all/note-5.d: New test.
64 * testsuite/binutils-all/note-5.s: Source file for new test.
65 * testsuite/binutils-all/objcopy.exp: Run new test.
66
f1ac0afe
CL
672018-04-25 Christophe Lyon <christophe.lyon@st.com>
68
69 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
70 * testsuite/binutils-all/elfedit-3.d: Likewise.
71 * testsuite/binutils-all/objcopy.exp: Likewise.
72 * testsuite/binutils-all/strip-3.d: Likewise.
73 * testsuite/lib/binutils-common.exp: Likewise.
74
18a20338
CL
752018-04-25 Christophe Lyon <christophe.lyon@st.com>
76 Mickaël Guêné <mickael.guene@st.com>
77
78 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
79 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
80
2ac93be7
AM
812018-04-25 Alan Modra <amodra@gmail.com>
82
83 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
84 arm-coff support.
85 * testsuite/binutils-all/objcopy.exp: Likewise.
86 * testsuite/lib/binutils-common.exp: Likewise.
87
a7504f87
NC
882018-04-18 Nick Clifton <nickc@redhat.com>
89
90 PR 23062
91 * dwarf.c (read_and_display_attr_value): Replace assertions with
92 test and warning message.
93
c65c21e1
AM
942018-04-18 Alan Modra <amodra@gmail.com>
95
96 * testsuite/lib/binutils-common.exp: Remove support for assorted
97 aout targets.
98
6aea08d9
NC
992018-04-17 Nick Clifton <nickc@redhat.com>
100
c4a91159 101 PR 23063
56d8f8a9
NC
102 * readelf.c (print_symbol): If the width is zero, return straight
103 away.
104
6aea08d9
NC
105 PR 23064
106 * dwarf.c (process_cu_tu_index): Test for a potential buffer
107 overrun before copying signature pointer.
108
f954747f
AM
1092018-04-17 Alan Modra <amodra@gmail.com>
110
111 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
112
d7867d17
AM
1132018-04-16 Alan Modra <amodra@gmail.com>
114
115 * readelf.c (get_machine_name): Correct typo.
116
ddb00039
AM
1172018-04-16 Alan Modra <amodra@gmail.com>
118
119 * configure.ac: Remove arm-epoc-pe support.
120 * dlltool.c: Likewise.
121 * configure: Regenerate.
122
c9098af4
AM
1232018-04-16 Alan Modra <amodra@gmail.com>
124
125 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
126 sparc-coff support.
127
dc12032b
AM
1282018-04-16 Alan Modra <amodra@gmail.com>
129
130 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
131 support.
132 * testsuite/binutils-all/copy-3.d: Likewise.
133 * testsuite/binutils-all/objcopy.exp: Likewise.
134 * testsuite/lib/binutils-common.exp: Likewise.
135
211dc24b
AM
1362018-04-16 Alan Modra <amodra@gmail.com>
137
138 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
139
a9a4b302
AM
1402018-04-16 Alan Modra <amodra@gmail.com>
141
142 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
143
04cb01fd
AM
1442018-04-16 Alan Modra <amodra@gmail.com>
145
146 * testsuite/binutils-all/objdump.exp: Remove we32k support.
147
c2bf1eec
AM
1482018-04-16 Alan Modra <amodra@gmail.com>
149
150 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
151 * testsuite/binutils-all/objdump.exp: Remove m88k support.
152
6793974d
AM
1532018-04-16 Alan Modra <amodra@gmail.com>
154
155 * readelf.c: Remove i370 support.
156 * testsuite/binutils-all/objdump.exp: Likewise.
157
e82aa794
AM
1582018-04-16 Alan Modra <amodra@gmail.com>
159
160 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
161 * testsuite/lib/binutils-common.exp: Likewise.
162
fe0bf0fd
AM
1632018-04-16 Alan Modra <amodra@gmail.com>
164
165 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
166
fdef3943
AM
1672018-04-16 Alan Modra <amodra@gmail.com>
168
169 * Makefile.am: Remove IEEE 695 support.
170 * budbg.h: Likewise.
171 * doc/binutils.texi: Likewise.
172 * makefile.vms: Likewise.
173 * objcopy.c: Likewise.
174 * objdump.c: Likewise.
175 * rddbg.c: Likewise.
176 * ieee.c: Delete.
177 * Makefile.in: Regenerate.
178 * po/POTFILES.in: Regenerate.
179
5972ac73
AM
1802018-04-16 Alan Modra <amodra@gmail.com>
181
182 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
183 * testsuite/binutils-all/nm.exp: Likewise.
184
b4b594e3
AM
1852018-04-16 Alan Modra <amodra@gmail.com>
186
187 * .gitignore: Remove netware support.
188 * Makefile.am: Likewise.
189 * configure.ac: Likewise.
190 * doc/Makefile.am: Likewise.
191 * doc/binutils.texi: Likewise.
192 * testsuite/binutils-all/nm.exp: Likewise.
193 * nlmconv.c: Delete.
194 * nlmconv.h: Delete.
195 * nlmheader.y: Delete.
196 * Makefile.in: Regenerate.
197 * configure: Regenerate.
198 * doc/Makefile.in: Regenerate.
199 * po/POTFILES.in: Regenerate.
200
fceadf09
AM
2012018-04-16 Alan Modra <amodra@gmail.com>
202
203 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
204
fb70ec17
AM
2052018-04-14 Alan Modra <amodra@gmail.com>
206
207 * readelf.c (get_machine_name): Revert 2018-04-11 change.
208
86c6c6df
NC
2092018-04-12 Nick Clifton <nickc@redhat.com>
210
211 PR 23050
212 * readelf.c (process_dynamic_section): Correct dynamic string
213 table size calculation.
214
a8eb42a8
AM
2152018-04-11 Alan Modra <amodra@gmail.com>
216
217 * ieee.c: Remove i960 support.
218 * od-macho.c: Remove i860 support.
219 * readelf.c: Remove i860 and i960 support.
220 * testsuite/binutils-all/objcopy.exp: Likewise.
221 * testsuite/binutils-all/objdump.exp: Likewise.
222 * testsuite/lib/binutils-common.exp: Likewise.
223
c43b2c54
MR
2242018-04-11 Maciej W. Rozycki <macro@mips.com>
225
226 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
227 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
228
d4ae1932
AM
2292018-04-10 Alan Modra <amodra@gmail.com>
230
231 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
232 reloc=11 for pru and reloc=50 for nds32.
233 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
234
d52e3d06
MR
2352018-04-09 Maciej W. Rozycki <macro@mips.com>
236
237 * testsuite/binutils-all/strip-15.d: New test.
238 * testsuite/binutils-all/strip-15rel.s: New test source.
239 * testsuite/binutils-all/strip-15rela.s: New test source.
240 * testsuite/binutils-all/strip-15mips64.s: New test source.
241 * testsuite/binutils-all/objcopy.exp: Run the new test.
242
3f97ba9f
MR
2432018-04-09 Maciej W. Rozycki <macro@mips.com>
244
245 * testsuite/binutils-all/strip-14.d: New test.
246 * testsuite/binutils-all/strip-14rel.s: New test source.
247 * testsuite/binutils-all/strip-14rela.s: New test source.
248 * testsuite/binutils-all/strip-14mips64.s: New test source.
249 * testsuite/binutils-all/objcopy.exp: Run the new test.
250
2008a0db
TT
2512018-04-06 Tom Tromey <tom@tromey.com>
252
253 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
254 constants from DWARF 5.
255
3cba8b6c
L
2562018-04-05 H.J. Lu <hongjiu.lu@intel.com>
257
258 PR gas/22318
259 * configure: Regenerated.
260
2d8c1a23
MR
2612018-04-05 Maciej W. Rozycki <macro@mips.com>
262
263 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
264 than `.dc.w' in second relocation.
265
65bd2045
MR
2662018-04-05 Maciej W. Rozycki <macro@mips.com>
267
268 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
269 relocation type 0x8f' error message.
270
2f8ceb38
MR
2712018-04-05 Maciej W. Rozycki <macro@mips.com>
272
273 * testsuite/binutils-all/strip-13.s: Rename to...
274 * testsuite/binutils-all/strip-13rela.s: ... this.
275 * testsuite/binutils-all/strip-13rel.s: New test source.
276 * testsuite/binutils-all/strip-13mips64.s: New test source.
277 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
278 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
279 `m68hc11-*' to `not-target' list.
280 * testsuite/binutils-all/objcopy.exp: Switch between sources for
281 `strip-13'.
282
aad7be45
MR
2832018-04-05 Maciej W. Rozycki <macro@mips.com>
284
285 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
286 241 (0xf1) for the relocation number and RELA addend.
287 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
288 `not-target' list.
289
89f60df2
JDA
2902018-04-04 John David Anglin <danglin@gcc.gnu.org>
291
292 * MAINTAINERS: Update my e-mail address.
293
f1ca0d6d
NC
2942018-04-04 Nick Clifton <nickc@redhat.com>
295
296 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
297
8fd75781
NC
2982018-03-23 Nick Clifton <nickc@redhat.com>
299
300 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
301 symbols.
302 (print_gnu_build_attribute_description): If no file start symbol
303 could be found, look for one two bytes into the file.
304 * testsuite/binutils-all/note-4-64.s: Set the address of the file
305 start symbol to two bytes into the file.
306 * testsuite/binutils-all/note-4-32.s: Likewise.
307
b1202ffa
L
3082018-03-21 H.J. Lu <hongjiu.lu@intel.com>
309
310 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
311 DF_1_WEAKFILTER and DF_1_NOCOMMON.
312
7e100140
NC
3132018-03-20 Nick Clifton <nickc@redhat.com>
314
315 * po/es.po: Updated Spanish translation.
316 * po/ru.po: Updated Russian translation.
317
e45ad123
NC
3182018-03-13 Nick Clifton <nickc@redhat.com>
319
320 PR 22957
321 * stabs.c (pop_binincl): Fail if the file index is off the end of
322 the stack.
323
81db3241
NC
3242018-03-13 Nick Clifton <nickc@redhat.com>
325
326 PR 22955
327 * stabs.c (parse_number): Add p_end parameter and use it to check
328 the validity of the pp parameter. Add checks to prevent walking
329 off the end of the string buffer.
330 (parse_stab_string): Likewise.
331 (parse_stab_type): Likewise.
332 (parse_stab_type_number): Likewise.
333 (parse_stab_range_type): Likewise.
334 (parse_stab_sun_builtin_type): Likewise.
335 (parse_stab_sun_floating_type): Likewise.
336 (parse_stab_enum_type): Likewise.
337 (parse_stab_struct_type): Likewise.
338 (parse_stab_baseclasses): Likewise.
339 (parse_stab_struct_fields): Likewise.
340 (parse_stab_cpp_abbrev): Likewise.
341 (parse_stab_one_struct_field): Likewise.
342 (parse_stab_members): Likewise.
343 (parse_stab_tilde_field): Likewise.
344 (parse_stab_array_type): Likewise.
e45ad123 345
81db3241
NC
346 * parse_stab: Compute the end of the string and then pass it on to
347 individual parser functions.
348
6d4f21f6
PP
3492018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
350
351 PR binutils/22923
352 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
353 overflow.
354
52fe4420
AM
3552018-03-07 Alan Modra <amodra@gmail.com>
356
357 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
358 * configure: Regenerate.
359
0e70b27b
L
3602018-03-05 H.J. Lu <hongjiu.lu@intel.com>
361
362 PR binutils/22911
363 * objdump.c (is_significant_symbol_name): Return TRUE for all
364 .plt* sections.
365 (find_symbol_for_address): Replace linear search with binary
366 search on dynamic relocations.
367
d11ae95e
NC
3682018-03-01 Nick Clifton <nickc@redhat.com>
369
370 PR 22905
371 * dwarf.c (display_debug_ranges): Check that the offset loaded
372 from the range_entry structure is valid.
373
e184813f
AM
3742018-03-01 Alan Modra <amodra@gmail.com>
375
376 * configure.ac (ALL_LINGUAS): Add sr. Sort.
377 * configure: Regenerate.
378
bc7c0509
NC
3792018-02-27 Nick Clifton <nickc@redhat.com>
380
381 * po/pt.po: New Portuguese translation.
382 * configure.ac (ALL_LINGUAS): Add pt.
383 * configure: Regenerate.
384
f3185997
NC
3852018-02-27 Nick Clifton <nickc@redhat.com>
386
387 PR 22875
388 * objcopy.c (copy_object): Check the error status after marking
389 symbols used in relocations.
390 * testsuite/binutils-all/strip-13.s: New test source file.
391 * testsuite/binutils-all/strip-13.s: New test driver file.
392 * testsuite/binutils-all/objcopy.exp: Run the new test.
393
2c1c9679
AM
3942018-02-26 Alan Modra <amodra@gmail.com>
395
396 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
397 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
398
6e05870c
AM
3992018-02-23 Alan Modra <amodra@gmail.com>
400
401 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
402 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
403
b0ab9c45
RH
4042018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
405
406 * doc/binutils.texi (objcopy): Add missing closing square
407 parenthesis to listing of objcopy's command line options.
408
e535d0dd
MK
4092018-02-19 Matthias Klose <doko@debian.org>
410
411 * strings.c (long_options): Include-all-whitespace does not take
412 an extra agument.
413
6e5e9d58
AM
4142018-02-13 Alan Modra <amodra@gmail.com>
415
416 PR 22836
417 * testsuite/binutils-all/group-7.s,
418 * testsuite/binutils-all/group-7a.d,
419 * testsuite/binutils-all/group-7b.d,
420 * testsuite/binutils-all/group-7c.d: New tests.
421 * testsuite/binutils-all/objcopy.exp: Run them.
422
8de3a6e2
NC
4232018-02-08 Nick Clifton <nickc@redhat.com>
424
425 PR 22802
426 * dwarf.c (load_separate_debug_file): Return early if the user is
427 not interested in debug links.
428
68807c3c
NC
4292018-02-06 Nick Clifton <nickc@redhat.com>
430
431 PR 22793
432 * readelf.c (find_section): Replace assertion with test and return
433 of NULL.
434 (find_section_by_address): Add test of section header table
435 existance.
436 (find_section_by_type): Likewise.
437 (find_section_in_set): Likewise.
438
2d6dda71
MR
4392018-02-05 Maciej W. Rozycki <macro@mips.com>
440
441 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
442 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
443 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
444 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
445
78c88364
MR
4462018-02-05 Maciej W. Rozycki <macro@mips.com>
447
448 * testsuite/config/default.exp (binutils_run): Document
449 `binutils_run_status'.
450 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
451 and set it.
452 (run_dump_test): Add `error', `error_output', `warning' and
453 `warning_output' options. Update documentation accordingly.
454
5bb0830d
AB
4552018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
456
457 * dwarf.c (dwarf_regnames_riscv): New register name table.
458 (init_dwarf_regnames_riscv): New function.
459 (init_dwarf_regnames): Add call to initialise RiscV register
460 names.
461 * dwarf.h (init_dwarf_regnames_riscv): Declare.
462 * objdump.c (dump_dwarf): Add call to initialise RiscV register
463 names.
464
f2023ce7
AM
4652018-02-01 Alan Modra <amodra@gmail.com>
466
467 PR 22769
468 * objdump.c (load_specific_debug_section): Check for overflow
469 when adding one to section size for a string section terminator.
470
fcabedd5
NC
4712018-01-30 Nick Clifton <nickc@redhat.com>
472
473 PR 22734
474 * doc/binutils.texi (nm): Update description to point out that
475 zero-initialized values can also be shown as type B, b, S or s
476 since they can be stored in the BSS section.
477
f49db8be
AM
4782018-01-30 Alan Modra <amodra@gmail.com>
479
480 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
481 "artificially large" end address.
482
a8d6d6ac
NC
4832018-01-28 Nick Clifton <nickc@redhat.com>
484
485 * README-how-to-make-a-release: Add note about checking gpg key
486 and the results of gnupload.
487
9a5db26e
NC
4882018-01-27 Nick Clifton <nickc@redhat.com>
489
490 * README-how-to-make-a-release: Add details on how to actually
491 make the release.
492
94c2436b
NC
4932018-01-26 Nick Clifton <nickc@redhat.com>
494
495 * README-how-to-make-a-release: Add more details on updating
496 version numbers.
497
1ea332d6
MR
4982018-01-22 Maciej W. Rozycki <macro@mips.com>
499
500 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
501 option description.
502
d65ce302
MR
5032018-01-22 Maciej W. Rozycki <macro@mips.com>
504
505 * MAINTAINERS: Update my company e-mail address.
506
f433138f
NC
5072018-01-22 Nick Clifton <nickc@redhat.com>
508
509 * po/sv.po: Updated Swedish translation.
510
7ab82037
NC
5112018-01-18 Nick Clifton <nickc@redhat.com>
512
513 * po/bg.po: Updated Bulgarian translation.
514
0dd86f32
JB
5152018-01-16 Joel Brobecker <brobecker@adacore.com>
516
517 * README-how-to-make-a-release: Add reminder to update the
518 branch name in gdbadmin's crontab on sourceware.
519
a960d29f
JB
5202018-01-16 Joel Brobecker <brobecker@adacore.com>
521
522 * README-how-to-make-a-release: Remove trailing spaces.
523
f6efed01
NC
5242018-01-16 Nick Clifton <nickc@redhat.com>
525
526 * po/fr.po: Updated French translation.
527
616dcb87
NC
5282018-01-15 Nick Clifton <nickc@redhat.com>
529
530 * po/uk.po: Updated Ukranian translation.
531
3957a496
NC
5322018-01-13 Nick Clifton <nickc@redhat.com>
533
19e2900b 534 * README-how-to-make-a-release: Update notes.
3957a496
NC
535 * po/binutils.pot: Regenerated.
536
769c7ea5
NC
5372018-01-13 Nick Clifton <nickc@redhat.com>
538
539 * configure: Regenerate.
540
9176ac5b
NC
5412018-01-13 Nick Clifton <nickc@redhat.com>
542
faf766e3 543 2.30 branch created.
9176ac5b
NC
544 * NEWS: Add marker for 2.30.
545
98ab9e96
NC
5462018-01-12 Nick Clifton <nickc@redhat.com>
547
548 * README-how-to-make-a-release: Add notes on how to make the
549 branch and prelease snapshot.
550 * BRANCHES: Add binutils-2_29-branch.
551
bf41f30d
NC
5522018-01-10 Nick Clifton <nickc@redhat.com>
553
554 * MAINTAINERS: Note that it is now the configure.ac file and not
555 the configure.in file that needs to be kept in sync with gcc.
556 Add a note about sending patches for libiberty to gcc.
557
f13974bd
NC
5582018-01-03 Nick Clifton <nickc@redhat.com>
559
560 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
561 constants.
562
6f156d7a
NC
5632018-01-03 Nick Clifton <nickc@redhat.com>
564
565 * objcopy.c (objcopy_internal_note): New structure.
566 (gap_exists): New function.
567 (is_open_note): New function.
568 (is_func_note): New function.
569 (is_64bit): New function.
570 (merge_gnu_build_notes): Handle v3 notes. Do not merge
571 if there are relocations against the notes.
572 * readelf.c (get_note_type): Use short names for build attribute
573 notes.
574 (print_symbol_for_build_attribute): Rename to
575 get_symbol_for_build_attribute. Returns the found symbol rather
576 than printing it.
577 (print_gnu_build_attribute_description): Maintain address ranges
578 for function notes as well as global notes. Handle v3 notes.
579 (print_gnu_build_attribute_name): Use more space for printing the
580 name in wide mode.
581 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
582 Eliminate symbol references in order to remove the need for
583 relocations.
584 * testsuite/binutils-all/note-2-64.s: Likewise.
585 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
586 symbol.
587 * testsuite/binutils-all/note-3-64.s: Likewise.
588 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
589 output.
590 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
591 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
592 * testsuite/binutils-all/note-2-32.d: Likewise.
593 * testsuite/binutils-all/note-2-64.d: Likewise.
594 * testsuite/binutils-all/note-3-32.d: Likewise.
595 * testsuite/binutils-all/note-3-64.d: Likewise.
596 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
597 * testsuite/binutils-all/note-4-32.s: New test.
598 * testsuite/binutils-all/note-4-64.d: New test result file.
599 * testsuite/binutils-all/note-4-32.d: New test result file.
600
219d1afa
AM
6012018-01-03 Alan Modra <amodra@gmail.com>
602
603 Update year range in copyright notice of all files.
604
1e563868 605For older changes see ChangeLog-2017
3499769a 606\f
1e563868 607Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
608
609Copying and distribution of this file, with or without modification,
610are permitted in any medium without royalty provided the copyright
611notice and this notice are preserved.
612
613Local Variables:
614mode: change-log
615left-margin: 8
616fill-column: 74
617version-control: never
618End:
This page took 0.270477 seconds and 4 git commands to generate.