Run a few more binutils tests non-native
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2018-05-31 Alan Modra <amodra@gmail.com>
2
3 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
4 set CC_FOR_TARGET. Run test non-native.
5 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
6 Likewise.
7 (test_follow_debuglink): Run test non-native.
8
9 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
10
11 PR 23107
12 * ar.c (display_offsets): New variable.
13 (usage): Add description of 'O' operator.
14 (decode_option): Handle 'O' operator.
15 (print_descr): Pass display_offsets to print_arelt_descr.
16 * arsup.c: Update call to printy_arelt_descr.
17 * objdump.c: Likewise.
18 * bucomm.c (print_arelt_descr): If offsets parameter is true then
19 display offset of archive element within the archive.
20 * bucomm.h: Update prototype for print_arelt_descr.
21 * doc/binutils.texi: Update description of ar command.
22 * NEWS: Mention the new feature.
23 * testsuite/binutils-all/ar.exp: Add text of new feature.
24
25 2018-05-28 Alan Modra <amodra@gmail.com>
26
27 PR 23235
28 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
29 unsupported rather than fail on compile errors.
30 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
31 Likewise. Save and restore CFLAGS_FOR_TARGET.
32
33 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
34
35 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
36
37 2018-05-18 John Darrington <john@darrington.wattle.id.au>
38
39 * readelf.c: Add support for s12z architecture.
40 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
41 targets.
42
43 2018-05-15 Tamar Christina <tamar.christina@arm.com>
44
45 PR binutils/21446
46 * doc/binutils.texi (-M): Document AArch64 options.
47
48 2018-05-15 Tamar Christina <tamar.christina@arm.com>
49
50 PR binutils/21446
51 * doc/binutils.texi (-M): Document AArch64 options.
52 * NEWS: Document notes and warnings.
53
54 2018-05-15 Alan Modra <amodra@gmail.com>
55
56 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
57 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
58 and *uclinux* into *linux*.
59 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
60 strip-13 test, exclude arm-vxworks and arm-windiss.
61
62 2018-05-10 John Darrington <john@darrington.wattle.id.au>
63
64 * readelf.c (get_machine_name): EM_S12Z - handle new case.
65
66 2018-05-09 Alan Modra <amodra@gmail.com>
67
68 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
69
70 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
71
72 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
73
74 2018-05-08 Alan Modra <amodra@gmail.com>
75
76 PR 23141
77 * objcopy.c (is_strip_section): Strip groups without a valid
78 signature symbol.
79
80 2018-05-07 Alan Modra <amodra@gmail.com>
81
82 PR 23142
83 * objcopy.c (group_signature): Don't accept groups that use a
84 symbol table other than the one we've read.
85
86 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
87
88 * readelf.c: Very basic support for EM_NFP and its section types.
89 * testsuite/binutils-all/nfp: New directory.
90 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
91 tests.
92 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
93 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
94 * testsuite/binutils-all/nfp/test1.d: New file.
95 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
96 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
97 * NEWS: Mention the new support.
98
99 2018-04-27 Maciej W. Rozycki <macro@mips.com>
100
101 * testsuite/lib/binutils-common.exp (match_target): New procedure.
102 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
103 of `istarget' for matching with `target', `not-target', `skip'
104 and `not-skip' options.
105
106 2018-04-26 Nick Clifton <nickc@redhat.com>
107
108 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
109 32-bit absolute reloc for the HPPA target.
110 * testsuite/binutils-all/note-5.d: New test.
111 * testsuite/binutils-all/note-5.s: Source file for new test.
112 * testsuite/binutils-all/objcopy.exp: Run new test.
113
114 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
115
116 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
117 * testsuite/binutils-all/elfedit-3.d: Likewise.
118 * testsuite/binutils-all/objcopy.exp: Likewise.
119 * testsuite/binutils-all/strip-3.d: Likewise.
120 * testsuite/lib/binutils-common.exp: Likewise.
121
122 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
123 Mickaël Guêné <mickael.guene@st.com>
124
125 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
126 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
127
128 2018-04-25 Alan Modra <amodra@gmail.com>
129
130 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
131 arm-coff support.
132 * testsuite/binutils-all/objcopy.exp: Likewise.
133 * testsuite/lib/binutils-common.exp: Likewise.
134
135 2018-04-18 Nick Clifton <nickc@redhat.com>
136
137 PR 23062
138 * dwarf.c (read_and_display_attr_value): Replace assertions with
139 test and warning message.
140
141 2018-04-18 Alan Modra <amodra@gmail.com>
142
143 * testsuite/lib/binutils-common.exp: Remove support for assorted
144 aout targets.
145
146 2018-04-17 Nick Clifton <nickc@redhat.com>
147
148 PR 23063
149 * readelf.c (print_symbol): If the width is zero, return straight
150 away.
151
152 PR 23064
153 * dwarf.c (process_cu_tu_index): Test for a potential buffer
154 overrun before copying signature pointer.
155
156 2018-04-17 Alan Modra <amodra@gmail.com>
157
158 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
159
160 2018-04-16 Alan Modra <amodra@gmail.com>
161
162 * readelf.c (get_machine_name): Correct typo.
163
164 2018-04-16 Alan Modra <amodra@gmail.com>
165
166 * configure.ac: Remove arm-epoc-pe support.
167 * dlltool.c: Likewise.
168 * configure: Regenerate.
169
170 2018-04-16 Alan Modra <amodra@gmail.com>
171
172 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
173 sparc-coff support.
174
175 2018-04-16 Alan Modra <amodra@gmail.com>
176
177 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
178 support.
179 * testsuite/binutils-all/copy-3.d: Likewise.
180 * testsuite/binutils-all/objcopy.exp: Likewise.
181 * testsuite/lib/binutils-common.exp: Likewise.
182
183 2018-04-16 Alan Modra <amodra@gmail.com>
184
185 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
186
187 2018-04-16 Alan Modra <amodra@gmail.com>
188
189 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
190
191 2018-04-16 Alan Modra <amodra@gmail.com>
192
193 * testsuite/binutils-all/objdump.exp: Remove we32k support.
194
195 2018-04-16 Alan Modra <amodra@gmail.com>
196
197 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
198 * testsuite/binutils-all/objdump.exp: Remove m88k support.
199
200 2018-04-16 Alan Modra <amodra@gmail.com>
201
202 * readelf.c: Remove i370 support.
203 * testsuite/binutils-all/objdump.exp: Likewise.
204
205 2018-04-16 Alan Modra <amodra@gmail.com>
206
207 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
208 * testsuite/lib/binutils-common.exp: Likewise.
209
210 2018-04-16 Alan Modra <amodra@gmail.com>
211
212 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
213
214 2018-04-16 Alan Modra <amodra@gmail.com>
215
216 * Makefile.am: Remove IEEE 695 support.
217 * budbg.h: Likewise.
218 * doc/binutils.texi: Likewise.
219 * makefile.vms: Likewise.
220 * objcopy.c: Likewise.
221 * objdump.c: Likewise.
222 * rddbg.c: Likewise.
223 * ieee.c: Delete.
224 * Makefile.in: Regenerate.
225 * po/POTFILES.in: Regenerate.
226
227 2018-04-16 Alan Modra <amodra@gmail.com>
228
229 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
230 * testsuite/binutils-all/nm.exp: Likewise.
231
232 2018-04-16 Alan Modra <amodra@gmail.com>
233
234 * .gitignore: Remove netware support.
235 * Makefile.am: Likewise.
236 * configure.ac: Likewise.
237 * doc/Makefile.am: Likewise.
238 * doc/binutils.texi: Likewise.
239 * testsuite/binutils-all/nm.exp: Likewise.
240 * nlmconv.c: Delete.
241 * nlmconv.h: Delete.
242 * nlmheader.y: Delete.
243 * Makefile.in: Regenerate.
244 * configure: Regenerate.
245 * doc/Makefile.in: Regenerate.
246 * po/POTFILES.in: Regenerate.
247
248 2018-04-16 Alan Modra <amodra@gmail.com>
249
250 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
251
252 2018-04-14 Alan Modra <amodra@gmail.com>
253
254 * readelf.c (get_machine_name): Revert 2018-04-11 change.
255
256 2018-04-12 Nick Clifton <nickc@redhat.com>
257
258 PR 23050
259 * readelf.c (process_dynamic_section): Correct dynamic string
260 table size calculation.
261
262 2018-04-11 Alan Modra <amodra@gmail.com>
263
264 * ieee.c: Remove i960 support.
265 * od-macho.c: Remove i860 support.
266 * readelf.c: Remove i860 and i960 support.
267 * testsuite/binutils-all/objcopy.exp: Likewise.
268 * testsuite/binutils-all/objdump.exp: Likewise.
269 * testsuite/lib/binutils-common.exp: Likewise.
270
271 2018-04-11 Maciej W. Rozycki <macro@mips.com>
272
273 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
274 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
275
276 2018-04-10 Alan Modra <amodra@gmail.com>
277
278 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
279 reloc=11 for pru and reloc=50 for nds32.
280 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
281
282 2018-04-09 Maciej W. Rozycki <macro@mips.com>
283
284 * testsuite/binutils-all/strip-15.d: New test.
285 * testsuite/binutils-all/strip-15rel.s: New test source.
286 * testsuite/binutils-all/strip-15rela.s: New test source.
287 * testsuite/binutils-all/strip-15mips64.s: New test source.
288 * testsuite/binutils-all/objcopy.exp: Run the new test.
289
290 2018-04-09 Maciej W. Rozycki <macro@mips.com>
291
292 * testsuite/binutils-all/strip-14.d: New test.
293 * testsuite/binutils-all/strip-14rel.s: New test source.
294 * testsuite/binutils-all/strip-14rela.s: New test source.
295 * testsuite/binutils-all/strip-14mips64.s: New test source.
296 * testsuite/binutils-all/objcopy.exp: Run the new test.
297
298 2018-04-06 Tom Tromey <tom@tromey.com>
299
300 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
301 constants from DWARF 5.
302
303 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
304
305 PR gas/22318
306 * configure: Regenerated.
307
308 2018-04-05 Maciej W. Rozycki <macro@mips.com>
309
310 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
311 than `.dc.w' in second relocation.
312
313 2018-04-05 Maciej W. Rozycki <macro@mips.com>
314
315 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
316 relocation type 0x8f' error message.
317
318 2018-04-05 Maciej W. Rozycki <macro@mips.com>
319
320 * testsuite/binutils-all/strip-13.s: Rename to...
321 * testsuite/binutils-all/strip-13rela.s: ... this.
322 * testsuite/binutils-all/strip-13rel.s: New test source.
323 * testsuite/binutils-all/strip-13mips64.s: New test source.
324 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
325 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
326 `m68hc11-*' to `not-target' list.
327 * testsuite/binutils-all/objcopy.exp: Switch between sources for
328 `strip-13'.
329
330 2018-04-05 Maciej W. Rozycki <macro@mips.com>
331
332 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
333 241 (0xf1) for the relocation number and RELA addend.
334 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
335 `not-target' list.
336
337 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
338
339 * MAINTAINERS: Update my e-mail address.
340
341 2018-04-04 Nick Clifton <nickc@redhat.com>
342
343 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
344
345 2018-03-23 Nick Clifton <nickc@redhat.com>
346
347 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
348 symbols.
349 (print_gnu_build_attribute_description): If no file start symbol
350 could be found, look for one two bytes into the file.
351 * testsuite/binutils-all/note-4-64.s: Set the address of the file
352 start symbol to two bytes into the file.
353 * testsuite/binutils-all/note-4-32.s: Likewise.
354
355 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
356
357 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
358 DF_1_WEAKFILTER and DF_1_NOCOMMON.
359
360 2018-03-20 Nick Clifton <nickc@redhat.com>
361
362 * po/es.po: Updated Spanish translation.
363 * po/ru.po: Updated Russian translation.
364
365 2018-03-13 Nick Clifton <nickc@redhat.com>
366
367 PR 22957
368 * stabs.c (pop_binincl): Fail if the file index is off the end of
369 the stack.
370
371 2018-03-13 Nick Clifton <nickc@redhat.com>
372
373 PR 22955
374 * stabs.c (parse_number): Add p_end parameter and use it to check
375 the validity of the pp parameter. Add checks to prevent walking
376 off the end of the string buffer.
377 (parse_stab_string): Likewise.
378 (parse_stab_type): Likewise.
379 (parse_stab_type_number): Likewise.
380 (parse_stab_range_type): Likewise.
381 (parse_stab_sun_builtin_type): Likewise.
382 (parse_stab_sun_floating_type): Likewise.
383 (parse_stab_enum_type): Likewise.
384 (parse_stab_struct_type): Likewise.
385 (parse_stab_baseclasses): Likewise.
386 (parse_stab_struct_fields): Likewise.
387 (parse_stab_cpp_abbrev): Likewise.
388 (parse_stab_one_struct_field): Likewise.
389 (parse_stab_members): Likewise.
390 (parse_stab_tilde_field): Likewise.
391 (parse_stab_array_type): Likewise.
392
393 * parse_stab: Compute the end of the string and then pass it on to
394 individual parser functions.
395
396 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
397
398 PR binutils/22923
399 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
400 overflow.
401
402 2018-03-07 Alan Modra <amodra@gmail.com>
403
404 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
405 * configure: Regenerate.
406
407 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
408
409 PR binutils/22911
410 * objdump.c (is_significant_symbol_name): Return TRUE for all
411 .plt* sections.
412 (find_symbol_for_address): Replace linear search with binary
413 search on dynamic relocations.
414
415 2018-03-01 Nick Clifton <nickc@redhat.com>
416
417 PR 22905
418 * dwarf.c (display_debug_ranges): Check that the offset loaded
419 from the range_entry structure is valid.
420
421 2018-03-01 Alan Modra <amodra@gmail.com>
422
423 * configure.ac (ALL_LINGUAS): Add sr. Sort.
424 * configure: Regenerate.
425
426 2018-02-27 Nick Clifton <nickc@redhat.com>
427
428 * po/pt.po: New Portuguese translation.
429 * configure.ac (ALL_LINGUAS): Add pt.
430 * configure: Regenerate.
431
432 2018-02-27 Nick Clifton <nickc@redhat.com>
433
434 PR 22875
435 * objcopy.c (copy_object): Check the error status after marking
436 symbols used in relocations.
437 * testsuite/binutils-all/strip-13.s: New test source file.
438 * testsuite/binutils-all/strip-13.s: New test driver file.
439 * testsuite/binutils-all/objcopy.exp: Run the new test.
440
441 2018-02-26 Alan Modra <amodra@gmail.com>
442
443 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
444 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
445
446 2018-02-23 Alan Modra <amodra@gmail.com>
447
448 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
449 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
450
451 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
452
453 * doc/binutils.texi (objcopy): Add missing closing square
454 parenthesis to listing of objcopy's command line options.
455
456 2018-02-19 Matthias Klose <doko@debian.org>
457
458 * strings.c (long_options): Include-all-whitespace does not take
459 an extra agument.
460
461 2018-02-13 Alan Modra <amodra@gmail.com>
462
463 PR 22836
464 * testsuite/binutils-all/group-7.s,
465 * testsuite/binutils-all/group-7a.d,
466 * testsuite/binutils-all/group-7b.d,
467 * testsuite/binutils-all/group-7c.d: New tests.
468 * testsuite/binutils-all/objcopy.exp: Run them.
469
470 2018-02-08 Nick Clifton <nickc@redhat.com>
471
472 PR 22802
473 * dwarf.c (load_separate_debug_file): Return early if the user is
474 not interested in debug links.
475
476 2018-02-06 Nick Clifton <nickc@redhat.com>
477
478 PR 22793
479 * readelf.c (find_section): Replace assertion with test and return
480 of NULL.
481 (find_section_by_address): Add test of section header table
482 existance.
483 (find_section_by_type): Likewise.
484 (find_section_in_set): Likewise.
485
486 2018-02-05 Maciej W. Rozycki <macro@mips.com>
487
488 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
489 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
490 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
491 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
492
493 2018-02-05 Maciej W. Rozycki <macro@mips.com>
494
495 * testsuite/config/default.exp (binutils_run): Document
496 `binutils_run_status'.
497 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
498 and set it.
499 (run_dump_test): Add `error', `error_output', `warning' and
500 `warning_output' options. Update documentation accordingly.
501
502 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
503
504 * dwarf.c (dwarf_regnames_riscv): New register name table.
505 (init_dwarf_regnames_riscv): New function.
506 (init_dwarf_regnames): Add call to initialise RiscV register
507 names.
508 * dwarf.h (init_dwarf_regnames_riscv): Declare.
509 * objdump.c (dump_dwarf): Add call to initialise RiscV register
510 names.
511
512 2018-02-01 Alan Modra <amodra@gmail.com>
513
514 PR 22769
515 * objdump.c (load_specific_debug_section): Check for overflow
516 when adding one to section size for a string section terminator.
517
518 2018-01-30 Nick Clifton <nickc@redhat.com>
519
520 PR 22734
521 * doc/binutils.texi (nm): Update description to point out that
522 zero-initialized values can also be shown as type B, b, S or s
523 since they can be stored in the BSS section.
524
525 2018-01-30 Alan Modra <amodra@gmail.com>
526
527 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
528 "artificially large" end address.
529
530 2018-01-28 Nick Clifton <nickc@redhat.com>
531
532 * README-how-to-make-a-release: Add note about checking gpg key
533 and the results of gnupload.
534
535 2018-01-27 Nick Clifton <nickc@redhat.com>
536
537 * README-how-to-make-a-release: Add details on how to actually
538 make the release.
539
540 2018-01-26 Nick Clifton <nickc@redhat.com>
541
542 * README-how-to-make-a-release: Add more details on updating
543 version numbers.
544
545 2018-01-22 Maciej W. Rozycki <macro@mips.com>
546
547 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
548 option description.
549
550 2018-01-22 Maciej W. Rozycki <macro@mips.com>
551
552 * MAINTAINERS: Update my company e-mail address.
553
554 2018-01-22 Nick Clifton <nickc@redhat.com>
555
556 * po/sv.po: Updated Swedish translation.
557
558 2018-01-18 Nick Clifton <nickc@redhat.com>
559
560 * po/bg.po: Updated Bulgarian translation.
561
562 2018-01-16 Joel Brobecker <brobecker@adacore.com>
563
564 * README-how-to-make-a-release: Add reminder to update the
565 branch name in gdbadmin's crontab on sourceware.
566
567 2018-01-16 Joel Brobecker <brobecker@adacore.com>
568
569 * README-how-to-make-a-release: Remove trailing spaces.
570
571 2018-01-16 Nick Clifton <nickc@redhat.com>
572
573 * po/fr.po: Updated French translation.
574
575 2018-01-15 Nick Clifton <nickc@redhat.com>
576
577 * po/uk.po: Updated Ukranian translation.
578
579 2018-01-13 Nick Clifton <nickc@redhat.com>
580
581 * README-how-to-make-a-release: Update notes.
582 * po/binutils.pot: Regenerated.
583
584 2018-01-13 Nick Clifton <nickc@redhat.com>
585
586 * configure: Regenerate.
587
588 2018-01-13 Nick Clifton <nickc@redhat.com>
589
590 2.30 branch created.
591 * NEWS: Add marker for 2.30.
592
593 2018-01-12 Nick Clifton <nickc@redhat.com>
594
595 * README-how-to-make-a-release: Add notes on how to make the
596 branch and prelease snapshot.
597 * BRANCHES: Add binutils-2_29-branch.
598
599 2018-01-10 Nick Clifton <nickc@redhat.com>
600
601 * MAINTAINERS: Note that it is now the configure.ac file and not
602 the configure.in file that needs to be kept in sync with gcc.
603 Add a note about sending patches for libiberty to gcc.
604
605 2018-01-03 Nick Clifton <nickc@redhat.com>
606
607 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
608 constants.
609
610 2018-01-03 Nick Clifton <nickc@redhat.com>
611
612 * objcopy.c (objcopy_internal_note): New structure.
613 (gap_exists): New function.
614 (is_open_note): New function.
615 (is_func_note): New function.
616 (is_64bit): New function.
617 (merge_gnu_build_notes): Handle v3 notes. Do not merge
618 if there are relocations against the notes.
619 * readelf.c (get_note_type): Use short names for build attribute
620 notes.
621 (print_symbol_for_build_attribute): Rename to
622 get_symbol_for_build_attribute. Returns the found symbol rather
623 than printing it.
624 (print_gnu_build_attribute_description): Maintain address ranges
625 for function notes as well as global notes. Handle v3 notes.
626 (print_gnu_build_attribute_name): Use more space for printing the
627 name in wide mode.
628 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
629 Eliminate symbol references in order to remove the need for
630 relocations.
631 * testsuite/binutils-all/note-2-64.s: Likewise.
632 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
633 symbol.
634 * testsuite/binutils-all/note-3-64.s: Likewise.
635 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
636 output.
637 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
638 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
639 * testsuite/binutils-all/note-2-32.d: Likewise.
640 * testsuite/binutils-all/note-2-64.d: Likewise.
641 * testsuite/binutils-all/note-3-32.d: Likewise.
642 * testsuite/binutils-all/note-3-64.d: Likewise.
643 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
644 * testsuite/binutils-all/note-4-32.s: New test.
645 * testsuite/binutils-all/note-4-64.d: New test result file.
646 * testsuite/binutils-all/note-4-32.d: New test result file.
647
648 2018-01-03 Alan Modra <amodra@gmail.com>
649
650 Update year range in copyright notice of all files.
651
652 For older changes see ChangeLog-2017
653 \f
654 Copyright (C) 2018 Free Software Foundation, Inc.
655
656 Copying and distribution of this file, with or without modification,
657 are permitted in any medium without royalty provided the copyright
658 notice and this notice are preserved.
659
660 Local Variables:
661 mode: change-log
662 left-margin: 8
663 fill-column: 74
664 version-control: never
665 End:
This page took 0.046738 seconds and 4 git commands to generate.