Don't generate empty reloc sections
[binutils-gdb.git] / binutils / ChangeLog
1 2012-04-12 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR binutils/13947
4 * objcopy.c (copy_object): Call copy_relocations_in_section
5 before copy_section.
6 (skip_section): New.
7 (copy_relocations_in_section): Likewise.
8 (copy_section): Use skip_section. Don't copy relocations here.
9
10 2012-04-11 Ryan Mansfield <rmansfield@qnx.com>
11
12 * objdump.c (dump_bfd): If defaulting to dwarf call
13 dwarf_select_sections_all to enable displays.
14
15 2012-04-06 Roland McGrath <mcgrathr@google.com>
16
17 * configure.in (AC_CHECK_HEADERS): Add locale.h.
18 * config.in: Regenerate.
19 * configure: Regenerate.
20
21 2012-04-05 Nick Clifton <nickc@redhat.com>
22
23 * configure.in (AC_CHECK_FUNCS): Add setlocale.
24 (AM_LC_MESSAGES): Add.
25 * aclocal.m4: Regenerate.
26 * config.in: Regenerate.
27 * configure: Regenerate.
28
29 2012-03-30 Nick Clifton <nickc@redhat.com>
30
31 PR binutils/13925
32 * stabs.c (stab_demangle_v3_arglist): Cope with the demangler
33 returning an empty context for a function with no arguments.
34
35 2012-03-28 Tom Tromey <tromey@redhat.com>
36
37 * dwarf.c (display_gdb_index): Handle index version 6.
38
39 2012-03-07 Nick Clifton <nickc@redhat.com>
40
41 * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
42
43 2012-02-29 Jeff Law <law@redhat.com>
44
45 * doc/binutils.texi (c++filt): Fix typos.
46
47 2012-02-24 Kai Tietz <ktietz@redhat.com>
48
49 PR binutils/13710
50 * defparse.y (keyword_as_name): Disable LIBRARY
51 keyword.
52 * doc/binutils.texi: Document LIBRARY exception.
53
54 2012-02-21 Kai Tietz<ktietz@redhat.com>
55
56 PR binutils/13682
57 * NEWS: Mention new feature.
58 * dlltool.c (i386_x64_dljtab): New stub-code for x64
59 delayed-load feature.
60 (i386_x64_trampoline): New trampoline-code for x64
61 delayed-load feature.
62 (make_one_lib_file): Add support for x64 delayed-load
63 feature.
64 (make_delay_head): Likewis
65
66 2012-02-20 Namhyung Kim <namhyung.kim@lge.com>
67
68 * objdump.c (slurp_file): Close file if fstat fails.
69
70 2012-02-14 Cary Coutant <ccoutant@google.com>
71
72 * dwarf.c (dwarf_vmatoa64): New function.
73 (read_and_display_attr_value): Print 8-byte forms as single hex
74 numbers.
75 (process_debug_info): Print type signatures as single hex numbers.
76 * elfcomm.c (byte_get_64): New function.
77 * elfcomm.h (byte_get_64): New function.
78
79 2012-02-11 Kai Tietz <ktietz@redhat.com>
80
81 PR binutils/13657
82 * defparse.y (%union): New type id_const.
83 (opt_name2): New rule.
84 (keyword_as_name): New rule.
85 (opt_name): Adjust rule.
86 (opt_import_name): Likewise.
87 (opt_equal_name): Likewise.
88
89 2012-02-11 Kai Tietz <ktietz@redhat.com>
90
91 PR binutils/13297
92 * resrc.c (write_rc_dialog_control): Omit text dump for
93 EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
94
95 2012-02-09 Alan Modra <amodra@gmail.com>
96
97 * sysdep.h: Include sys/stat.h here.
98 * ar.c: Don't include headers already included by sysdep.h.
99 * bucomm.c: Likewise.
100 * budbg.h: Likewise.
101 * dlltool.h: Likewise.
102 * elfedit.c: Likewise.
103 * nlmconv.c: Likewise.
104 * objcopy.c: Likewise.
105 * objdump.c: Likewise.
106 * objdump.h: Likewise.
107 * readelf.c: Likewise.
108 * rename.c: Likewise.
109 * resrc.c: Likewise.
110 * strings.c: Likewise.
111 * windres.c: Likewise.
112 * od-macho.c: Ensure #include sysdep.h is first.
113 * od-xcoff.c: Likewise.
114 * dllwrap.c: Remove alloca pragma handled by sysdep.h, and
115 remove duplicate headers.
116 * dlltool.c: Likewise and ensure #include sysdep.h is first.
117
118 2012-02-01 Nick Clifton <nickc@redhat.com>
119
120 PR binutils/13493
121 * ar.c (ranlib_main): Process --plugin option.
122 * doc/binutils.texi: Document --plugin support for ranlib.
123
124 2012-02-01 Nick Clifton <nickc@redhat.com>
125
126 PR binutils/13482
127 * readelf.c (process_corefile_note_segment): Fix off-by-one errors
128 verifying the contents of a note.
129
130 2012-01-26 Nick Clifton <nickc@redhat.com>
131
132 PR binutils/13622
133 * readelf.c (process_section_groups): If there are no section
134 headers do not scan for section groups.
135 (process_note_sections): Likewise for note sections.
136
137 2012-01-20 Tristan Gingold <gingold@adacore.com>
138
139 * od-macho.c (OPT_SEG_SPLIT_INFO): New macro.
140 (options): Add an entry for seg_split_info.
141 (mach_o_help): Document it.
142 (dump_segment_split_info): New function.
143 (dump_load_command): Handle seg_split_info.
144
145 2012-01-19 Tristan Gingold <gingold@adacore.com>
146
147 * dwarf.c (process_extended_line_op): Add a cast to silent a
148 warning.
149
150 2012-01-19 Tristan Gingold <gingold@adacore.com>
151
152 * dwarf.c (process_extended_line_op): Reindent define_file output.
153 Detect define_file opcode length mismatch.
154 (display_debug_lines_decoded): Add an entry in file_table for each
155 define_file opcode.
156 Ignore DW_LNE_set_discriminator and DW_LNE_HP_set_sequence.
157 Display extended opcode for unhandle opcode.
158
159 2012-01-17 Alan Modra <amodra@gmail.com>
160
161 * version.c (print_version): Update copyright message year.
162
163 2012-01-16 Alan Modra <amodra@gmail.com>
164
165 PR binutils/13593
166 * nm.c (OPTION_SIZE_SORT): Define.
167 (long_options): Don't set no_sort, sort_numerically or
168 sort_by_size directly.
169 (main): Instead set the flags here, making them mutually exclusive.
170
171 2012-01-10 Tristan Gingold <gingold@adacore.com>
172
173 * objdump.c (display_object_bfd): Renamed from ...
174 (display_bfd): ... this.
175 (display_any_bfd): New function.
176 (display_file): Split. Handle nested archives.
177
178 2012-01-09 Roland McGrath <mcgrathr@google.com>
179
180 * configure.in: Use AM_ZLIB.
181 * configure: Regenerated.
182
183 2012-01-06 Nick Clifton <nickc@redhat.com>
184
185 * po/ru.po: Updated Russian translation.
186
187 2012-01-04 Tristan Gingold <gingold@adacore.com>
188
189 * od-macho.c (dump_load_command): Handle fvmlib.
190
191 2012-01-04 Tristan Gingold <gingold@adacore.com>
192
193 * od-macho.c: Update copyright year.
194 (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
195
196 For older changes see ChangeLog-2011
197 \f
198 Local Variables:
199 mode: change-log
200 left-margin: 8
201 fill-column: 74
202 version-control: never
203 End: