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