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