backends: sparc uses NONE relocation type in ET_EXEC and ET_DYN files
[platform/upstream/elfutils.git] / backends / ChangeLog
1 2023-01-19  Mark Wielaard  <mark@klomp.org>
2
3         * sparc_reloc.def (NONE): Add EXEC and DYN.
4
5 2022-12-21  Shahab Vahedi  <shahab@synopsys.email>
6
7         * Makefile.am (modules): Add arc.
8         (arc_SRCS): Added.
9         (libebl_backends_a_SOURCES): Append arc_SRCS.
10         * arc_init.c: New file.
11         * arc_reloc.def: New file.
12         * arc_symbol.c: New file.
13
14 2022-12-02  Hengqi Chen  <hengqi.chen@gmail.com>
15
16         * Makefile.am (modules): Add loongarch.
17         * loongarch_init.c: New file.
18         * loongarch_reloc.def: New file.
19         * loongarch_symbol.c: New file.
20
21 2022-08-09  Andreas Schwab  <schwab@suse.de>
22
23         * riscv_init.c (riscv_init): HOOK segment_type_name,
24         section_type_name, dynamic_tag_name and dynamic_tag_check.
25         * riscv_symbol.c (riscv_segment_type_name): New function.
26         (riscv_section_type_name): Likewise.
27         (riscv_dynamic_tag_name): Likewise.
28         (riscv_dynamic_tag_check): Likewise.
29
30 2022-06-01  Ulrich Drepper  <drepper@redhat.com>
31
32         * Makefile.am (arm_SRCS): Add arm_machineflagname.c.
33         * arm_init.c (arm_init): Hook in arm_machine_flag_name.
34         * arm_machineflagname.c: New file.
35
36 2022-02-16  Mark Wielaard  <mark@klomp.org>
37
38         * ppc_initreg.c (ppc_set_initial_registers_tid): Define struct
39         pt_regs32. Use PTRACE_GETREGSET.
40
41 2021-09-29  William Cohen  <wcohen@redhat.com>
42
43         * riscv_init.c (riscv_return_value_location_lp64f): New function
44         declaration.
45         (riscv_return_value_location_lp64): Likewise.
46         (riscv_init): Set return_value_location based on elf class and
47         ehdr flags.
48         * riscv_retval.c (riscv_return_value_location_lp64d): Renamed to...
49         (riscv_return_value_location_lp64ifd): ...this. Handle single,
50         double, float _Complex and double _Complex cases.
51         (riscv_return_value_location_lp64d): New function.
52         (riscv_return_value_location_lp64f): Likewise.
53
54 2021-04-19  Martin Liska  <mliska@suse.cz>
55
56         * aarch64_symbol.c (aarch64_data_marker_symbol): Use startswith.
57         * arm_symbol.c (arm_data_marker_symbol): Likewise.
58
59 2021-02-01  Érico Nogueira  <ericonr@disroot.org>
60
61         * ppc_initreg.c: Also include <asm/ptrace.h>.
62
63 2020-12-12  Dmitry V. Levin  <ldv@altlinux.org>
64
65         * aarch64_retval.c (aarch64_return_value_location): Fix spelling typo
66         in comment.
67         * ppc_cfi.c (ppc_abi_cfi): Likewise.
68
69 2020-11-17  Mark Wielard  <mark@klomp.org>
70
71         * x86_64_symbol.c (x86_64_check_reloc_target_type): New function.
72         * x86_64_init.c (x86_64_init): Hook check_reloc_target_type.
73
74 2020-10-19  Mark Wielard  <mark@klomp.org>
75
76         * Makefile.am (modules): Remove tilegx.
77         (tilegx_SRCS): Removed.
78         (libebl_backends_a_SOURCES): Remove tilegx_SRCS.
79         * tilegx_corenote.c: Removed.
80         * tilegx_init.c: Removed.
81         * tilegx_regs.c: Removed.
82         * tilegx_reloc.def: Removed.
83         * tilegx_retval.c: Removed.
84         * tilegx_symbol.c: Removed.
85
86 2020-10-19  Mark Wielard  <mark@klomp.org>
87
88         * Makefile.am (i386_SRCS): Remove i386_syscall.c.
89         (x86_64_SRCS): Remove x86_64_syscall.c.
90         (ppc_SRCS): Remove ppc_syscall.c.
91         * i386_init.c (i386_init): Remove syscall_abi HOOK.
92         * i386_syscall.c: Delete.
93         * ppc64_init.c (ppc64_init): Remove syscall_abi HOOK.
94         * ppc_syscall.c: Delete.
95         * x86_64_init.c (x86_64_init): Remove syscall_abi HOOK.
96         * x86_64_syscall.c: Delete.
97
98 2020-08-28  Mark Wielard  <mark@klomp.org>
99
100         * aarch64_init.c (aarch64_init): Hook dynamic_tag_name and
101         dynamic_tag_check.
102         * aarch64_symbol.c (aarch64_dynamic_tag_name): New function.
103         (aarch64_dynamic_tag_check): Likewise.
104
105 2020-06-16  Mark Wielard  <mark@klomp.org>
106
107         * common-reloc.c (reloc_nametable): Make zero a 1 char array.
108         Initialize it as an array { '\0' }.
109         (reloc_type_name): Access zero as an array.
110
111 2020-06-10  Mark Wielard  <mark@klomp.org>
112
113         * aarch64_init.c (aarch64_init): Remove ehlen, return eh.
114         * alpha_init.c (alpha_init): Likewise.
115         * arm_init.c (arm_init): Likewise.
116         * bpf_init.c (bpf_init): Likewise.
117         * csky_init.c (csky_init): Likewise.
118         * i386_init.c (i386_init): Likewise.
119         * ia64_init.c (ia64_init): Likewise.
120         * m68k_init.c (m68k_init): Likewise.
121         * ppc64_init.c (ppc64_init): Likewise.
122         * ppc_init.c (ppc_init): Likewise.
123         * riscv_init.c (riscv_init): Likewise.
124         * s390_init.c (s390_init): Likewise.
125         * sh_init.c (sh_init): Likewise.
126         * sparc_init.c (sparc_init): Likewise.
127         * tilegx_init.c (tilegx_init): Likewise.
128         * x86_64_init.c (x86_64_init): Likewise.
129         * libebl_CPU.h (init): Adjust EBLHOOK signature.
130
131 2019-07-05  Omar Sandoval  <osandov@fb.com>
132
133         * Makefile.am: Replace libcpu_{i386,x86_64,bpf}.a with libcpu.a.
134         Replace libcpu.a with libcpu_pic.a.
135         Combine libebl_CPU.so modules into libebl_backends{,_pic}.a.
136
137 2019-07-13 Mao Han <han_mao@c-sky.com>
138
139         * Makefile.am: Add C-SKY.
140         * csky_attrs.c: New file.
141         * csky_cfi.c: New file.
142         * csky_corenote.c: Likewise.
143         * csky_init.c: Likewise.
144         * csky_initreg.c: Likewise.
145         * csky_regs.c: Likewise.
146         * csky_reloc.def: Likewise.
147         * csky_symbol.c: Likewise.
148
149 2019-06-28  Mark Wielaard  <mark@klomp.org>
150
151         * aarch64_init.c (aarch64_init.c): Remove eh->name;
152         * alpha_init.c (alpha_init.c): Remove eh->name;
153         * arm_init.c (arm_init.c): Remove eh->name;
154         * bpf_init.c (bpf_init.c): Remove eh->name;
155         * i386_init.c (i386_init.c): Remove eh->name;
156         * ia64_init.c (ia64_init.c): Remove eh->name;
157         * m68k_init.c (m68k_init.c): Remove eh->name;
158         * ppc64_init.c (ppc64_init.c): Remove eh->name;
159         * ppc_init.c (ppc_init.c): Remove eh->name;
160         * riscv_init.c (riscv_init.c): Remove eh->name;
161         * s390_init.c (s390_init.c): Remove eh->name;
162         * sh_init.c (sh_init.c): Remove eh->name;
163         * sparc_init.c (sparc_init.c): Remove eh->name;
164         * tilegx_init.c (tilegx_init.c): Remove eh->name;
165         * x86_64_init.c (x86_64_init.c): Remove eh->name;
166
167 2019-04-14  Mark Wielaard  <mark@klomp.org>
168
169         * riscv_cfi.c: Fix BACKEND define.
170
171 2019-02-15  Mark Wielaard  <mark@klomp.org>
172
173         * s390_init.c (s390_init): Hook check_special_symbol.
174         * s390_symbol.c (s390_check_sepcial_symbol): New function.
175
176 2018-12-27  Jim Wilson  <jimw@sifive.com>
177
178         * Makefile.am (riscv_SRCS): Add riscv64_corenote.c.
179         * riscv64_corenote.c: New file.
180         * riscv_corenote.c (BITS): New.
181         (BACKEND): Conditional on BITS.
182         (ULONG, UID_T, GID_T, ALIGN_ULONG, ALIGN_UID_T, ALIGN_GID_T): Likewise.
183         (TYPE_ULONG, TYPE_UID_T, TYPE_GID_T): Likewise.
184         (prstatus_regs): Use BITS/8 instead of 8.
185         (PRSTATUS_REGS_SIZE): Likewise.
186         * riscv_init.c (riscv64_core_note): Declare.
187         (riscv_init): If ELFCLASS64 then use riscv64_core_note hook.
188
189         * Makefile.am (riscv_SRCS): Add riscv_retval.c.
190         * riscv_init.c: Include libelfP.h.
191         (riscv_return_value_location_lp64d): Declare.
192         (riscv_init): Delete unused attribute from elf parameter.  Register
193         riscv_return_value_location_lp64d hook if 64-bit ELF and 64-bit FP
194         registers.
195         * riscv_retval.c: New file.
196
197         * riscv_corenote.c (prstatus_regs): Change offset from 1 to 8.
198         (PRSTATUS_REGSET_ITEMS): New.
199
200 2018-11-06  Mark Wielaard  <mark@klomp.org>
201
202         * x86_64_symbol.c (x86_64_section_type_name): New function.
203         * x86_64_init.c (x86_64_int): Hook section_type_name.
204
205 2018-10-20  Mark Wielaard  <mark@klomp.org>
206
207         * ppc_initreg.c (ppc_set_initial_registers_tid): Use define instead of
208         const for size of dwarf_regs array.
209
210 2018-10-02  Andreas Schwab  <schwab@suse.de>
211
212         * riscv_symbol.c (riscv_reloc_simple_type): Add parameter addsub.
213         Set it for ADD and SUB relocations.
214         * aarch64_symbol.c (aarch64_reloc_simple_type): Add and ignore
215         third parameter.
216         * alpha_symbol.c (alpha_reloc_simple_type): Likewise.
217         * arm_symbol.c (arm_reloc_simple_type): Likewise.
218         * bpf_symbol.c (bpf_reloc_simple_type): Likewise.
219         * i386_symbol.c (i386_reloc_simple_type): Likewise.
220         * ia64_symbol.c (ia64_reloc_simple_type): Likewise.
221         * m68k_symbol.c (m68k_reloc_simple_type): Likewise.
222         * ppc64_symbol.c (ppc64_reloc_simple_type): Likewise.
223         * ppc_symbol.c (ppc_reloc_simple_type): Likewise.
224         * s390_symbol.c (s390_reloc_simple_type): Likewise.
225         * sh_symbol.c (sh_reloc_simple_type): Likewise.
226         * sparc_symbol.c (sparc_reloc_simple_type): Likewise.
227         * tilegx_symbol.c (tilegx_reloc_simple_type): Likewise.
228         * x86_64_symbol.c (x86_64_reloc_simple_type): Likewise.
229
230 2018-09-12  Mark Wielaard  <mark@klomp.org>
231
232         * ppc64_init.c (ppc64_init): Use elf_getshdrstrndx.
233
234 2018-09-12  Mark Wielaard  <mark@klomp.org>
235
236         * aarch64_symbol.c (aarch64_check_special_symbol): Drop ehdr argument,
237         use elf_getshdrstrndx.
238         * alpha_symbol.c (alpha_check_special_symbol): Drop ehdr argument.
239         * ppc64_symbol.c (ppc64_check_special_symbol): Likewise and use
240         elf_getshdrstrndx.
241         * ppc_symbol.c (ppc_check_special_symbol): Likewise.
242         * riscv_symbol.c (riscv_check_special_symbol): Likewise.
243
244 2018-07-21  Andreas Schwab  <schwab@linux-m68k.org>
245
246         * Makefile.am (m68k_SRCS): Add m68k_cfi.c and m68k_initreg.c.
247         * m68k_cfi.c: New file.
248         * m68k_initreg.c: New file.
249         * m68k_init.c (m68k_init): Hook abi_cfi and
250         set_initial_registers_tid.
251
252 2018-07-19  Andreas Schwab  <schwab@suse.de>
253
254         * riscv_regs.c (riscv_register_info): Fix typo.
255
256 2018-07-17  Andreas Schwab  <schwab@suse.de>
257
258         * Makefile.am (riscv_SRCS): Add riscv_corenote.c.
259         * riscv_corenote.c: New file.
260         * riscv_init.c (riscv_init): Hook core_note.
261
262 2018-07-11  Andreas Schwab  <schwab@suse.de>
263
264         * Makefile.am (riscv_SRCS): Add riscv_initreg.c.
265         * riscv_initreg.c: New file.
266         * riscv_init.c (riscv_init): Hook set_initial_registers_tid.
267
268 2018-06-16  Yonghong Song  <yhs@fb.com>
269
270         * Makefile.am (bpf_SRCS): Add bpf_symbol.c.
271         * bpf_init.c (bpf_init): Add reloc_simple_type HOOK.
272         * bpf_reloc.def: Add RELOC_TYPE 64_64 and 64_32.
273         * bpf_symbol.c: New file.
274
275 2018-06-21  Mark Wielaard  <mark@klomp.org>
276
277         * bpf_reloc.def: Remove MAP_FD.
278
279 2018-06-13  Andreas Schwab  <schwab@suse.de>
280
281         * Makefile.am (riscv_SRCS): Add riscv_cfi.c and riscv_regs.c.
282         * riscv_cfi.c: New file.
283         * riscv_regs.c: Likewise.
284         * riscv_init.c (riscv_init): Hook register_info and abi_cfi.
285
286 2018-05-15  Andreas Schwab  <schwab@suse.de>
287
288         * riscv_init.c (riscv_init): Hook check_special_symbol.
289         * riscv_symbol.c (riscv_check_special_symbol): New function.
290
291 2018-04-19  Andreas Schwab  <schwab@suse.de>
292
293         * Makefile.am (modules): Add riscv.
294         * riscv_init.c: New file.
295         * riscv_reloc.def: New file.
296         * riscv_symbol.c: New file.
297
298 2018-04-11  Mark Wielaard  <mark@klomp.org>
299
300         * aarch64_cfi.c (aarch64_abi_cfi): Add rule for restoring SP from
301         CFA address.
302
303 2018-02-15  Mark Wielaard  <mark@klomp.org>
304
305         * ppc_initreg.c: Include ptrace.h before system.h and sys/user.h.
306
307 2018-02-09  Joshua Watt  <JPEWhacker@gmail.com>
308
309         * aarch64_retval.c (aarch64_return_value_location): Use FALLTHROUGH
310         macro instead of comment.
311         * alpha_retval.c (alpha_return_value_location): Likewise.
312         * arm_regs.c (arm_register_info): Likewise.
313         * arm_retval.c (arm_return_value_location): Likewise.
314         * i386_regs.c (i386_register_info): Likewise.
315         * i386_retval.c (i386_return_value_location): Likewise.
316         * ia64_retval.c (ia64_return_value_location): Likewise.
317         * linux-core-note.c (core_note): Likewise.
318         * m68k_retval.c (m68k_return_value_location): Likewise.
319         * ppc64_retval.c (ppc64_return_value_location): Likewise.
320         * ppc_regs.c (ppc_register_info): Likewise.
321         * ppc_retval.c (ppc_return_value_location): Likewise.
322         * s390_retval.c (s390_return_value_location): Likewise.
323         * sh_retval.c (sh_return_value_location): Likewise.
324         * sparc_retval.c (sparc_return_value_location): Likewise.
325         * tilegx_retval.c (tilegx_return_value_location): Likewise.
326         * x86_64_regs.c (x86_64_register_info): Likewise.
327         * x86_64_retval.c (x86_64_return_value_location): Likewise.
328
329 2017-10-24  Mark Wielaard  <mark@klomp.org>
330
331         * Makefile.am (m68k_corenote_no_Wpacked_not_aligned): New variable.
332
333 2017-08-18  Ulf Hermann <ulf.hermann@qt.io>
334
335         * linux-core-note.c: Use attribute_packed.
336
337 2017-04-27  Ulf Hermann <ulf.hermann@qt.io>
338
339         * Makefile.am: Use dso_LDFLAGS.
340
341 2017-07-27  Mark Wielaard  <mark@klomp.org>
342
343         * sparc_reloc.def: GOTDATA_OP_HIX22, GOTDATA_OP_LOX10 and
344         GOTDATA_OP can be used in ET_REL files.
345
346 2017-07-19  Gustavo Romero <gromero@linux.vnet.ibm.com>
347
348         * ppc_corenote.c: Add offsets for ppc64 HTM SPRs: thfar, tfiar,
349         and texasr.
350         * ppc_regs.c: Add names for ppc64 HTM SPRs mappings.
351
352 2017-07-20  Mark Wielaard  <mark@klomp.org>
353
354         * aarch64_init.c (aarch64_init): Hook data_marker_symbol.
355         * aarch64_symbol.c (aarch64_data_marker_symbol): New function.
356         * arm_init.c (arm_init): Hook data_marker_symbol.
357         * arm_symbol.c (aarch64_data_marker_symbol): New function.
358
359 2017-07-18  Mark Wielaard  <mark@klomp.org>
360
361         * Makefile.am (cpu_bpf): Always define.
362         * bpf_init.c (disasm): Always hook.
363         * bpf_regs.c: Include bpf.h instead of linux/bpf.h. Don't define
364         MAX_BPF_REG.
365
366 2017-02-17  Ulf Hermann  <ulf.hermann@qt.io>
367
368         * Makefile.am: Add libeu.
369         (libebl_%so): Link with --no-undefined,-z,defs,-z,relro
370         and libeu.a.
371
372 2017-06-17  Mark Wielaard  <mark@klomp.org>
373
374         * s390_initreg.c: Swap sys/ptrace.h and asm/ptrace.h include order.
375
376 2017-06-15  Andreas Schwab  <schwab@linux-m68k.org>
377
378         * ppc_symbol.c (ppc_machine_flag_check): New function.
379         * ppc_init.c (ppc_init): Hook it.
380
381 2017-05-30  Mark Wielaard  <mark@klomp.org>
382
383         * ppc64_unwind.c: New file.
384         * ppc64_init.c (pcc64_init): Hook unwind.
385         * Makefile.am (ppc64_SRCS): Add ppc64_unwind.c
386
387 2017-04-06  Mark Wielaard  <mark@klomp.org>
388
389         * i386_unwind.c: New file.
390         * i386_init.c: Hook i386_unwind.
391         * Makefile.am (i386_SRCS): Add i386_unwind.c
392
393 2017-02-09  Ulf Hermann  <ulf.hermann@qt.io>
394
395         * aarch64_unwind.c: New file
396         * Makefile.am (aarch64_SRCS): Add aarch64_unwind.c
397         * aarch64_init.c (aarch64_init): Hook aarch64_unwind
398
399 2017-02-09  Ulf Hermann  <ulf.hermann@qt.io>
400
401         * x86_64_unwind.c: New file
402         * Makefile.am (x86_64_SRCS): Add x86_64_unwind.c
403         * x86_64_init.c (x86_64_init): Hook x86_64_unwind
404
405 2017-04-20  Ulf Hermann <ulf.hermann@qt.io>
406
407         * aarch64_initreg.c: Compile register initialization only on linux.
408         * arm_initreg.c: Likewise.
409         * ppc_initreg.c: Likewise.
410         * s390_initreg.c: Likewise.
411         * x86_64_initreg.c: Likewise.
412
413 2017-02-15  Mark Wielaard  <mark@klomp.org>
414
415         * ppc64_init.c (ppc64_init): Add check_object_attribute HOOK.
416         * ppc_attrs.c (ppc_check_object_attribute): Add Single-precision hard
417         float.
418
419 2016-11-02  Mark Wielaard  <mjw@redhat.com>
420
421         * i386_regs.c (i386_register_info): Add fallthrough comment.
422         * i386_retval.c (i386_return_value_location): Move fallthrough
423         comment.
424         * linux-core-note.c (core_note): Adjust fallthrough comment.
425         * m68k_retval.c (m68k_return_value_location): Move fallthrough
426         comment.
427         * ppc_regs.c (ppc_register_info): Add fallthrough comment.
428         * x86_64_regs.c (x86_64_register_info): Likewise.
429
430 2016-08-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
431
432         * sparc_attrs.c (sparc_check_object_attribute): Fix the
433         calculation of GNU_SParc_HWCAPS and GNU_SParc_HWCAPS2 values as
434         comma-separated list of hw capability names.
435
436 2016-07-10  Andreas Schwab  <schwab@linux-m68k.org>
437
438         * m68k_corenote.c (ALIGN_PRSTATUS): Define.
439         * linux-core-note.c (struct EBLHOOK(prstatus)): Set alignment to
440         ALIGN_PRSTATUS if defined.
441
442 2016-06-28  Richard Henderson <rth@redhat.com>
443
444         * Makefile.am (modules): Add bpf.
445         (libebl_pic): Add libebl_bpf_pic.a.
446         (am_libebl_bpf_pic_a_OBJECTS): New.
447         * bpf_init.c, bpf_regs.c, bpf_reloc.def: New files.
448         * common-reloc.c (copy_reloc_p): Honor NO_COPY_RELOC.
449         (init_reloc): Likewise.
450
451 2016-05-20  Andreas Schwab  <schwab@linux-m68k.org>
452
453         * Makefile.am (modules): Add m68k.
454         (libebl_pic): Add libebl_m68k_pic.a.
455         (m68k_SRCS, libebl_m68k_pic_a_SOURCES)
456         (am_libebl_m68k_pic_a_OBJECTS): Define.
457         * m68k_init.c: New file.
458         * m68k_symbol.c: New file.
459         * m68k_regs.c: New file.
460         * m68k_retval.c: New file.
461         * m68k_corenote.c: New file.
462         * m68k_reloc.def: New file.
463         * linux-core-note.c (ALIGN_INT): Only define if not defined.
464
465 2016-02-26  Jose E. Marchesi  <jose.marchesi@oracle.com>
466
467         * sparc_initreg.c (EBLHOOK): Provide a dummy
468         sparc_set_initial_registers_tid for sparc32.  This fixes the build
469         in sparcv9-*-* targets.
470
471 2016-02-26  Andreas Schwab  <schwab@suse.de>
472
473         * ppc_symbol.c (ppc_dynamic_tag_name): Add DT_PPC_OPT.
474         (ppc_dynamic_tag_check): Likewise.
475
476 2015-12-28  Mark Wielaard  <mjw@redhat.com>
477
478         * i386_reloc.def: Add GOT32X.
479         * x86_64_reloc.def: Add GOTPCRELX and REX_GOTPCRELX.
480
481 2016-02-12  Mark Wielaard  <mjw@redhat.com>
482
483         * aarch64_corenote.c (aarch64_syscall_items): New Ebl_Core_Item[].
484         (EXTRA_NOTES): Add NT_ARM_SYSTEM_CALL.
485         * eblcorenotetypename.c (ebl_core_note_type_name):
486         Add ARM_SYSTEM_CALL.
487
488 2015-12-08  Jose E. Marchesi  <jose.marchesi@oracle.com>
489
490         * sparc_init.c (sparc_init): Hook sparc_set_initial_registers_tid.
491         * sparc_initreg.c: New file.
492         * Makefile.am (sparc_SRCS): Added sparc_initreg.c.
493
494 2015-12-08  Jose E. Marchesi  <jose.marchesi@oracle.com>
495
496         * sparc_corenote.c: Header comment typo fixed.
497         (PRSTATUS_REGSET_ITEMS): Defined, so the PC can be fetched from
498         core files.
499         * Makefile.am (sparc_SRCS): Added sparc_cfi.c
500         * sparc_cfi.c: New file.
501         * sparc_init.c (sparc_init): Set eh->frame_nregs, eh->ra_offset
502         and hook sparc_abi_cfi.
503
504 2015-10-21  Chih-Hung Hsieh  <chh@google.com>
505
506         * ia64_retval.c (hfa_type): Move nested function 'hfa' to file scope.
507         * aarch64_regs.c (aarch64_register_info): Move nested function 'regtype'
508         to file scope.
509
510 2015-10-16  Mark Wielaard  <mjw@redhat.com>
511
512         * ppc_symbol.c (ppc_check_special_symbol): Also allow _SDA_BASE_
513         in .data section.
514
515 2015-10-05  Josh Stone  <jistone@redhat.com>
516
517         * Makefile.am (libebl_%.so): Add AM_V_at and AM_V_CCLD silencers.
518
519 2015-10-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
520
521         * sparc_attrs.c: New file.
522         * Makefile.am (sparc_SRCS): Added sparc_attrs.c
523         * sparc_init.c (sparc_init): Hook sparc_check_object_attribute.
524
525 2015-10-02  Jose E. Marchesi  <jose.marchesi@oracle.com>
526
527         * sparc_init.c (RELOC_TYPE_ID): Defined.
528         * common-reloc.c (reloc_type_name): Apply target-specific
529         relocation ID extractors if defined.
530         (reloc_type_check): Likewise.
531         (reloc_valid_use): Likewise.
532
533 2015-10-02  Jose E. Marchesi  <jose.marchesi@oracle.com>
534
535         * sparc_reloc.def: Added relocation types WDISP10, JMP_IREL and
536         IRELATIVE.
537
538 2015-09-22  Mark Wielaard  <mjw@redhat.com>
539
540         * arm_attrs.c: Remove old-style function definitions.
541         * linux-core-note.c: Likewise.
542         * ppc_attrs.c: Likewise.
543
544 2015-09-04  Chih-Hung Hsieh  <chh@google.com>
545
546         * aarch64_init.c (aarch64_init): Replace K&R function definition
547         with ansi-C definitions.
548         * alpha_init.c (alpha_init): Likewise.
549         * arm_init.c (arm_init): Likewise.
550         * i386_init.c (i386_init): Likewise.
551         * ia64_init.c (ia64_init): Likewise.
552         * ppc64_init.c (ppc64_init): Likewise.
553         * ppc_init.c (ppc_init): Likewise.
554         * s390_init.c (s390_init): Likewise.
555         * sh_init.c (sh_init): Likewise.
556         * sparc_init.c (sparc_init): Likewise.
557         * tilegx_init.c (tilegx_init): Likewise.
558         * x86_64_init.c (x86_64_init): Likewise.
559
560 2015-09-03  Mark Wielaard  <mjw@redhat.com>
561
562         * sparc_regs.c (sparc_register_info): Use ebl->class not ebl->machine.
563
564 2015-06-26  Pino Toscano  <toscano.pino@tiscali.it>
565
566         * i386_initreg.c: Reduce scope of some includes to match their usage.
567
568 2015-04-28  Mark Wielaard  <mjw@redhat.com>
569
570         * aarch64_reloc.def: Drop "64" from TLS_DTPMOD64, TLS_DTPREL64 and
571         TLS_TPREL64.
572
573 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
574
575         * Makefile.am (x86_64_SRCS): Add x32_corenote.c.
576         * linux-core-note.c (PR_REG): New.
577         (PRPSINFO_UID_T): Likewise.
578         (ALIGN_PRPSINFO_UID_T): Likewise.
579         (TYPE_PRPSINFO_UID_T): Likewise.
580         (PRPSINFO_GID_T): Likewise.
581         (ALIGN_PRPSINFO_GID_T): Likewise.
582         (TYPE_PRPSINFO_GID_T): Likewise.
583         (pr_reg): Replace ULONG with PR_REG.
584         (pr_uid): Replace UID_T with PRPSINFO_UID_T.
585         (uid): Likewise.
586         (pr_gid): Replace GID_T with PRPSINFO_GID_T.
587         (gid): Likewise.
588         * x32_corenote.c: New file.
589         * x86_64_corenote.c (BITS): New.  Support x32.
590         (BACKEND): Support x32.
591         (ULONG): Likewise.
592         (ALIGN_ULONG): Likewise.
593         (TYPE_ULONG): Likewise.
594         (PRPSINFO_UID_T): New.
595         (ALIGN_PRPSINFO_UID_T): Likewise.
596         (TYPE_PRPSINFO_UID_T): Likewise.
597         (PRPSINFO_GID_T): Likewise.
598         (ALIGN_PRPSINFO_GID_T): Likewise.
599         (TYPE_PRPSINFO_GID_T): Likewise.
600         (PR_REG): Likewise.
601         (ALIGN_PR_REG): Likewise.
602         * x86_64_init.c (x32_core_note): New.
603         (x86_64_init): Set eh->core_note to x32_core_note for x32.
604
605 2015-03-23  Mark Wielaard  <mjw@redhat.com>
606
607         * aarch64_symbol.c (aarch64_check_special_symbol): Accept
608         _GLOBAL_OFFSET_TABLE_ pointing anywhere in .got.
609
610 2015-03-09  Mark Wielaard  <mjw@redhat.com>
611
612         * aarch64_reloc.def (COPY): Add DYN.
613         * arm_reloc.def (COPY): Likewise.
614         * i386_reloc.def (COPY): Likewise.
615         * ia64_reloc.def (COPY): Likewise.
616         * ppc64_reloc.def (COPY): Likewise.
617         * ppc_reloc.def (COPY): Likewise.
618         * s390_reloc.def (COPY): Likewise.
619         * sh_reloc.def (COPY): Likewise.
620         * sparc_reloc.def (COPY): Likewise.
621         * tilegx_reloc.def (COPY): Likewise.
622         * x86_64_reloc.def (COPY): Likewise.
623
624 2015-02-23  Petr Machata  <pmachata@redhat.com>
625
626         * arm_symbol.c (arm_symbol_type_name): New function.
627         * arm_init.c (arm_init): Initialize the hook.
628
629 2014-12-30  Mark Wielaard  <mjw@redhat.com>
630
631         * ppc_symbol.c (find_dyn_got): Check sh_entsize is not zero.
632
633 2014-12-18  Ulrich Drepper  <drepper@gmail.com>
634
635         * Makefile.am: Suppress output of textrel_check command.
636
637 2014-11-22  Mark Wielaard  <mjw@redhat.com>
638
639         * ppc64_symbol.c (ppc64_bss_plt_p): Remove ehdr argument.
640         * ppc_symbol.c (find_dyn_got): Likewise. Use elf_getphdrnum.
641         (ppc_check_special_symbol): Call find_dyn_got without ehdr.
642         (ppc_bss_plt_p): Remove ehdr argument.
643
644 2014-11-17  Mark Wielaard  <mjw@redhat.com>
645
646         * ppc64_init.c (ppc64_init): Check section name is not NULL.
647
648 2014-10-06  Mark Wielaard  <mjw@redhat.com>
649
650         * libebl_CPU.h (dwarf_peel_type): Removed.
651         (dwarf_peeled_die_type): Use libdw dwarf_peel_type.
652
653 2014-07-18  Kyle McMartin  <kyle@redhat.com>
654             Mark Wielaard  <mjw@redhat.com>
655
656         * aarch64_initreg.c: Check HAVE_SYS_USER_REGS.
657         (aarch64_set_initial_registers_tid): Use user_regs_struct and
658         user_fpsimd_struct.
659         * arm_initreg.c: Check HAVE_SYS_USER_REGS.
660         (arm_set_initial_registers_tid): Use user_regs_struct in compat mode.
661
662 2014-07-04  Menanteau Guy  <menantea@linux.vnet.ibm.com>
663             Mark Wielaard  <mjw@redhat.com>
664
665         * ppc64_init.c (ppc64_init): Hook check_st_other_bits.
666         * ppc64_reloc.def: TLSGD, TLSLD, TOCSAVE, ADDR16_HIGH, ADDR16_HIGHA,
667         TPREL16_HIGH, TPREL16_HIGHA, DTPREL16_HIGH, DTPREL16_HIGHA, JMP_IREL,
668         IRELATIVE, REL16, REL16_LO, REL16_HI and REL16_HA.
669         * ppc64_symbol.c (ppc64_dynamic_tag_name): Recognize DT_PPC64_OPT.
670         (ppc64_dynamic_tag_check): Likewise.
671         (ppc64_check_st_other_bits): New function.
672
673 2014-07-04  Mark Wielaard  <mjw@redhat.com>
674
675         * aarch64_retval.c (aarch64_return_value_location): Handle
676         DW_ATE_boolean.
677
678 2014-06-18  Mark Wielaard  <mjw@redhat.com>
679
680         * libebl_CPU.h (dwarf_peel_type): Remove DW_TAG_mutable_type
681         handling.
682
683 2014-06-17  Mark Wielaard  <mjw@redhat.com>
684
685         * arm_init.c (arm_init): Set func_addr_mask.
686
687 2014-06-20  Petr Machata  <pmachata@redhat.com>
688
689         * alpha_retval.c (alpha_return_value_location): Call
690         dwarf_peeled_die_type instead of inlining equivalent code.
691         * arm_retval.c (arm_return_value_location): Likewise.
692         * i386_retval.c (i386_return_value_location): Likewise.
693         * ia64_retval.c (ia64_return_value_location): Likewise.
694         * ppc64_retval.c (ppc64_return_value_location): Likewise.
695         * ppc_retval.c (ppc_return_value_location): Likewise.
696         * s390_retval.c (s390_return_value_location): Likewise.
697         * sh_retval.c (sh_return_value_location): Likewise.
698         * sparc_retval.c (sparc_return_value_location): Likewise.
699         * tilegx_retval.c (tilegx_return_value_location): Likewise.
700         * x86_64_retval.c (x86_64_return_value_location): Likewise.
701
702 2014-05-19  Mark Wielaard  <mjw@redhat.com>
703
704         * arm_init.c (arm_init): Hook check_reloc_target_type.
705         * arm_symbol.c (arm_check_reloc_target_type): New function.
706         * ia64_init.c (ia64_init): Hook check_reloc_target_type.
707         * ia64_symbol.c (ia64_check_reloc_target_type): New function.
708
709 2014-04-22  Kurt Roeckx  <kurt@roeckx.be>
710
711         * i386_initreg.c: Make Linux only.
712         * x86_64_initreg.c: Make Linux only.
713
714 2014-04-13  Mark Wielaard  <mjw@redhat.com>
715
716         * Makefile.am: Remove libelf and libdw definitions when MUDFLAP
717         is defined. Remove libmudflap from LINK line.
718
719 2014-04-09  Mark Wielaard  <mjw@redhat.com>
720
721         * Makefile.am (aarch64_SRCS): Add aarch64_initreg.c.
722         * aarch64_corenote.c (prstatus_regs): Mark pc_register.
723         * aarch64_init.c: Assign frame_nregs. Hook set_initial_registers_tid.
724         * aarch64_initreg: New file.
725
726 2014-03-28  Jean Pihet  <jean.pihet@linaro.org>
727
728         * arm_initreg.c (arm_set_initial_registers_tid): Handle compat mode.
729         ARM compatible code running on AARCH64.
730
731 2014-03-19  Mark Wielaard  <mjw@redhat.com>
732
733         * aarch64_reloc.def: AARCH64_ABS32 and AARCH64_ABS64 are also valid
734         in ET_REL.
735
736 2014-01-30  Petr Machata  <pmachata@redhat.com>
737
738         * aarch64_regs.c (aarch64_register_info.regtype): Make this
739         variadic printf-like function.  Call one vsnprintf instead of two
740         snprintf's.
741         (regtyper, regtypen): Drop.
742         (aarch64_register_info): Adjust callers.
743
744 2014-01-26  Mark Wielaard  <mjw@redhat.com>
745
746         * Makefile.am (arm_SRCS): Add arm_initreg.c.
747         * arm_init.c (arm_init): Define frame_nregs and hook
748         set_initial_registers_tid.
749         * arm_initreg.c: New file.
750
751 2014-01-25  Mark Wielaard  <mjw@redhat.com>
752
753         * arm_cfi.c (arm_abi_cfi): Restore SP (r13) from CFA.
754
755 2014-01-24  Mark Wielaard  <mjw@redhat.com>
756
757         * arm_reloc.def: Update list.
758
759 2014-01-22  Mark Wielaard  <mjw@redhat.com>
760
761         * Makefile.am (aarch64_regs_no_Wformat): Removed.
762         * aarch64_regs.c (regtype): Add bool nr argument. snprintf arg
763         when nr is true.
764         (regtyper): New function.
765         (regtypen): Likewise.
766         (aarch64_register_info): Call either regtyper or regtypen not
767         regtype directly.
768
769 2014-01-14  Mark Wielaard  <mjw@redhat.com>
770
771         * aarch64_symbol.c (aarch64_check_special_symbol): Check shdr is
772         not NULL before usage.
773
774 2014-01-04  Mark Wielaard  <mjw@redhat.com>
775
776         * ppc64_symbol.c (ppc64_machine_flag_check): New function.
777         * ppc64_init.c (ppc64_init): Hook machine_flag_check.
778
779 2014-01-03  Mark Wielaard  <mjw@redhat.com>
780
781         * Makefile.am (aarch64_SRCS): Add aarch64_cfi.c.
782         * aarch64_cfi.c: New file.
783         * aarch64_init.c (aarch64_init): Hook abi_cfi.
784         * aarch64_regs.c (aarch64_register_info): Set *prefix to "".
785
786 2013-12-19  Mark Wielaard  <mjw@redhat.com>
787
788         * aarch64_init.c (aarch64_init): Hook check_special_symbol.
789         * aarch64_symbol.c (aarch64_check_special_symbol): New function.
790
791 2013-12-18  Mark Wielaard  <mjw@redhat.com>
792
793         * Makefile.am (ppc64_SRCS): Add ppc64_resolve_sym.c.
794         * ppc64_resolve_sym.c: New file.
795         * ppc64_init.c: Hook resolve_sym_value and find function descriptor
796         table.
797
798 2013-12-18  Mark Wielaard  <mjw@redhat.com>
799
800         * s390_initreg.c (s390_set_initial_registers_tid): Use union
801         to avoid type-punning when assigning a double to a Dwarf_Word.
802
803 2013-12-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
804
805         unwinder: s390 and s390x
806         * Makefile.am (s390_SRCS): Add s390_initreg.c and s390_unwind.c.
807         * s390_corenote.c (prstatus_regs): Set PC_REGISTER.  Reindent all the
808         entries.
809         * s390_init.c (s390_init): Initialize frame_nregs,
810         set_initial_registers_tid, normalize_pc and unwind.
811         * s390_initreg.c: New file.
812         * s390_unwind.c: New file.
813
814 2013-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
815
816         unwinder: ppc and ppc64
817         * Makefile.am (ppc_SRCS, ppc64_SRCS): Add ppc_initreg.c.
818         * ppc64_init.c (ppc64_init): Initialize also frame_nregs,
819         set_initial_registers_tid and dwarf_to_regno.
820         * ppc_corenote.c (PRSTATUS_REGSET_ITEMS) <nip>: Set PC_REGISTER.
821         * ppc_init.c (ppc64_init): Initialize also frame_nregs,
822         set_initial_registers_tid and dwarf_to_regno.
823         * ppc_initreg.c: New file.
824
825 2013-11-25  Petr Machata  <pmachata@redhat.com>
826
827         * Makefile.am (modules): Add aarch64.
828         (libebl_pic): Add libebl_aarch64_pic.a.
829         (aarch64_SRCS): New variable.
830         (libebl_aarch64_pic_a_SOURCES): Likewise.
831         (am_libebl_aarch64_pic_a_OBJECTS): Likewise.
832         (aarch64_regs_no_Wformat): Likewise.
833         * aarch64_corenote.c, aarch64_init.c: New files.
834         * aarch64_regs.c, aarch64_reloc.def: Likewise.
835         * aarch64_retval.c, aarch64_symbol.c: Likewise.
836         * libebl_CPU.h (dwarf_peel_type): New function.
837         (dwarf_peeled_die_type): Likewise.
838
839 2013-11-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
840             Mark Wielaard  <mjw@redhat.com>
841
842         * Makefile.am (i386_SRCS): Add i386_initreg.c.
843         (x86_64_SRCS): Add x86_64_initreg.c.
844         * i386_initreg.c: New file.
845         * i386_init.c (i386_init): Initialize frame_nregs and
846         set_initial_registers_tid.
847         * x86_64_initreg.c: New file.
848         * x86_64_init.c (x86_64_init): Initialize frame_nregs and
849         set_initial_registers_tid.
850
851 2013-10-06  Mark Wielaard  <mjw@redhat.com>
852
853         * ppc_cfi.c (ppc_abi_cfi): Use DW_CFA_val_offset for reg1, not
854         DW_CFA_val_expression.
855
856 2013-08-29  Mark Wielaard  <mjw@redhat.com>
857
858         * Makefile.am (arm_SRCS): Add arm_cfi.c.
859         * arm_cfi.c: New file.
860         * arm_init.c (arm_init): Initialize abi_cfi.
861
862 2013-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
863
864         * Makefile.am (ppc_SRCS, ppc64_SRCS): Add ppc_cfi.c.
865         (s390_SRCS): Add s390_cfi.c.
866         * ppc64_init.c (ppc64_init): Initialize abi_cfi.
867         * ppc_cfi.c: New file.
868         * ppc_init.c (ppc_init): Initialize abi_cfi.
869         * s390_cfi.c: New file.
870         * s390_init.c (s390_init): Initialize abi_cfi.
871
872 2013-08-28  Mark Wielaard  <mjw@redhat.com>
873
874         * arm_regs.c (arm_register_info): Set *prefix to "".
875         * ppc_regs.c (ppc_register_info): Likewise.
876         * sh_regs.c (sh_register_info): Likewise.
877
878 2013-04-24  Mark Wielaard  <mjw@redhat.com>
879
880         * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
881
882 2013-02-06  Mark Wielaard  <mjw@redhat.com>
883
884         * libebl_CPU.h (DWARF_TAG_OR_RETURN): New macro.
885         * backends/alpha_retval.c (alpha_return_value_location): Use new
886         DWARF_TAG_OR_RETURN macro instead of dwarf_tag ().
887         * backends/arm_retval.c (arm_return_value_location): Likewise.
888         * backends/i386_retval.c (i386_return_value_location): Likewise.
889         * backends/ia64_retval.c (hfa_type): Likewise.
890         (ia64_return_value_location): Likewise.
891         * backends/ppc64_retval.c (ppc64_return_value_location): Likewise.
892         * backends/ppc_retval.c (ppc_return_value_location): Likewise.
893         * backends/s390_retval.c (s390_return_value_location): Likewise.
894         * backends/sh_retval.c (sh_return_value_location): Likewise.
895         * backends/sparc_retval.c (sparc_return_value_location): Likewise.
896         * backends/tilegx_retval.c (tilegx_return_value_location): Likewise.
897         * backends/x86_64_retval.c (x86_64_return_value_location): Likewise.
898
899 2013-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
900             Roland McGrath <roland@hack.frob.com>
901
902         * Makefile.am (s390_SRCS): Add s390_corenote.c and s390x_corenote.c.
903         * linux-core-note.c (ALIGN_PR_REG): New definitions.
904         (struct EBLHOOK(prstatus)): Change field pr_reg to anonymous struct with
905         ALIGN_PR_REG.
906         (EXTRA_ITEMS): New macro.
907         * s390_corenote.c: New file.
908         * s390_init.c (s390x_core_note): New declaration.
909         (s390_init): Install s390x_core_note and s390_core_note.
910         * s390x_corenote.c: New file.
911
912 2013-01-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
913
914         * arm_corenote.c (vfp_items): Remove zero COUNT initializer.
915
916 2012-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
917
918         * linux-core-note.c (prstatus_items): Rename groups of sigpend and
919         sighold to signal2 and signal3.
920
921 2012-09-24  Petr Machata  <pmachata@redhat.com>
922
923         * arm_corenote.c (vfp_items, vfp_regs): New const variables.
924         (EXTRA_NOTES): Use it for NT_ARM_VFP.
925         * linux-core-note.c (EXTRA_REGSET_ITEMS): New macro.
926
927 2012-09-17  Petr Machata  <pmachata@redhat.com>
928
929         * arm_corenote.c (FPREGSET_SIZE): Change to 116.
930
931 2012-08-22  Jeff Kenton  <jkenton@tilera.com>
932
933         * Makefile.am (modules): Add tilegx.
934         (libebl_pic): Add libebl_tilegx_pic.a.
935         (tilegx_SRCS): New variable.
936         (libebl_tilegx_pic_a_SOURCES): Likewise.
937         (am_libebl_tilegx_pic_a_OBJECTS): Likewise.
938         * tilegx_corenote.c: New file.
939         * tilegx_regs.c: New file.
940         * tilegx_reloc.def: New file.
941         * tilegx_init.c: New file.
942         * tilegx_retval.c: New file.
943         * tilegx_symbol.c: New file.
944
945 2011-03-09  Mark Wielaard  <mjw@redhat.com>
946
947         * alpha_init.c (alpha_init): Initialize check_st_other_bits hook.
948         * alpha_symbol.c (alpha_check_st_other_bits): New function.
949
950 2011-03-09  Roland McGrath  <roland@redhat.com>
951
952         * alpha_symbol.c (alpha_check_special_symbol): New function.
953         * alpha_init.c (alpha_init): Initialize hook.
954
955 2010-11-08  Roland McGrath  <roland@redhat.com>
956
957         * i386_retval.c (loc_intreg): Typo fix.
958         Reported by Thorsten Glaser <tg@mirbsd.de>.
959
960 2010-04-10  Matt Fleming  <matt@console-pimps.org>
961
962         * sh_corenote.c: New file.
963         * sh_regs.c: New file.
964         * sh_retval.c: New file.
965         * sh_symbol.c (sh_machine_flag_check): New function.
966         * Makefile.am (sh_SRCS): Add new files.
967         * sh_init.c (sh_init): Add initializers.
968
969 2010-04-07  Roland McGrath  <roland@redhat.com>
970
971         * arm_reloc.def: Accept PC24 and ABS32 in EXEC|DYN too.
972
973 2010-03-04  Ulrich Drepper  <drepper@redhat.com>
974
975         * x86_64_reloc.def: Add entries for R_X86_64_SIZE32 and
976         R_X86_64_SIZE64.
977
978 2010-02-18  Roland McGrath  <roland@redhat.com>
979
980         * Makefile.am (libebl_%.so): Use multi-target pattern rule instead of
981         intermediate dependency file for libebl_%.map, working around apparent
982         make -j timing-sensitive bugs.
983
984 2010-02-15  Roland McGrath  <roland@redhat.com>
985
986         * Makefile.am: Use config/eu.am for common stuff.
987
988 2010-01-05  Roland McGrath  <roland@redhat.com>
989
990         * arm_retval.c (arm_return_value_location): Use dwarf_aggregate_size.
991         * ia64_retval.c (ia64_return_value_location): Likewise.
992         * ppc_retval.c (ppc_return_value_location): Likewise.
993         * ppc64_retval.c (ppc64_return_value_location): Likewise.
994         * sparc_retval.c (sparc_return_value_location): Likewise.
995
996         * ppc64_retval.c (ppc64_return_value_location):
997         Use vr2 for DW_TAG_array_type with DW_AT_GNU_vector.
998         * ppc_retval.c (ppc_return_value_location): Likewise.
999
1000 2010-01-04  Roland McGrath  <roland@redhat.com>
1001
1002         * linux-core-note.c (vmcoreinfo_items): New static const variable.
1003         (EBLHOOK(core_note)): Update arguments for new protocol.
1004         Validate the name as "CORE" or "LINUX" for known n_type cases.
1005         Handle name "VMCOREINFO" n_type=0 with vmcoreinfo_items.
1006         * i386_corenote.c (EXTRA_NOTES): Update parameter usage.
1007         * x86_corenote.c (EXTRA_NOTES_IOPERM): Likewise.
1008
1009 2009-09-10  Mark Wielaard  <mjw@redhat.com>
1010
1011         * sparc_retval.c: Fix license header.
1012
1013 2009-08-07  Roland McGrath  <roland@redhat.com>
1014
1015         * x86_64_reloc.def: Add PC64, GOTOFF64, GOTPC32, GOTPC32_TLSDESC,
1016         TLSDESC_CALL, TLSDESC.
1017
1018 2009-07-08  Roland McGrath  <roland@redhat.com>
1019
1020         * x86_64_cfi.c (x86_64_abi_cfi): New file.
1021         * Makefile.am (x86_64_SRCS): Add it.
1022         * x86_64_init.c (x86_64_init): Add initializer.
1023
1024         * i386_cfi.c (i386_abi_cfi): New file.
1025         * Makefile.am (i386_SRCS): Add it.
1026         * i386_init.c (i386_init): Initialize abi_cfi hook.
1027
1028 2009-06-01  Ulrich Drepper  <drepper@redhat.com>
1029
1030         * i386_reloc.def: Add IRELATIVE entry.
1031         * x86_64_reloc.def: Likewise.
1032
1033 2009-04-16  Roland McGrath  <roland@redhat.com>
1034
1035         * arm_regs.c (arm_register_info): Handle VFP registers.
1036
1037         * i386_corenote.c (EXTRA_NOTES): NT_PRXFPREG -> NT_PRXFPREG
1038
1039 2009-04-14  Roland McGrath  <roland@redhat.com>
1040
1041         * arm_retval.c: New file.
1042         * arm_attrs.c: New file.
1043         * Makefile.am (arm_SRCS): Add them.
1044         * arm_symbol.c (arm_segment_type_name): New function.
1045         (arm_section_type_name): New function.
1046         (arm_machine_flag_check): New function.
1047         * arm_init.c (arm_init): Initialize those hooks.
1048
1049         * arm_regs.c: New file.
1050         * arm_corenote.c: New file.
1051         * arm_auxv.c: New file.
1052         * Makefile.am (arm_SRCS): Add them.
1053         * arm_init.c (arm_init): Initialize core_note, register_info,
1054         and auxv_info hooks.
1055
1056         * ia64_symbol.c (ia64_section_type_name): Remove "SHT_" prefixes.
1057
1058 2009-04-01  Roland McGrath  <roland@redhat.com>
1059
1060         * sparc_reloc.def: Update table.
1061         Data from Dave Miller <davem@davemloft.net>.
1062
1063 2009-02-15  Roland McGrath  <roland@redhat.com>
1064
1065         * ppc_attrs.c (ppc_check_object_attribute): Handle tag
1066         GNU_Power_ABI_Struct_Return.
1067
1068 2008-10-04  Ulrich Drepper  <drepper@redhat.com>
1069
1070         * i386_reloc.def: Fix entries for TLS_GOTDESC, TLS_DESC_CALL, and
1071         TLS_DESC.
1072
1073 2008-08-01  Roland McGrath  <roland@redhat.com>
1074
1075         * x86_corenote.c: New file.
1076         * Makefile.am (noinst_HEADERS): Add it.
1077         * i386_corenote.c: Include it, use EXTRA_NOTES_IOPERM in EXTRA_NOTES.
1078         * x86_64_corenote.c: Likewise.
1079
1080         * linux-core-note.c (prstatus_items): Use 'B' instead of 'b'
1081         for sigpend and sighold.
1082
1083 2008-07-04  Roland McGrath  <roland@redhat.com>
1084
1085         * i386_syscall.c: New file.
1086         * x86_64_syscall.c: New file.
1087         * ppc_syscall.c: New file.
1088         * Makefile.am (i386_SRCS, x86_64_SRCS, ppc_SRCS, ppc64_SRCS): Add them.
1089         * i386_init.c (i386_init): Initialize syscall_abi hook.
1090         * x86_64_init.c (x86_64_init): Likewise.
1091         * ppc_init.c (ppc_init): Likewise.
1092         * ppc64_init.c (ppc64_init): Likewise.
1093
1094         * ppc_corenote.c (PRSTATUS_REGSET_ITEMS): Add nip.
1095         Fix offset calculation for 64-bit case.
1096
1097 2008-04-04  Roland McGrath  <roland@redhat.com>
1098
1099         * alpha_symbol.c (alpha_check_special_section): New function.
1100         * alpha_init.c (alpha_init): Initialize check_special_section hook.
1101
1102 2008-03-31  Roland McGrath  <roland@redhat.com>
1103
1104         * sparc_symbol.c (sparc_symbol_type_name): New function.
1105         (sparc_dynamic_tag_name): New function.
1106         (sparc_dynamic_tag_check): New function.
1107         * sparc_init.c (sparc_init): Initialize those hooks.
1108
1109         * sparc_symbol.c (sparc_check_special_section): New function.
1110         * sparc_init.c (sparc_init): Initialize check_special_section hook.
1111
1112 2008-02-20  Roland McGrath  <roland@redhat.com>
1113
1114         * ppc_attrs.c: New file.
1115         * Makefile.am (ppc_SRCS, ppc64_SRCS): Add it.
1116         * ppc_init.c (ppc_init): Initialize check_object_attribute hook.
1117
1118 2008-02-14  Roland McGrath  <roland@redhat.com>
1119
1120         * alpha_auxv.c: New file.
1121         * Makefile.am (alpha_SRCS): Add it.
1122         * alpha_init.c (alpha_init): Initialize auxv_info hook.
1123
1124 2008-02-08  Roland McGrath  <roland@redhat.com>
1125
1126         * ppc_corenote.c (spe_regs): New const variable.
1127         (EXTRA_NOTES): Use it for NT_PPC_SPE.
1128
1129 2008-01-02  Roland McGrath  <roland@redhat.com>
1130
1131         * i386_corenote.c (tls_items): New const table.
1132         (tls_info): New function, uses it.
1133         (EXTRA_NOTES): Use it to handle NT_386_TLS.
1134
1135 2008-01-08  Ulrich Drepper  <drepper@redhat.com>
1136
1137         * Makefile.am: Add x86-64 disassembler.
1138         * x86_64_init.c (x86_64_init): Hook up disassembler.
1139
1140 2007-12-28  Ulrich Drepper  <drepper@redhat.com>
1141
1142         * Makefile.am: Add x86 disassembler.
1143         * i386_init.c (i386_init): Hook up disassembler.
1144
1145 2007-12-15  Roland McGrath  <roland@redhat.com>
1146
1147         * ppc_regs.c (ppc_register_info): Return "spefscr", not "spr512".
1148
1149 2007-10-18  Roland McGrath  <roland@redhat.com>
1150
1151         * ppc_regs.c (ppc_register_info): Assign 67 to "vscr".
1152         Return "vector" and 32 bits for vscr and vrsave.
1153         * ppc_corenote.c (altivec_regs): New variable.
1154         (EXTRA_NOTES): New macro, handle NT_PPC_VMX.
1155
1156         * linux-core-note.c (EXTRA_REGSET): New macro.
1157         Remove NT_PRXFPREG case.  Instead, use EXTRA_NOTES if defined.
1158         * i386_corenote.c (EXTRA_NOTES): Define it.
1159
1160 2007-10-09  Roland McGrath  <roland@redhat.com>
1161
1162         * sparc_auxv.c: New file.
1163         * Makefile.am (sparc_SRCS): Add it.
1164         * sparc_init.c (sparc_init): Initialize auxv_info hook.
1165
1166 2007-10-08  Roland McGrath  <roland@redhat.com>
1167
1168         * linux-core-note.c (TIMEVAL_FIELD): New macro.
1169         (prstatus_items): Use it.
1170         * sparc_corenote.c: New file.
1171         * sparc64_corenote.c: New file.
1172         * Makefile.am (sparc_SRCS): Add them.
1173         * sparc_init.c (sparc_init): Initialize core_note hook.
1174
1175         * sparc_symbol.c (sparc_machine_flag_check): New function.
1176         * sparc_init.c (sparc_init): Use it.
1177
1178 2007-09-27  Roland McGrath  <roland@redhat.com>
1179
1180         * alpha_retval.c: Use dwarf_attr_integrate and dwarf_hasattr_integrate.
1181         * i386_retval.c: Likewise.
1182         * ia64_retval.c: Likewise.
1183         * ppc64_retval.c: Likewise.
1184         * ppc_retval.c: Likewise.
1185         * s390_retval.c: Likewise.
1186         * sparc_retval.c: Likewise.
1187         * x86_64_retval.c: Likewise.
1188
1189 2007-10-31  Ulrich Drepper  <drepper@redhat.com>
1190
1191         * Makefile.am: More dependencies for the libebl_* libraries.
1192
1193 2007-08-23  Roland McGrath  <roland@redhat.com>
1194
1195         * x86_64_regs.c (x86_64_register_info): Put %rflags in "integer" set.
1196
1197 2007-08-22  Roland McGrath  <roland@redhat.com>
1198
1199         * linux-core-note.c (prstatus_items): Add .group initializers.
1200         (prpsinfo_items): Likewise.
1201         * x86_64_corenote.c (PRSTATUS_REGSET_ITEMS): Likewise.
1202         * i386_corenote.c (PRSTATUS_REGSET_ITEMS): Likewise.
1203         * ppc_corenote.c (PRSTATUS_REGSET_ITEMS): Likewise.
1204
1205 2007-08-20  Roland McGrath  <roland@redhat.com>
1206
1207         * ppc_symbol.c (ppc_check_special_symbol): For _GLOBAL_OFFSET_TABLE_
1208         when DT_PPC_GOT is not found, anywhere in the section is valid.
1209
1210 2007-08-19  Roland McGrath  <roland@redhat.com>
1211
1212         * i386_auxv.c: New file.
1213         * Makefile.am (i386_SRCS, x86_64_SRCS): Add it.
1214         * ppc_auxv.c: New file.
1215         * Makefile.am (ppc_SRCS, ppc64_SRCS): Add it.
1216         * i386_init.c (i386_init): Initialize auxv_info hook.
1217         * x86_64_init.c (x86_64_init): Likewise.
1218         * ppc_init.c (ppc_init): Likewise.
1219         * ppc64_init.c (ppc64_init): Likewise.
1220
1221         * alpha_corenote.c: New file.
1222         * Makefile.am (alpha_SRCS): Add it.
1223         * alpha_init.c (alpha_init): Initialize core_note hook.
1224
1225         * ppc_corenote.c: New file.
1226         * ppc64_corenote.c: New file.
1227         * Makefile.am (ppc_SRCS, ppc64_SRCS): Add them.
1228         * ppc_init.c (ppc_init): Initialize core_note hook.
1229         * ppc64_init.c (ppc64_init): Likewise.
1230
1231         * linux-core-note.c: New file.
1232         * Makefile.am (noinst_HEADERS): Add it.
1233         * i386_corenote.c: Rewritten.
1234         * x86_64_corenote.c: Likewise.
1235
1236 2007-05-23  Roland McGrath  <roland@redhat.com>
1237
1238         * alpha_regs.c (alpha_register_info): fp -> s6
1239
1240 2007-04-26  Roland McGrath  <roland@redhat.com>
1241
1242         * alpha_symbol.c (alpha_machine_section_flag_check): New function.
1243         * alpha_init.c (alpha_init): Initialize hook.
1244
1245         * alpha_regs.c: New file.
1246         * Makefile.am (alpha_SRCS): Add it.
1247         * alpha_init.c (alpha_init): Initialize register_info hook.
1248
1249 2007-04-22  Roland McGrath  <roland@redhat.com>
1250
1251         * ppc_regs.c (ppc_register_info): Use some names instead of sprNNN:
1252         mq, xer, lr, ctr, dsisr, dar, dec, vrsave.
1253         Set *BITS to 64 for FPU registers.
1254
1255         * i386_regs.c (i386_register_info): Set *BITS to 16 for fctrl, fstat.
1256         * x86_64_regs.c (x86_64_register_info): Likewise for fcw, fsw.
1257
1258 2007-04-01  Roland McGrath  <roland@redhat.com>
1259
1260         * x86_64_regs.c (x86_64_register_info): Add more registers from newer
1261         ABI spec.
1262
1263 2007-01-11  Roland McGrath  <roland@redhat.com>
1264
1265         * ia64_symbol.c (ia64_machine_section_flag_check): New function.
1266         * ia64_init.c (ia64_init): Use it.
1267
1268         * ia64_symbol.c (ia64_section_type_name): Typo fix in string.
1269
1270 2006-10-09  Roland McGrath  <roland@redhat.com>
1271
1272         * ia64_symbol.c (ia64_reloc_simple_type): Treat SECREL types as simple.
1273
1274 2006-08-29  Roland McGrath  <roland@redhat.com>
1275
1276         * sparc_retval.c: New file.
1277         * Makefile.am (sparc_SRCS): Add it.
1278         * sparc_init.c (sparc_init): Initialize return_value_location hook.
1279
1280 2006-08-22  Roland McGrath  <roland@redhat.com>
1281
1282         * i386_regs.c (i386_register_name): Renamed i386_register_info.
1283         Take new args, yield more info.
1284         * i386_init.c (i386_init): Update initializer.
1285         * ia64_regs.c (ia64_register_name): Likewise.
1286         * ia64_init.c (ia64_init): Likewise.
1287         * ppc_regs.c (ppc_register_name): Likewise.
1288         * ppc64_init.c (ppc64_init): Likewise.
1289         * ppc_init.c (ppc_init): Likewise.
1290         * s390_regs.c (s390_register_name): Likewise.
1291         * s390_init.c (s390_init): Likewise.
1292         * sparc_regs.c (sparc_register_name): Likewise.
1293         * sparc_init.c (sparc_init): Likewise.
1294         * x86_64_regs.c (x86_64_register_name): Likewise.
1295         * x86_64_init.c (x86_64_init): Likewise.
1296
1297 2006-08-08  Roland McGrath  <roland@redhat.com>
1298
1299         * Makefile.am (%.os): Don't depend on %.o, since we don't actually
1300         need static object for anything here.  This rule is the only source of
1301         .deps/ files.
1302
1303 2006-06-23  Stepan Kasal  <skasal@redhat.com>
1304
1305         * Makefile.am (PACKAGE_VERSION): Remove superfluous definition.
1306
1307 2006-08-03  Roland McGrath  <roland@redhat.com>
1308
1309         * sparc_regs.c (sparc_register_name): List 32 FPU regs only for
1310         EM_SPARC.  EM_SPARC32PLUS also has 64.
1311
1312 2006-07-21  Roland McGrath  <roland@redhat.com>
1313
1314         * i386_regs.c (i386_register_name): Fix return value when using stpcpy.
1315         * ppc_regs.c (ppc_register_name): Likewise.
1316         * s390_regs.c (s390_register_name): Likewise.
1317
1318         * ia64_retval.c: New file.
1319         * Makefile.am (ia64_SRCS): Add it.
1320         * ia64_init.c (ia64_init): Install return_value_location hook.
1321
1322         * ia64_regs.c: New file.
1323         * Makefile.am (ia64_SRCS): Add it.
1324         * ia64_init.c (ia64_init): Install register_name hook.
1325
1326 2006-07-05  Ulrich Drepper  <drepper@redhat.com>
1327
1328         * alpha_init.c: Initialize sysvhash_entrysize.
1329         * s390_init.c: Likewise.
1330
1331 2006-07-04  Ulrich Drepper  <drepper@redhat.com>
1332
1333         * common-reloc.c (relative_reloc_p): New function.
1334         (init_reloc): Hook it up.
1335         * ia64_reloc.def: Define NO_RELATIVE_RELOC.
1336
1337 2006-06-13  Roland McGrath  <roland@redhat.com>
1338
1339         * ppc64_retval.c: Remove SVR4_STRUCT_RETURN braino.
1340
1341 2006-06-12  Ulrich Drepper  <drepper@redhat.com>
1342
1343         * common-reloc.c (none_reloc_p): New function.
1344         (init_reloc): Hook it up.
1345
1346 2006-02-22  Roland McGrath  <roland@redhat.com>
1347
1348         * ppc64_retval.c (SVR4_STRUCT_RETURN): New macro.
1349         (ppc64_return_value_location): Use registers for aggregate conditional
1350         on that.
1351         * ppc_retval.c (SVR4_STRUCT_RETURN): New macro.
1352         (ppc_return_value_location): Use registers for aggregate conditional
1353         on that.
1354
1355 2006-01-12  Roland McGrath  <roland@redhat.com>
1356
1357         * s390_retval.c: New file.
1358         * Makefile.am (s390_SRCS): Add it.
1359         * s390_init.c (s390_init): Install return_value_location hook.
1360
1361 2006-01-11  Roland McGrath  <roland@redhat.com>
1362
1363         * s390_regs.c: New file.
1364         * Makefile.am (s390_SRCS): Add it.
1365         * s390_init.c (s390_init): Install register_name hook.
1366
1367         * s390_reloc.def: Update bits per
1368         Martin Schwidefsky <schwidefsky@de.ibm.com>.
1369
1370 2005-12-10  Ulrich Drepper
1371
1372         * common-reloc.c (R_NAME): Generate string correctly.
1373
1374 2005-12-05  Roland McGrath  <roland@redhat.com>
1375
1376         * i386_regs.c (i386_register_name): Use a table for the first 8 regs.
1377         * x86_64_regs.c (x86_64_register_name): Likewise.
1378
1379 2005-11-25  Roland McGrath  <roland@redhat.com>
1380
1381         * i386_regs.c (i386_register_name): Return 0, not 1, for gaps.
1382
1383         * i386_regs.c: New file.
1384         * ppc_regs.c: New file.
1385         * sparc_regs.c: New file.
1386         * x86_64_regs.c: New file.
1387         * Makefile.am
1388         (i386_SRCS, x86_64_SRCS, ppc_SRCS, ppc64_SRCS, sparc_SRCS): Add them.
1389         * i386_init.c: Initialize register_name hook.
1390         * ppc_init.c: Likewise.
1391         * ppc64_init.c: Likewise.
1392         * sparc_init.c: Likewise.
1393         * x86_64_init.c: Likewise.
1394
1395 2005-11-19  Roland McGrath  <roland@redhat.com>
1396
1397         * ppc64_reloc.def: REL30 -> ADDR30.
1398
1399 2005-11-18  Roland McGrath  <roland@redhat.com>
1400
1401         * alpha_init.c: Use HOOK macro.
1402         * arm_init.c: Likewise.
1403         * i386_init.c: Likewise.
1404         * ia64_init.c: Likewise.
1405         * ppc64_init.c: Likewise.
1406         * ppc_init.c: Likewise.
1407         * s390_init.c: Likewise.
1408         * sh_init.c: Likewise.
1409         * sparc_init.c: Likewise.
1410         * x86_64_init.c: Likewise.
1411
1412 2005-11-17  Roland McGrath  <roland@redhat.com>
1413
1414         * Makefile.am (uninstall): Don't try to remove $(pkgincludedir).
1415         (CLEANFILES): Add libebl_$(m).so.
1416
1417         * ppc_reloc.def: Update bits per Alan Modra <amodra@bigpond.net.au>.
1418         * ppc64_reloc.def: Likewise.
1419
1420 2005-11-15  Roland McGrath  <roland@redhat.com>
1421
1422         * Contents moved here from ../libebl.