12014-11-22 Mark Wielaard <mjw@redhat.com> 2 3 * ebl-hooks.h (bss_plt_p): Remove ehdr argument. 4 * eblbsspltp.c (ebl_bss_plt_p): Likewise. 5 * eblopenbackend.c (default_bss_plt_p): Likewise. 6 * libebl.h (ebl_bss_plt_p): Likewise. 7 82014-11-17 Mark Wielaard <mjw@redhat.com> 9 10 * ebldebugscnp.c (ebl_debugscn_p): Check name is not NULL. 11 122014-06-17 Mark Wielaard <mjw@redhat.com> 13 14 * eblinitreg.c (ebl_func_addr_mask): New function. 15 * libebl.h (ebl_func_addr_mask): Define. 16 * libeblP.h (struct ebl): Add func_addr_mask. 17 182014-05-19 Mark Wielaard <mjw@redhat.com> 19 20 * Makefile.am (gen_SOURCES): Add eblcheckreloctargettype.c. 21 * eblcheckreloctargettype.c: New file. 22 * ebl-hooks.h (check_reloc_target_type): New hook. 23 * eblopenbackend.c (default_check_reloc_target_type): New function. 24 (fill_defaults): Assign default_check_reloc_target_type to 25 check_reloc_target_type. 26 * libebl.h (ebl_check_reloc_target_type): New function definition. 27 282013-12-18 Mark Wielaard <mjw@redhat.com> 29 30 * Makefile.am (gen_SOURCES): Add eblresolvesym.c. 31 * ebl-hooks.h (resolve_sym_value): New entry. 32 * eblresolvesym.c: New file. 33 * libebl.h (ebl_resolve_sym_value): New definition. 34 * libeblP.h (fd_addr): New field. 35 (fd_data): Likewise. 36 372013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com> 38 39 unwinder: s390 and s390x 40 * Makefile.am (gen_SOURCES): Add eblnormalizepc.c and eblunwind.c. 41 * ebl-hooks.h (normalize_pc, unwind): New. 42 * eblnormalizepc.c: New file. 43 * eblunwind.c: New file. 44 * libebl.h (Ebl_Register_Location): Add field pc_register. 45 (ebl_normalize_pc): New declaration. 46 (ebl_tid_registers_get_t, ebl_pid_memory_read_t): New definitions. 47 (ebl_unwind): New declaration. 48 492013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com> 50 51 unwinder: ppc and ppc64 52 * Makefile.am (gen_SOURCES): Add ebldwarftoregno.c. 53 * ebl-hooks.h (dwarf_to_regno): New. 54 * ebldwarftoregno.c: New file. 55 * libebl.h (Ebl_Core_Item): New field pc_register. 56 (ebl_tid_registers_t): Add FIRSTREG -1 to the comment. 57 (ebl_dwarf_to_regno): New. 58 592013-11-25 Petr Machata <pmachata@redhat.com> 60 61 * eblopenbackend.c (machines): Add entry for AArch64. 62 632013-11-14 Jan Kratochvil <jan.kratochvil@redhat.com> 64 65 Code cleanup: Remove const in prototype 66 * libebl.h (ebl_tid_registers_t): Remove const from firstreg. 67 682013-11-07 Jan Kratochvil <jan.kratochvil@redhat.com> 69 Mark Wielaard <mjw@redhat.com> 70 71 * Makefile.am (gen_SOURCES): Add eblinitreg.c. 72 * ebl-hooks.h (set_initial_registers_tid): New entry. 73 * eblinitreg.c: New file. 74 * libebl.h (ebl_tid_registers_t): New definition. 75 (ebl_set_initial_registers_tid, ebl_frame_nregs): New declarations. 76 * libeblP.h (struct ebl): New entry frame_nregs. 77 782013-10-06 Mark Wielaard <mjw@redhat.com> 79 80 * libebl.h (ebl_abi_cfi): Document restrictions using register 81 rules. 82 832013-09-26 Petr Machata <pmachata@redhat.com> 84 85 * eblcorenotetypename.c: Handle NT_ARM_TLS, NT_ARM_HW_BREAK, 86 NT_ARM_HW_WATCH, NT_SIGINFO, NT_FILE. 87 882013-09-25 Mark Wielaard <mjw@redhat.com> 89 90 * eblsectionstripp.c (ebl_section_strip_p): Check shdr_l is not NULL. 91 922013-04-24 Mark Wielaard <mjw@redhat.com> 93 94 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES. 95 962012-10-12 Jan Kratochvil <jan.kratochvil@redhat.com> 97 98 * ebl-hooks.h (abi_cfi): Extend its comment for return value. 99 * eblopenbackend.c (default_abi_cfi): Return -1. 100 * libebl.h (ebl_abi_cfi): Extend its comment for return value. 101 1022012-08-30 Petr Machata <pmachata@redhat.com> 103 104 * eblcorenotetypename.c: Handle PPC_VSX, X86_XSTATE, 105 S390_HIGH_GPRS, S390_TIMER, S390_TODCMP, S390_TODPREG, S390_CTRS, 106 S390_PREFIX, S390_LAST_BREAK, S390_SYSTEM_CALL, and ARM_VFP. 107 1082012-08-22 Jeff Kenton <jkenton@tilera.com> 109 110 * eblopenbackend.c (machines): Add tilegx. 111 1122011-06-26 Mark Wielaard <mjw@redhat.com> 113 114 * eblopenbackend.c (default_debugscn_p): Add .debug_macro. 115 1162011-04-26 Mark Wielaard <mjw@redhat.com> 117 118 * libebl.h (ebl_object_note_type_name): Add const char *name arg. 119 * eblhooks.h (object_note_type_name): Likewise. 120 * eblopenbackend.c (default_object_note_type_name): Likewise. 121 * eblobjnotetypename.c (ebl_object_note_type_name): Likewise. 122 And print version if name is "stapsdt". 123 * eblobjnote.c (ebl_object_note): Add output for "stapsdt" notes. 124 1252011-03-21 Marek Polacek <mpolacek@redhat.com> 126 127 * ebldynamictagname.c: Fix typo in TLSDESC_GOT. 128 1292011-03-10 Mark Wielaard <mjw@redhat.com> 130 131 * Makefile.am (gen_SOURCES): Add eblstother.c. 132 * eblstother.c: New file. 133 * ebl-hooks.h: Add check_st_other_bits hook. 134 * eblopenbackend.c (default_check_st_other_bits): New function. 135 (fill_defaults): Hook default_check_st_other_bits. 136 * libebl.h (ebl_check_st_other_bits): New prototype. 137 1382010-07-07 Roland McGrath <roland@redhat.com> 139 140 * eblopenbackend.c (default_debugscn_p): Match .gdb_index section. 141 1422010-02-15 Roland McGrath <roland@redhat.com> 143 144 * Makefile.am: Use config/eu.am for common stuff. 145 1462010-01-04 Roland McGrath <roland@redhat.com> 147 148 * eblcorenote.c (ebl_core_note): Take GElf_Nhdr * and name data 149 pointer instead of only n_type and n_descsz. 150 * libebl.h: Update declaration. 151 * ebl-hooks.h: Update core_note hook signature. 152 * eblopenbackend.c (default_core_note): Likewise. 153 1542009-10-14 Roland McGrath <roland@redhat.com> 155 156 * eblobjnote.c (ebl_object_note): Clean up NT_GNU_GOLD_VERSION printing. 157 1582009-10-05 Roland McGrath <roland@redhat.com> 159 160 * eblopenbackend.c (default_debugscn_p): Match .debug_pubtypes and 161 .debug_types too. 162 1632009-09-02 Petr Machata <pmachata@redhat.com> 164 165 * libebl/eblstrtab.c (morememory): Allocate memory in multiples of 166 pagesize. 167 1682009-08-06 Petr Machata <pmachata@redhat.com> 169 170 * libebl/eblstrtab.c (ebl_strtabfinalize): Only call copystrings 171 if we have any strings to copy. 172 1732009-07-26 Mark Wielaard <mjw@redhat.com> 174 175 * eblobjnote.c (ebl_object_note): Handle NT_GNU_GOLD_VERSION. 176 177 * eblobjnotetypename.c (ebl_object_note_type_name): Recognize 178 NT_GNU_GOLD_VERSION. 179 1802009-07-08 Roland McGrath <roland@redhat.com> 181 182 * ebl-hooks.h: Add abi_cfi hook. 183 * eblopenbackend.c (default_abi_cfi): New function. 184 (fill_defaults): Add initializer. 185 * eblabicfi.c: New file. 186 * Makefile.am (gen_SOURCES): Add it. 187 * libebl.h: Declare ebl_abi_cfi. 188 1892009-07-08 Ulrich Drepper <drepper@redhat.com> 190 191 * eblsymbolbindingname.c (ebl_symbol_binding_name): Handle 192 STB_GNU_UNIQUE. 193 194 * eblsymboltypename.c (ebl_symbol_type_name): Only handle STT_GNU_IFUNC 195 if the binary is marked as being for Linux. 196 1972009-04-01 Roland McGrath <roland@redhat.com> 198 199 * eblsymboltypename.c (ebl_symbol_type_name): Add STT_GNU_IFUNC. 200 201 * eblauxvinfo.c (AUXV_TYPES): Add RANDOM and BASE_PLATFORM. 202 2032009-02-01 Ulrich Drepper <drepper@redhat.com> 204 205 * eblreloctypename.c (ebl_reloc_type_name): Return "<INVALID RELOC>" 206 instead of "???" for invalid relocations. 207 2082008-08-01 Roland McGrath <roland@redhat.com> 209 210 * eblcorenotetypename.c: Handle NT_386_IOPERM. 211 2122008-07-28 Roland McGrath <roland@redhat.com> 213 214 * eblauxvinfo.c (AUXV_TYPES): Add EXECFN. 215 216 * eblauxvinfo.c (ebl_auxv_info): Handle missing elements of standard 217 table. 218 2192008-07-04 Roland McGrath <roland@redhat.com> 220 221 * libebl.h: Declare ebl_syscall_abi. 222 * ebl_syscall_abi.c: New file. 223 * Makefile.am (gen_SOURCES): Add it. 224 * ebl-hooks.h: New hook syscall_abi. 225 * eblopenbackend.c (default_syscall_abi): New function. 226 (fill_defaults): Use it. 227 2282008-03-31 Roland McGrath <roland@redhat.com> 229 230 * ebldynamictagname.c (ebl_dynamic_tag_name): Use hex for unknown tag. 231 232 * ebl-hooks.h: Add check_special_section hook. 233 * eblopenbackend.c (fill_defaults): Set new hook to ... 234 (default_check_special_section): ... this, new function. 235 * ebl_check_special_section.c: New file. 236 * Makefile.am (gen_SOURCES): Add it. 237 * libebl.h: Declare it. 238 2392008-02-20 Roland McGrath <roland@redhat.com> 240 241 * libebl.h: Declare ebl_check_object_attribute. 242 * eblcheckobjattr.c: New file. 243 * Makefile.am (gen_SOURCES): Add it. 244 * ebl-hooks.h: Add check_object_attribute hook. 245 * eblopenbackend.c (default_check_object_attribute): New function. 246 (fill_defaults): Initialize pointer to it. 247 2482008-02-19 Roland McGrath <roland@redhat.com> 249 250 * eblsectiontypename.c (ebl_section_type_name): 251 Handle SHT_GNU_ATTRIBUTES. 252 2532008-02-08 Roland McGrath <roland@redhat.com> 254 255 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_SPE. 256 2572008-01-30 Roland McGrath <roland@redhat.com> 258 259 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_386_TLS. 260 2612007-10-18 Roland McGrath <roland@redhat.com> 262 263 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_VMX. 264 2652007-10-11 Roland McGrath <roland@redhat.com> 266 267 * eblobjnote.c (ebl_object_note): Translate target format (byte-swap) 268 for NT_GNU_ABI_TAG contents. 269 2702007-08-22 Roland McGrath <roland@redhat.com> 271 272 * libebl.h (Ebl_Core_Item): New member `group'. 273 2742007-08-19 Roland McGrath <roland@redhat.com> 275 276 * ebl-hooks.h: Add new hook auxv_info. 277 * eblopenbackend.c (default_auxv_info): New function. 278 (fill_defaults): Initialize auxv_info hook. 279 * eblauxvinfo.c : New file. 280 * Makefile.am (gen_SOURCES): Add it. 281 * libebl.h: Declare ebl_auxv_info. 282 283 * eblcorenote.c: Rewritten with new signature. 284 * Makefile.am (gen_SOURCES): Add it. 285 * libebl.h (Ebl_Register_Location, Ebl_Core_Item): New types. 286 (ebl_core_note_info): Completely revamp signature. 287 * ebl-hooks.h: Update decl. 288 * eblopenbackend.c (default_core_note): Update signature. 289 2902007-07-09 Roland McGrath <roland@redhat.com> 291 292 * eblobjnotetypename.c (ebl_object_note_type_name): Handle 293 NT_GNU_HWCAP, NT_GNU_BUILD_ID. 294 295 * eblobjnote.c (ebl_object_note): Handle NT_GNU_BUILD_ID. 296 2972007-04-22 Roland McGrath <roland@redhat.com> 298 299 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PRXFPREG. 300 3012007-03-10 Roland McGrath <roland@redhat.com> 302 303 * eblcorenote.c (ebl_core_note): For normally-zero types, 304 print in hex if not zero. 305 3062007-01-11 Roland McGrath <roland@redhat.com> 307 308 * ebl-hooks.h (machine_section_flag_check): New hook. 309 * libebl.h: Declare ebl_machine_section_flag_check. 310 * eblmachinesectionflagcheck.c: New file. 311 * Makefile.am (gen_SOURCES): Add it. 312 * eblopenbackend.c (default_machine_section_flag_check): New function. 313 (fill_defaults): Use it. 314 3152006-09-04 Roland McGrath <roland@redhat.com> 316 317 * ebl-hooks.h: Replace register_name hook with register_info. 318 Also yield natural bit width and base type encoding. 319 * eblopenbackend.c (default_register_name): Renamed 320 default_register_info, new args added. 321 (fill_defaults): Update initialization. 322 * eblregname.c: File renamed ... 323 * eblreginfo.c: ... to this. 324 (ebl_register_name): Renamed to ebl_register_info, new args added. 325 * libebl.h: Update decl. 326 327 * Makefile.am (gen_SOURCES): Update list. 328 3292006-07-06 Ulrich Drepper <drepper@redhat.com> 330 331 * ebldynamictagname.c: Add support for DT_GNU_HASH. 332 * ebldynamictagcheck.c: Likewise. 333 * eblsectiontypename.c: Add support for SHT_GNU_HASH. 334 3352006-07-05 Ulrich Drepper <drepper@redhat.com> 336 337 * Makefile.am (gen_SOURCES): Add eblsysvhashentrysize.c. 338 * libeblP.h (struct ebl): Add sysvhash_entrysize element. 339 * eblopenbackend.c (fill_defaults): Initialize sysvhash_entrysize. 340 341 * eblopenbackend.c (openbackend): If possible, fill machine, class, 342 and data values in from the ELF file. 343 3442006-07-04 Ulrich Drepper <drepper@redhat.com> 345 346 * Makefile.am (gen_SOURCES): Add eblrelativerelocp.c. 347 * eblrelativerelocp.c: New file. 348 * ebl-hooks.c: Add relative_reloc_p. 349 * eblopenbackend.c (default_relative_reloc_p): New function. 350 (fill_defaults): Hook it up. 351 * libebl.h: Declare ebl_relative_reloc_p. 352 3532006-06-12 Ulrich Drepper <drepper@redhat.com> 354 355 * Makefile.am (gen_SOURCES): Add eblnonerelocp.c. 356 * eblnonerelocp.c: New file. 357 * ebl-hooks.c: Add none_reloc_p. 358 * eblopenbackend.c (default_none_reloc_p): New function. 359 (fill_defaults): Hook it up. 360 * libebl.h: Declare ebl_none_reloc_p. 361 3622006-05-27 Ulrich Drepper <drepper@redhat.com> 363 364 * libebl.h: Add extern "C". 365 3662005-11-25 Roland McGrath <roland@redhat.com> 367 368 * eblregname.c: New file. 369 * Makefile.am (gen_SOURCES): Add it. 370 * ebl-hooks.h: Declare register_name hook. 371 * libebl.h: Declare ebl_register_name. 372 * eblopenbackend.c (default_register_name): New function. 373 (fill_defaults): Use it. 374 3752005-11-16 Roland McGrath <roland@redhat.com> 376 377 * libebl.h: Use "" for elf-knowledge.h, not <>. 378 3792005-11-15 Roland McGrath <roland@redhat.com> 380 381 * Makefile.am: Removed everything for building libebl_*.so modules, 382 now in ../backends/Makefile.am instead. 383 * alpha_init.c: Moved to ../backends. 384 * alpha_reloc.def: Likewise. 385 * alpha_retval.c: Likewise. 386 * alpha_symbol.c: Likewise. 387 * arm_init.c: Likewise. 388 * arm_reloc.def: Likewise. 389 * arm_symbol.c: Likewise. 390 * common-reloc.c: Likewise. 391 * i386_corenote.c: Likewise. 392 * i386_init.c: Likewise. 393 * i386_reloc.def: Likewise. 394 * i386_retval.c: Likewise. 395 * i386_symbol.c: Likewise. 396 * ia64_init.c: Likewise. 397 * ia64_reloc.def: Likewise. 398 * ia64_symbol.c: Likewise. 399 * libebl_CPU.h: Likewise. 400 * ppc64_init.c: Likewise. 401 * ppc64_reloc.def: Likewise. 402 * ppc64_retval.c: Likewise. 403 * ppc64_symbol.c: Likewise. 404 * ppc_init.c: Likewise. 405 * ppc_reloc.def: Likewise. 406 * ppc_retval.c: Likewise. 407 * ppc_symbol.c: Likewise. 408 * s390_init.c: Likewise. 409 * s390_reloc.def: Likewise. 410 * s390_symbol.c: Likewise. 411 * sh_init.c: Likewise. 412 * sh_reloc.def: Likewise. 413 * sh_symbol.c: Likewise. 414 * sparc_init.c: Likewise. 415 * sparc_reloc.def: Likewise. 416 * sparc_symbol.c: Likewise. 417 * x86_64_corenote.c: Likewise. 418 * x86_64_init.c: Likewise. 419 * x86_64_reloc.def: Likewise. 420 * x86_64_retval.c: Likewise. 421 * x86_64_symbol.c: Likewise. 422 423 * libebl.h: Comment fixes. 424 425 * alpha_retval.c: New file. 426 * Makefile.am (alpha_SRCS): Add it. 427 * alpha_init.c (alpha_init): Initialize return_value_location hook. 428 429 * ppc64_retval.c: New file. 430 * Makefile.am (ppc64_SRCS): Add it. 431 * ppc64_init.c (ppc64_init): Initialize return_value_location hook. 432 433 * ppc_retval.c: New file. 434 * Makefile.am (ppc_SRCS): Add it. 435 * ppc_init.c (ppc_init): Initialize return_value_location hook. 436 4372005-11-14 Roland McGrath <roland@redhat.com> 438 439 * ia64_init.c (ia64_init): Initialize EH->reloc_simple_type. 440 * sh_init.c (sh_init): Likewise. 441 * x86_64_init.c (x86_64_init): Likewise. 442 443 * sparc_symbol.c (sparc_reloc_simple_type): New function. 444 * sparc_init.c (sparc_init): Use it. 445 446 * arm_symbol.c (arm_reloc_simple_type): New function. 447 * arm_init.c (arm_init): Use it. 448 449 * alpha_symbol.c (alpha_reloc_simple_type): New function. 450 * alpha_init.c (alpha_init): Use it. 451 452 * ia64_reloc.def: Update bits per H. J. Lu <hjl@lucon.org>. 453 454 * arm_reloc.def: Update bits per Daniel Jacobowitz <drow@false.org>. 455 456 * alpha_reloc.def: Update bits per Richard Henderson <rth@redhat.com>. 457 4582005-11-13 Roland McGrath <roland@redhat.com> 459 460 * x86_64_retval.c: New file. 461 * Makefile.am (x86_64_SRCS): Add it. 462 * x86_64_init.c (x86_64_init): Use x86_64_return_value_location. 463 464 * i386_retval.c: New file. 465 * Makefile.am (i386_SRCS): Add it. 466 (libdw): New variable. 467 (libebl_%.so): Use $(libdw) in link; use --as-needed. 468 * i386_init.c (i386_init): Use i386_return_value_location. 469 470 * eblretval.c: New file. 471 * Makefile.am (gen_SOURCES): Add it. 472 (INCLUDES): Search in libdw. 473 * libebl.h: Include <libdw.h>. Declare ebl_return_value_location. 474 * ebl-hooks.h: Declare return_value_location hook. 475 * eblopenbackend.c (default_return_value_location): New function. 476 (fill_defaults): Use it. 477 4782005-11-10 Roland McGrath <roland@redhat.com> 479 480 * s390_init.c: New file. 481 * s390_reloc.def: New file. 482 * s390_symbol.c: New file. 483 * Makefile.am (modules, libebl_pic): Add s390. 484 (s390_SRCS, libebl_s390_pic_a_SOURCES): New variables. 485 (am_libebl_s390_pic_a_OBJECTS): New variable. 486 487 * ppc64_init.c: Use common-reloc.c. 488 * ppc64_symbol.c (ppc64_backend_name): Removed. 489 (ppc64_reloc_type_check, ppc64_reloc_type_name): Likewise. 490 (ppc64_copy_reloc_p, ppc64_reloc_valid_use): Likewise. 491 492 * ppc_init.c: Use common-reloc.c. 493 * ppc_symbol.c (ppc_backend_name): Removed. 494 (ppc_reloc_type_name, ppc_reloc_type_check): Likewise. 495 (ppc_reloc_valid_use, ppc_copy_reloc_p): Likewise. 496 497 * sparc_init.c: Use common-reloc.c. 498 * sparc_symbol.c (sparc_backend_name): Removed. 499 (sparc_reloc_type_name, sparc_reloc_type_check): Likewise. 500 (sparc_copy_reloc_p): Likewise. 501 502 * arm_init.c: Use common-reloc.c. 503 * arm_symbol.c (arm_backend_name): Removed. 504 (arm_reloc_type_name, arm_reloc_type_check, arm_copy_reloc_p): Removed. 505 506 * alpha_init.c: Use common-reloc.c. 507 * alpha_symbol.c (alpha_backend_name): Removed. 508 (alpha_reloc_type_name, alpha_reloc_type_check): Likewise. 509 (alpha_copy_reloc_p): Likewise. 510 511 * ia64_symbol.c (ia64_backend_name): Removed. 512 (ia64_reloc_type_name, ia64_reloc_type_check): Likewise. 513 (ia64_copy_reloc_p): Likewise. 514 515 * x86_64_init.c: Use common-reloc.c. 516 * x86_64_symbol.c (x86_64_backend_name): Removed. 517 (x86_64_copy_reloc_p, x86_64_reloc_valid_use): Likewise. 518 (x86_64_reloc_type_check, x86_64_reloc_type_name): Likewise. 519 520 * sh_init.c: Use common-reloc.c. 521 * sh_symbol.c: All functions removed. 522 (sh_reloc_simple_type): New function. 523 (sh_gotpc_reloc_check): New function. 524 525 * common-reloc.c: New file. 526 * Makefile.am (noinst_HEADERS): Add it. 527 * i386_init.c: Include it. 528 529 * sh_reloc.def: New file. 530 * i386_reloc.def: New file. 531 * alpha_reloc.def: New file. 532 * arm_reloc.def: New file. 533 * i386_reloc.def: New file. 534 * ia64_reloc.def: New file. 535 * ppc64_reloc.def: New file. 536 * ppc_reloc.def: New file. 537 * sh_reloc.def: New file. 538 * sparc_reloc.def: New file. 539 * x86_64_reloc.def: New file. 540 * Makefile.am (EXTRA_DIST): Add $(modules:=_reloc.def). 541 542 * libebl_alpha.map: Removed. 543 * libebl_ia64.map: Removed. 544 * libebl_ppc.map: Removed. 545 * libebl_sparc.map: Removed. 546 * libebl_arm.map: Removed. 547 * libebl_i386.map: Removed. 548 * libebl_ppc64.map: Removed. 549 * libebl_sh.map: Removed. 550 * libebl_x86_64.map: Removed. 551 * Makefile.am (EXTRA_DIST): Remove them. 552 (libebl_%.map, libebl_%.so): New pattern rules. 553 554 * libebl_alpha.h: Removed. 555 * libebl_ia64.h: Removed. 556 * libebl_ppc.h: Removed. 557 * libebl_sparc.h: Removed. 558 * libebl_arm.h: Removed. 559 * libebl_i386.h: Removed. 560 * libebl_ppc64.h: Removed. 561 * libebl_sh.h: Removed. 562 * libebl_x86_64.h: Removed. 563 * Makefile.am (noinst_HEADERS): Remove them. 564 565 * x86_64_corenote.c: Use libebl_CPU.h instead. 566 * x86_64_symbol.c: Likewise. 567 * i386_corenote.c: Likewise. 568 5692005-11-09 Roland McGrath <roland@redhat.com> 570 571 * ia64_symbol.c (ia64_reloc_simple_type): New function. 572 573 * ebl-hooks.h (reloc_simple_type): Take the Ebl handle, not Elf handle. 574 * eblrelocsimpletype.c (ebl_reloc_simple_type): Update caller. 575 * eblopenbackend.c (default_reloc_simple_type): Update signature. 576 * i386_symbol.c (i386_reloc_simple_type): Likewise. 577 * ppc64_symbol.c (ppc64_reloc_simple_type): Likewise. 578 * ppc_symbol.c (ppc_reloc_simple_type): Likewise. 579 * x86_64_symbol.c (x86_64_reloc_simple_type): Likewise. 580 581 * i386_symbol.c (i386_backend_name): Removed. 582 (i386_reloc_type_name, i386_reloc_type_check): Likewise. 583 (i386_reloc_valid_use): Removed. 584 (i386_copy_reloc_p): Removed. 585 586 * alpha_destr.c: Removed. 587 * arm_destr.c: Removed. 588 * i386_destr.c: Removed. 589 * ia64_destr.c: Removed. 590 * ppc64_destr.c: Removed. 591 * ppc_destr.c: Removed. 592 * sh_destr.c: Removed. 593 * sparc_destr.c: Removed. 594 * x86_64_destr.c: Removed. 595 596 * ebl-hooks.h: New file, broken out of ... 597 * libeblP.h (struct ebl): ... here. #include that for hook 598 declarations, after defining EBLHOOK macro. 599 * libebl_CPU.h: New file. 600 * Makefile.am (noinst_HEADERS): Add them. 601 602 * libeblP.h (struct ebl): Use uint_fast16_t for machine, 603 and uint_fast8_t for class and data. 604 6052005-08-14 Roland McGrath <roland@redhat.com> 606 607 * ia64_symbol.c (ia64_section_type_name): New function. 608 (ia64_dynamic_tag_check): New function. 609 (ia64_reloc_valid_use): New function. 610 * libebl_ia64.h: Declare them. 611 * ia64_init.c (ia64_init): Use them. 612 * Makefile.am (libebl_ia64.so): Link with libelf. 613 6142005-08-28 Ulrich Drepper <drepper@redhat.com> 615 616 * Makefile.am: Use $(LINK) not $(CC) when creating DSOs. 617 6182005-08-13 Roland McGrath <roland@redhat.com> 619 620 * ia64_symbol.c (ia64_machine_flag_check): New function. 621 * libebl_ia64.h: Declare it. 622 * ia64_init.c (ia64_init): Use it. 623 6242005-08-13 Ulrich Drepper <drepper@redhat.com> 625 626 * libebl.h: Add ehdr parameter to ebl_bss_plt_p and 627 ebl_check_special_symbol. 628 * libeblP.h (struct ebl): Adjust callback functions. 629 * eblopenbackend.c: Adjust dummy functions. 630 * ebl_check_special_symbol.c: Add parameter and pass it on. 631 * eblbsspltp.c: Likewise. 632 * ppc_symbol.c (find_dyn_got): With ehdr passed, simplify search for 633 the dynamic section entry. 634 (ppc_check_special_symbol): Add ehdr parameter. 635 (ppc_bss_plt_p): Likewise. 636 * libebl_ppc.h: Adjust prototypes. 637 * ppc64_symbol.c (ppc_check_special_symbol): Add ehdr parameter. 638 (ppc_bss_plt_p): Likewise. 639 * libebl_ppc64.h: Adjust prototypes. 640 6412005-08-12 Roland McGrath <roland@redhat.com> 642 643 * ppc_symbol.c (find_dyn_got): New function, broken out of ... 644 (ppc_bss_plt_p): ... here. Call that. 645 (ppc_check_special_symbol): Use find_dyn_got to fetch value to check 646 against _GLOBAL_OFFSET_TABLE_. 647 648 * libeblP.h (struct ebl): Add bss_plt_p hook. 649 * eblopenbackend.c (default_bss_plt_p): New function. 650 (fill_defaults): Use it. 651 * eblbsspltp.c: New file. 652 * Makefile.am (gen_SOURCES): Add it. 653 * libebl.h: Declare ebl_bss_plt_p. 654 * ppc_symbol.c (ppc_bss_plt_p): New function. 655 * libebl_ppc.h: Declare it. 656 * ppc_init.c (ppc_init): Use it. 657 * ppc64_symbol.c (ppc64_bss_plt_p): New function. 658 * libebl_ppc64.h: Declare it. 659 * ppc64_init.c (ppc64_init): Use it. 660 661 * ebl_check_special_symbol.c: New file. 662 * Makefile.am (gen_SOURCES): Add it. 663 * libebl.h: Declare ebl_check_special_symbol. 664 * libeblP.h (struct ebl): Add check_special_symbol hook. 665 * eblopenbackend.c (default_check_special_symbol): New function. 666 (fill_defaults): Use it. 667 * ppc_symbol.c (ppc_check_special_symbol): New function. 668 * libebl_ppc.h: Add prototype. 669 * ppc_init.c (ppc_init): Use it. 670 * ppc64_symbol.c (ppc64_check_special_symbol): New function. 671 * libebl_ppc64.h: Add prototype. 672 * ppc64_init.c (ppc64_init): Use it. 673 6742005-08-07 Ulrich Drepper <drepper@redhat.com> 675 676 * ppc_init.c: Add support for new DT_PPC_* and R_PPC_* values. 677 * ppc_symbol.c: Likewise. 678 * libebl_ppc.h: Likewise. 679 * ppc64_init.c: There is now also a dynamic_tag_check functions 680 * ppc64_symbol.c: Add dynamic_tag_check. 681 * libebl_ppc64.h: Add prototype. 682 * alpha_init.c: Add support for new DT_ALPHA_* value. 683 * alpha_symbol.c: Likewise. 684 * libebl_alpha.h: Likewise. 685 6862005-08-03 Ulrich Drepper <drepper@redhat.com> 687 688 * libebl_alpha.map: Remove unnecessary exports. 689 * libebl_arm.map: Likewise. 690 * libebl_i386.map: Likewise. 691 * libebl_ia64.map: Likewise. 692 * libebl_ppc.map: Likewise. 693 * libebl_ppc64.map: Likewise. 694 * libebl_sh.map: Likewise. 695 * libebl_sparc.map: Likewise. 696 * libebl_x86_64.map: Likewise. 697 6982005-08-02 Ulrich Drepper <drepper@redhat.com> 699 700 * Makefile.am (libebl_a_SOURCES): Add eblelfclass.c, eblelfdata.c, 701 and eblelfmachine.c. 702 * elbopenbackend.c (machines): Add class and data fields. Initialize 703 them. 704 (ebl_openbackend): Initialize machine, class, data fields in result. 705 * libebl.h: Declare Add eblelfclass, eblelfdata, and eblelfmachine. 706 * libeblP.h (Ebl): Add machine, class, data fields. 707 7082005-07-23 Ulrich Drepper <drepper@redhat.com> 709 710 * eblsectionstripp.c: New file. 711 * Makefile.am (gen_SOURCES): Add eblsectionstripp.c. 712 * i386_init.c (i386_init): Install specific debugscn_p callback. 713 * i386_symbol.c (i386_debugscn_p): New function. 714 * libebl.h: Declare ebl_section_strip_p. 715 * libebl_i386.h: Declare i386_debugscn_p. 716 717 * libebl.h: Move Ebl definition to... 718 * libeblP.h: ...here. 719 7202005-07-21 Roland McGrath <roland@redhat.com> 721 722 * Makefile.am (install-ebl-modules): New target, commands from ... 723 (install): ... here. Make this depend on it. 724 (LIBEBL_SUBDIR): New variable, substituted by configure. 725 (install-ebl-modules): Install in $(libdir)/$(LIBEBL_SUBDIR). 726 * eblopenbackend.c (openbackend): Use LIBEBL_SUBDIR in module name. 727 7282005-07-21 Ulrich Drepper <drepper@redhat.com> 729 730 * eblcopyrelocp.c: New file. 731 * Makefile.am (gen_SOURCES): Add eblcopyrelocp.c. 732 * libebl.h: Declare ebl_copy_reloc_p. 733 * eblopenbackend.c (fill_defaults): Fill in copy_reloc_p. 734 (default_copy_reloc_p): New function. 735 * alpha_init.c: Define and use arch-specific copy_reloc_p function. 736 * alpha_symbol.c: Likewise. 737 * arm_init.c: Likewise. 738 * arm_symbol.c: Likewise. 739 * i386_init.c: Likewise. 740 * i386_symbol.c: Likewise. 741 * ia64_init.c: Likewise. 742 * ia64_symbol.c: Likewise. 743 * ppc64_init.c: Likewise. 744 * ppc64_symbol.c: Likewise. 745 * ppc_init.c: Likewise. 746 * ppc_symbol.c: Likewise. 747 * sh_init.c: Likewise. 748 * sh_symbol.c: Likewise. 749 * sparc_init.c: Likewise. 750 * sparc_symbol.c: Likewise. 751 * x86_64_init.c: Likewise. 752 * x86_64_symbol.c: Likewise. 753 * libebl_alpha.h: Declare the copy_reloc_p function. 754 * libebl_arm.h: Likewise. 755 * libebl_i386.h: Likewise. 756 * libebl_ia64.h: Likewise. 757 * libebl_ppc.h: Likewise. 758 * libebl_ppc64.h: Likewise. 759 * libebl_sh.h: Likewise. 760 * libebl_sparc.h: Likewise. 761 * libebl_x86_64.h: Likewise. 762 7632005-05-31 Roland McGrath <roland@redhat.com> 764 765 * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency 766 tracking works right. 767 7682005-05-21 Ulrich Drepper <drepper@redhat.com> 769 770 * libebl_x86_64.map: Add x86_64_core_note. 771 7722005-05-19 Roland McGrath <roland@redhat.com> 773 774 * libebl_i386.map: Add i386_reloc_valid_use, i386_reloc_simple_type. 775 * libebl_ppc.map: Add ppc_reloc_simple_type. 776 * libebl_ppc64.map: Add ppc64_reloc_simple_type. 777 * libebl_x86_64.map: Add x86_64_reloc_simple_type. 778 7792005-05-11 Ulrich Drepper <drepper@redhat.com> 780 781 * eblcorenote.c: Handle new AT_* values and files with different 782 endianess. 783 * Makefile.am (x86_64_SRCS): Add x86_64_corenote.c. 784 * x86-64_corenote.c: New file. 785 * x86_64_init.c: Hook in x86_64_corenote. 786 * i386_corenote.c: Make file usable on 64-bit platforms. 787 788 * eblopenbackend.c: If modules version comparison fails, reinitialize 789 hooks. 790 7912005-05-10 Ulrich Drepper <drepper@redhat.com> 792 793 * eblopenbackend.c: Require the init function to return a string. 794 Compare it with MODVERSION from config.h. 795 * alpha_init.c: Change return type. Return MODVERSION or NULL. 796 * arm_init.c: Likewise. 797 * eblopenbackend.c: Likewise. 798 * i386_init.c: Likewise. 799 * ia64_init.c: Likewise. 800 * ppc64_init.c: Likewise. 801 * ppc_init.c: Likewise. 802 * sh_init.c: Likewise. 803 * sparc_init.c: Likewise. 804 * x86_64_init.c: Likewise. 805 * libeblP.h: Adjust ebl_bhinit_t. 806 * libebl_alpha.h: Adjust init function prototype. 807 * libebl_arm.h: Likewise. 808 * libebl_i386.h: Likewise. 809 * libebl_ia64.h: Likewise. 810 * libebl_ppc.h: Likewise. 811 * libebl_ppc64.h: Likewise. 812 * libebl_sh.h: Likewise. 813 * libebl_sparc.h: Likewise. 814 * libebl_x86_64.h: Likewise. 815 816 * mips_destr.c: Removed. 817 * mips_init.c: Removed. 818 * mips_symbol.c: Removed. 819 * libebl_mips.h: Removed. 820 * libebl_mips.map: Removed. 821 8222005-05-03 Roland McGrath <roland@redhat.com> 823 824 * libebl.h (Ebl): Add `reloc_simple_type' member. 825 * eblopenbackend.c (default_reloc_simple_type): New function. 826 (openbackend): Use that as default reloc_simple_type callback. 827 * eblrelocsimpletype.c: New file. 828 * Makefile.am (gen_SOURCES): Add it. 829 * i386_symbol.c (i386_reloc_simple_type): New function. 830 * libebl_i386.h: Declare it. 831 * i386_init.c (i386_init): Use it. 832 * x86_64_symbol.c (x86_64_reloc_simple_type): New function. 833 * libebl_x86_64.h: Declare it. 834 * x86_64_init.c (x86_64_init): Use it. 835 * ppc_symbol.c (ppc_reloc_simple_type): New function. 836 * libebl_ppc.h: Declare it. 837 * ppc_init.c (ppc_init): Use it. 838 * ppc64_symbol.c (ppc64_reloc_simple_type): New function. 839 * libebl_ppc64.h: Declare it. 840 * ppc64_init.c (ppc64_init): Use it. 841 8422005-03-17 Ulrich Drepper <drepper@redhat.com> 843 844 * eblcorenote.c (ebl_core_note): Add support for AT_SECURE. 845 8462005-02-15 Ulrich Drepper <drepper@redhat.com> 847 848 * Makefile.am (AM_CFLAGS): Add -Wformat=2. 849 8502005-02-14 Ulrich Drepper <drepper@redhat.com> 851 852 * alpha_destr.c: Add __attribute__((unused)) where needed. 853 * alpha_init.c: Likewise. 854 * alpha_symbol.c: Likewise. 855 * arm_destr.c: Likewise. 856 * arm_init.c: Likewise. 857 * arm_symbol.c: Likewise. 858 * i386_corenote.c: Likewise. 859 * i386_destr.c: Likewise. 860 * i386_init.c: Likewise. 861 * i386_symbol.c: Likewise. 862 * ia64_destr.c: Likewise. 863 * ia64_init.c: Likewise. 864 * ia64_symbol.c: Likewise. 865 * mips_destr.c: Likewise. 866 * mips_init.c: Likewise. 867 * mips_symbol.c: Likewise. 868 * ppc64_destr.c: Likewise. 869 * ppc64_init.c: Likewise. 870 * ppc64_symbol.c: Likewise. 871 * ppc_destr.c: Likewise. 872 * ppc_init.c: Likewise. 873 * ppc_symbol.c: Likewise. 874 * sh_destr.c: Likewise. 875 * sh_init.c: Likewise. 876 * sh_symbol.c: Likewise. 877 * sparc_destr.c: Likewise. 878 * sparc_init.c: Likewise. 879 * sparc_symbol.c: Likewise. 880 * x86_64_destr.c: Likewise. 881 * x86_64_init.c: Likewise. 882 * x86_64_symbol.c: Likewise. 883 884 * x86_64_symbol.c (reloc_map_table): Fix entries for R_X86_64_64 885 and R_X86_64_32.. 886 8872005-02-06 Ulrich Drepper <drepper@redhat.com> 888 889 * eblstrtab.c: A few cleanups. 890 891 * eblopenbackend.c: Mark unused parameters. 892 893 * eblgstrtab.c: Cleanups a few printf format strings. 894 895 * Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra. 896 8972005-02-05 Ulrich Drepper <drepper@redhat.com> 898 899 * Makefile.am: Check for text relocations in constructed DSOs. 900 901 * eblstrtab.c: Minor cleanups. 902 903 * Makefile.am (AM_CFLAGS): Add -std=gnu99 and -fmudflap for MUDFLAP. 904 9052004-08-16 Ulrich Drepper <drepper@redhat.com> 906 907 * Makefile.am (AM_CFLAGS): Add LIBSTR definition with base name of 908 the lib directory. 909 * eblopenbackend.c (openbackend): Use LIBSTR instead of hardcoded 910 lib in path to ebl modules. 911 9122004-04-01 Ulrich Drepper <drepper@redhat.com> 913 914 * Makefile.am: Add rules for ppc and ppc64 ebl module. 915 * ppc_init..c: New file. 916 * ppc_destr.c: New file. 917 * ppc_symbol.c: New file. 918 * libebl_ppc.h: New file. 919 * libebl_ppc.map: New file. 920 * ppc64_init..c: New file. 921 * ppc64_destr.c: New file. 922 * ppc64_symbol.c: New file. 923 * libebl_ppc64.h: New file. 924 * libebl_ppc64.map: New file. 925 9262004-01-20 Ulrich Drepper <drepper@redhat.com> 927 928 * Makefile.am: Support building with mudflap. 929 9302004-01-18 Ulrich Drepper <drepper@redhat.com> 931 932 * libeblP.h (_): Use elfutils domain. 933 9342004-01-16 Ulrich Drepper <drepper@redhat.com> 935 936 * eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER. 937 9382004-01-13 Ulrich Drepper <drepper@redhat.com> 939 940 * eblsegmenttypename.c ((ebl_segment_type_name): Add support for 941 PT_GNU_RELRO. 942 9432004-01-08 Ulrich Drepper <drepper@redhat.com> 944 945 * libebl.h: Remove last traces of libtool. 946 9472004-01-05 Ulrich Drepper <drepper@redhat.com> 948 949 * elf-knowledge.h: Move to libelf subdir. 950 951 * Makefile.am (EXTRA_DIST): Remove libebl.map. 952 * libebl.map: Removed. 953 9542003-12-08 Ulrich Drepper <drepper@redhat.com> 955 956 * eblsectiontypename.c (ebl_section_type_name): Add support for 957 SHT_SUNW_move, SHT_CHECKSUM, and SHT_GNU_LIBLIST. 958 9592003-11-19 Ulrich Drepper <drepper@redhat.com> 960 961 * ia64_symbol.c (ia64_dynamic_tag_name): New function. 962 * libebl_ia64.h (ia64_dynamic_tag_name): Declare. 963 * ia64_init.c (ia64_init): Register i164_dynamic_tag_name. 964 9652003-09-24 Ulrich Drepper <drepper@redhat.com> 966 967 * ia64_init.c (ia64_init): Initialize segment_type_name callback. 968 * ia64_symbol.c (ia64_segment_type_name): Define. 969 * libebl_ia64.h (ia64_segment_type_name): Declare. 970 9712003-09-22 Ulrich Drepper <drepper@redhat.com> 972 973 * Makefile.am (AM_CFLAGS): Add -fpic. 974 9752003-08-14 Ulrich Drepper <drepper@redhat.com> 976 977 * Makefile.am (install): Remove dependency on libebl.so. 978 9792003-08-13 Ulrich Drepper <drepper@redhat.com> 980 981 * eblopenbackend.c: Adjust relative path to arch-specific DSOs 982 assuming the code ends up in the application. Add second dlopen() 983 try without any path, just the filename. 984 * Makefile.in: Remove rules to build and install libebl.so. 985 9862003-08-11 Ulrich Drepper <drepper@redhat.com> 987 988 * Moved to CVS archive. 989