PR22769, crash when running 32-bit objdump on corrupted file
[external/binutils.git] / binutils / ChangeLog
1 2018-02-01  Alan Modra  <amodra@gmail.com>
2
3         PR 22769
4         * objdump.c (load_specific_debug_section): Check for overflow
5         when adding one to section size for a string section terminator.
6
7 2018-01-30  Nick Clifton  <nickc@redhat.com>
8
9         PR 22734
10         * doc/binutils.texi (nm): Update description to point out that
11         zero-initialized values can also be shown as type B, b, S or s
12         since they can be stored in the BSS section.
13
14 2018-01-30  Alan Modra  <amodra@gmail.com>
15
16         * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
17         "artificially large" end address.
18
19 2018-01-28  Nick Clifton  <nickc@redhat.com>
20
21         * README-how-to-make-a-release: Add note about checking gpg key
22         and the results of gnupload.
23
24 2018-01-27  Nick Clifton  <nickc@redhat.com>
25
26         * README-how-to-make-a-release: Add details on how to actually
27         make the release.
28
29 2018-01-26  Nick Clifton  <nickc@redhat.com>
30
31         * README-how-to-make-a-release: Add more details on updating
32         version numbers.
33
34 2018-01-22  Maciej W. Rozycki  <macro@mips.com>
35
36         * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
37         option description.
38
39 2018-01-22  Maciej W. Rozycki  <macro@mips.com>
40
41         * MAINTAINERS: Update my company e-mail address.
42
43 2018-01-22  Nick Clifton  <nickc@redhat.com>
44
45         * po/sv.po: Updated Swedish translation.
46
47 2018-01-18  Nick Clifton  <nickc@redhat.com>
48
49         * po/bg.po: Updated Bulgarian translation.
50
51 2018-01-16  Joel Brobecker  <brobecker@adacore.com>
52
53         * README-how-to-make-a-release: Add reminder to update the
54         branch name in gdbadmin's crontab on sourceware.
55
56 2018-01-16  Joel Brobecker  <brobecker@adacore.com>
57
58         * README-how-to-make-a-release: Remove trailing spaces.
59
60 2018-01-16  Nick Clifton  <nickc@redhat.com>
61
62         * po/fr.po: Updated French translation.
63
64 2018-01-15  Nick Clifton  <nickc@redhat.com>
65
66         * po/uk.po: Updated Ukranian translation.
67
68 2018-01-13  Nick Clifton  <nickc@redhat.com>
69
70         * README-how-to-make-a-release: Update notes.
71         * po/binutils.pot: Regenerated.
72
73 2018-01-13  Nick Clifton  <nickc@redhat.com>
74
75         * configure: Regenerate.
76
77 2018-01-13  Nick Clifton  <nickc@redhat.com>
78
79         2.30 branch created.
80         * NEWS: Add marker for 2.30.
81
82 2018-01-12  Nick Clifton  <nickc@redhat.com>
83
84         * README-how-to-make-a-release: Add notes on how to make the
85         branch and prelease snapshot.
86         * BRANCHES: Add binutils-2_29-branch.
87
88 2018-01-10  Nick Clifton  <nickc@redhat.com>
89
90         * MAINTAINERS: Note that it is now the configure.ac file and not
91         the configure.in file that needs to be kept in sync with gcc.
92         Add a note about sending patches for libiberty to gcc.
93
94 2018-01-03  Nick Clifton  <nickc@redhat.com>
95
96         * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
97         constants.
98
99 2018-01-03  Nick Clifton  <nickc@redhat.com>
100
101         * objcopy.c (objcopy_internal_note): New structure.
102         (gap_exists): New function.
103         (is_open_note): New function.
104         (is_func_note): New function.
105         (is_64bit): New function.
106         (merge_gnu_build_notes): Handle v3 notes.  Do not merge
107         if there are relocations against the notes.
108         * readelf.c (get_note_type): Use short names for build attribute
109         notes.
110         (print_symbol_for_build_attribute): Rename to
111         get_symbol_for_build_attribute.  Returns the found symbol rather
112         than printing it.
113         (print_gnu_build_attribute_description): Maintain address ranges
114         for function notes as well as global notes.  Handle v3 notes.
115         (print_gnu_build_attribute_name): Use more space for printing the
116         name in wide mode.
117         * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
118         Eliminate symbol references in order to remove the need for
119         relocations.
120         * testsuite/binutils-all/note-2-64.s: Likewise.
121         * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
122         symbol.
123         * testsuite/binutils-all/note-3-64.s: Likewise.
124         * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
125         output.
126         * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
127         * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
128         * testsuite/binutils-all/note-2-32.d: Likewise.
129         * testsuite/binutils-all/note-2-64.d: Likewise.
130         * testsuite/binutils-all/note-3-32.d: Likewise.
131         * testsuite/binutils-all/note-3-64.d: Likewise.
132         * testsuite/binutils-all/note-4-64.s: New test.  Checks v3 notes.
133         * testsuite/binutils-all/note-4-32.s: New test.
134         * testsuite/binutils-all/note-4-64.d: New test result file.
135         * testsuite/binutils-all/note-4-32.d: New test result file.
136
137 2018-01-03  Alan Modra  <amodra@gmail.com>
138
139         Update year range in copyright notice of all files.
140
141 For older changes see ChangeLog-2017
142 \f
143 Copyright (C) 2018 Free Software Foundation, Inc.
144
145 Copying and distribution of this file, with or without modification,
146 are permitted in any medium without royalty provided the copyright
147 notice and this notice are preserved.
148
149 Local Variables:
150 mode: change-log
151 left-margin: 8
152 fill-column: 74
153 version-control: never
154 End: