12022-12-21 Shahab Vahedi <[email protected]> 2 3 * eblopenbackend.c (arc_init): New function declaration. 4 (machines): Add entry for arc. 5 62022-12-02 Hengqi Chen <[email protected]> 7 8 * eblopenbackend.c (machines): Add entries for LoongArch. 9 102022-10-21 Yonggang Luo <[email protected]> 11 12 * eblclosebackend.c: Remove dlfcn.h include. 13 * eblopenbackend.c: Likewise. 14 152022-08-08 Andreas Schwab <[email protected]> 16 17 * ebldynamictagname.c (ebl_dynamic_tag_name): Handle DT_RELRSZ, 18 DT_RELR, DT_RELRENT. 19 202022-06-01 Ulrich Drepper <[email protected]> 21 22 * eblopenbackend.c (default_machine_flag_name): Add original flag 23 as first parameter. 24 * ebl-hooks.h (machine_flag_name): Ditto. 25 * eblmachineflagname.c (ebl_machine_flag_name): Modernize, use bool 26 for first. Pass original flag value to machine_flag_name 27 callback as well. Add space after comma in printed list. 28 Fix appending strings provided by callback. 29 302021-12-21 Luca Boccassi <[email protected]> 31 32 * eblobjnote.c (ebl_object_note): Handle NT_FDO_PACKAGING_METADATA. 33 * eblobjnotetypename.c (ebl_object_note_type_name): Likewise. 34 352021-09-06 Dmitry V. Levin <[email protected]> 36 37 * eblopenbackend.c (openbackend): Remove cast of calloc return value. 38 392021-04-19 Martin Liska <[email protected]> 40 41 * eblobjnotetypename.c (ebl_object_note_type_name): Use startswith. 42 * eblopenbackend.c (default_debugscn_p): Likewise. 43 442020-12-16 Dmitry V. Levin <[email protected]> 45 46 * libeblP.h (_): Remove. 47 482020-12-15 Dmitry V. Levin <[email protected]> 49 50 * eblbackendname.c (ebl_backend_name): Replace gettext(...) with _(...). 51 * eblcorenotetypename.c (ebl_core_note_type_name): Likewise. 52 * ebldynamictagname.c (ebl_dynamic_tag_name): Likewise. 53 * eblobjnote.c (ebl_object_note): Likewise. 54 * eblobjnotetypename.c (ebl_object_note_type_name): Likewise. 55 * eblosabiname.c (ebl_osabi_name): Likewise. 56 * eblsectionname.c (ebl_section_name): Likewise. 57 * eblsectiontypename.c (ebl_section_type_name): Likewise. 58 * eblsegmenttypename.c (ebl_segment_type_name): Likewise. 59 * eblsymbolbindingname.c (ebl_symbol_binding_name): Likewise. 60 * eblsymboltypename.c (ebl_symbol_type_name): Likewise. 61 622020-10-19 Mark Wielaard <[email protected]> 63 64 * eblopenbackend.c (tilegx_init): Removed. 65 (machines): Set init to NULL for tilegx. 66 672020-10-19 Mark Wielaard <[email protected]> 68 69 * Makefile.am (libebl_a_SOURCES): Remove ebl_syscall_abi.c. 70 * ebl-hooks.h (syscall_abi): Remove. 71 * ebl_syscall_abi.c: Delete. 72 * eblopenbackend.c (default_syscall_abi): Remove. 73 (fill_defaults): Remove syscall_abi assignment. 74 * libebl.h (ebl_syscall_abi): Remove. 75 762020-09-03 Mark Wielaard <[email protected]> 77 78 * eblobjnote.c (ebl_object_note): For EM_AARCH64 handle BTI and PAC 79 in GNU_PROPERTY_AARCH64_FEATURE_1_AND. 80 812020-07-19 Mark Wielaard <[email protected]> 82 83 * libebl.h: Only typedef Ebl if _LIBASM_H is undefined. 84 852020-06-10 Mark Wielaard <[email protected]> 86 87 * eblopenbackend.c (i386_init, sh_init, x86_64_init, ia64_init, 88 alpha_init, arm_init, aarch64_init, sparc_init, ppc_init, 89 ppc64_init, s390_init, tilegx_init, m68k_init, bpf_init, 90 riscv_init, csky_init): Adjust signature. 91 (openbackend): Call init without sizeof(Ebl). 92 * libeblP.h (ebl_bhinit_t): Adjust signature. 93 942020-06-04 Mark Wielaard <[email protected]> 95 96 * eblsegmenttypename.c (ebl_segment_type_name): Remove 97 PT_GNU_PROPERTY define. 98 992020-04-17 Mark Wielaard <[email protected]> 100 101 * eblopenbackend.c (default_debugscn_p): Handle .gnu.debuglto_ 102 prefix. 103 1042020-02-08 Mark Wielaard <[email protected]> 105 106 * eblsegmenttypename.c (ebl_segment_type_name): Handle 107 PT_GNU_PROPERTY. 108 1092019-08-29 Mark Wielaard <[email protected]> 110 111 * Makefile.am (noinst_LIBRARIES): Add libebl.a. 112 (noinst_HEADERS): Add libebl.h. 113 1142019-07-05 Omar Sandoval <[email protected]> 115 116 * Makefile.am: Make libebl.a non-PIC by default. 117 Add libebl_pic.a. 118 Remove LIBEBL_SUBDIR definition. 119 (gen_SOURCES): Remove. 120 * eblopenbackend.c (machines): Replace dsoname with init callback. 121 (try_dlopen): Remove. 122 (openbackend): Use machine callback instead of try_dlopen(). 123 Don't assign result->dlhandle. 124 * eblclosebackend.c (ebl_closebackend): Remove dlclose() call. 125 1262019-04-29 Mao Han <[email protected]> 127 128 * eblopenbackend.c: Add C-SKY. 129 1302019-06-28 Mark Wielaard <[email protected]> 131 132 * eblopenbackend.c (try_dlopen): Remove result->name check. 133 (openbackend): Remove result->name assignment. 134 (struct ebl): Remove name. 135 1362019-05-30 Mark Wielaard <[email protected]> 137 138 * eblopenbackend.c (try_dlopen): New function extracted from 139 openbackend. 140 (openbackend): Replace ORIGINDIR define with BINORIGINDIR and 141 LIBORIGINDIR defines. Use tryopen to open backend in bin origin 142 path, lib origin path and without an explicit path. 143 1442019-04-28 Mark Wielaard <[email protected]> 145 146 * eblsymbolbindingname.c (ebl_symbol_binding_name): Check ebl is 147 not NULL for STB_GNU_UNIQUE. 148 * eblsymboltypename.c (ebl_symbol_type_name): Check ebl is not 149 NULL for STT_GNU_IFUNC. 150 1512019-01-29 Mark Wielaard <[email protected]> 152 153 * eblobjnote.c (ebl_object_note): Check pr_datasz padding doesn't 154 overflow descsz. 155 1562019-01-16 Mark Wielaard <[email protected]> 157 158 * libebl.h (ebl_core_note): Add desc as argument. 159 * eblcorenote.c (ebl_core_note): Take desc as an argument, check 160 it contains a zero terminated string if it is an NT_PLATFORM note. 161 1622019-01-16 Mark Wielaard <[email protected]> 163 164 * eblobjnte.c (ebl_object_note): Check pr_datasz isn't too large. 165 1662018-12-02 Mark Wielaard <[email protected]> 167 168 * eblobjnte.c (ebl_object_note): For GNU_PROPERTY_STACK_SIZE use 169 an Elf32_Addr or Elf64_Addr to read and print the size. 170 1712018-11-15 Mark Wielaard <[email protected]> 172 173 * eblobjnotetypename.c (ebl_object_note_type_name): Don't update 174 w, t and len unnecessarily. 175 1762018-11-12 Mark Wielaard <[email protected]> 177 178 * libebl.h (ebl_object_note): Add new argument namesz. 179 * eblobjnote.c (ebl_object_note): Likewise and handle GNU Build 180 Attribute notes. 181 * eblobjnotetypename.c (ebl_object_note_type_name): Handle GNU 182 Build Attribute notes. 183 1842018-11-11 Mark Wielaard <[email protected]> 185 186 * eblobjnote.c (ebl_object_note): Recognize NT_VERSION with zero 187 descriptor. Add explicit "GNU" name check. 188 * eblobjnotetypename.c (ebl_object_note_type_name): Add extra 189 argument descsz. Recognize NT_VERSION using descsz. With "GNU" 190 name it is NT_GNU_ABI_TAG. 191 * libebl.h (ebl_object_note_type_name): Add extra argument descsz. 192 1932018-10-18 Mark Wielaard <[email protected]> 194 195 * eblobjnote.c (ebl_object_note): Handle NT_GNU_PROPERTY_TYPE_0. 196 * eblobjnotetypename.c (ebl_object_note_type_name): Add 197 GNU_PROPERTY_TYPE_0. 198 1992018-10-02 Andreas Schwab <[email protected]> 200 201 * ebl-hooks.h (EBLHOOK(reloc_simple_type)): Add third parameter. 202 * libebl.h (ebl_reloc_simple_type): Likewise. 203 * eblopenbackend.c (default_reloc_simple_type): Likewise. 204 * eblrelocsimpletype.c (ebl_reloc_simple_type): Pass it down. 205 2062018-09-12 Mark Wielaard <[email protected]> 207 208 * eblsectionstripp.c (ebl_section_strip_p): Drop ehdr argument. 209 Use elf_getshdrstrndx. 210 * libebl.h (ebl_section_strip_p): Drop ehdr argument. 211 2122018-09-12 Mark Wielaard <[email protected]> 213 214 * ebl-hooks.h (check_special_symbol): Drop ehdr argument. 215 * ebl_check_special_symbol.c (ebl_check_special_symbol): Likewise. 216 * eblopenbackend.c (default_check_special_symbol): Likewise. 217 * libebl.h (ebl_check_special_symbol): Likewise. 218 2192018-07-04 Ross Burton <[email protected]> 220 221 * eblopenbackend.c: Remove error.h include. 222 2232018-04-25 Mark Wielaard <[email protected]> 224 225 * eblopenbackend.c (default_debugscn_p): Add new DWARF5 sections 226 .debug_addr, .debug_line_str, .debug_loclists, .debug_names, 227 .debug_rnglists and .debug_str_offsets. 228 2292018-04-19 Andreas Schwab <[email protected]> 230 231 * eblopenbackend.c (machines): Add entries for RISC-V. 232 2332018-03-16 Mark Wielaard <[email protected]> 234 235 * ebldynamictagname.c (ebl_dynamic_tag_name): Add SYMTAB_SHNDX to 236 stdtags. Add a eu_static_assert to make sure stdtags contains all 237 DT_NUM entries. 238 2392018-02-21 Mark Wielaard <[email protected]> 240 241 * eblcheckreloctargettype.c (ebl_check_reloc_target_type): Accept 242 SHT_NOTE. 243 2442018-02-09 Joshua Watt <[email protected]> 245 246 * eblobjnote.c (ebl_object_note): Use FALLTHROUGH macro instead of 247 comment. 248 2492017-04-27 Ulf Hermann <[email protected]> 250 251 * Makefile.am: Use fpic_CFLAGS. 252 2532017-07-19 Gustavo Romero <[email protected]> 254 255 * eblcorenotetypename.c: Add ppc64 HTM SPRs note as known type. 256 2572017-07-20 Mark Wielaard <[email protected]> 258 259 * Makefile.am (gen_SOURCES): Add ebl_data_marker_symbol.c. 260 * ebl-hooks.h (data_marker_symbol): New hook. 261 * ebl_data_marker_symbol.c: New file. 262 * eblopenbackend.c (default_data_marker_symbol): New function. 263 (fill_defaults): Add default_data_marker_symbol. 264 * libebl.h (ebl_data_marker_symbol): New function. 265 2662017-04-20 Ulf Hermann <[email protected]> 267 268 * libebl.h: Use __pure_attribute__. 269 2702017-02-15 Ulf Hermann <[email protected]> 271 272 * eblmachineflagname.c: Include system.h. 273 * eblopenbackend.c: Likewise. 274 2752016-07-08 Mark Wielaard <[email protected]> 276 277 * Makefile.am (gen_SOURCES): Remove eblstrtab.c. 278 * eblstrtab.c: Removed. 279 * libebl.h (Ebl_Strtab): Removed. 280 (Ebl_Strent): Removed. 281 (ebl_strtabinit): Removed. 282 (ebl_strtabfree): Removed. 283 (ebl_strtabadd): Removed. 284 (ebl_strtabfinalize): Removed. 285 (ebl_strtaboffset): Removed. 286 (ebl_string): Removed. 287 2882016-07-06 Mark Wielaard <[email protected]> 289 290 * Makefile.am (gen_SOURCES): Remove eblobjecttypename.c, 291 eblshflagscombine.c, eblwstrtab.c and eblgstrtab.c. 292 * ebl-hooks.h (object_type_name): Removed. 293 (sh_flags_combine): Likewise. 294 * eblgstrtab.c: Removed. 295 * eblobjecttypename.c: Removed. 296 * eblopenbackend.c (default_object_type_name): Removed. 297 (default_sh_flags_combine): Likewise. 298 (fill_defaults): Removed object_type_name and sh_flags_combine. 299 * eblshflagscombine.c: Removed. 300 * eblwstrtab.c: Removed. 301 * libebl.h (ebl_object_type_name): Removed. 302 (ebl_sh_flags_combine): Likewise. 303 (ebl_wstrtab*): Removed. 304 (ebl_gstrtab*): Likewise. 305 3062016-06-28 Richard Henderson <[email protected]> 307 308 * ebl-hooks.h (EBLHOOK(disasm)): Add ebl parameter. 309 * eblopenbackend.c (machines): Add EM_BPF entry. 310 3112016-05-20 Andreas Schwab <[email protected]> 312 313 * eblopenbackend.c (machines) [EM_68K]: Set class and data. 314 3152016-02-12 Mark Wielaard <[email protected]> 316 317 * eblobjnotetypename.c (ebl_object_note_type_name): Check name is 318 "Go" and use new goknowntypes then. Otherwise check name is not 319 "GNU" and return "unknown". 320 3212016-01-09 Mark Wielaard <[email protected]> 322 323 * eblobjnote.c (ebl_object_note): Add brackets around if statement 324 body. 325 3262015-12-18 Mark Wielaard <[email protected]> 327 328 * eblopenbackend.c (default_debugscn_p): Also match .zdebug sections. 329 3302015-12-08 Jose E. Marchesi <[email protected]> 331 332 * libebl.h: Prototype for ebl_ra_offset. 333 * eblabicfi.c (ebl_ra_offset): New function. 334 * libeblP.h (struct ebl): new field ra_offset; 335 3362015-09-24 Jose E. Marchesi <[email protected]> 337 338 * Makefile.am (AM_CFLAGS): Use -fPIC instead of -fpic to avoid 339 relocation overflows in some platforms. 340 3412015-09-22 Mark Wielaard <[email protected]> 342 343 * *.c: Remove old-style function definitions. 344 3452015-09-09 Chih-Hung Hsieh <[email protected]> 346 347 * ebldwarftoregno.c (ebl_dwarf_to_regno): Remove redundant NULL tests 348 on parameters declared with __nonnull_attribute__. 349 * eblinitreg.c (ebl_frame_nregs): Likewise. 350 * eblnormalizepc.c (ebl_normalize_pc): Likewise. 351 * eblunwind.c (ebl_unwind): Likewise. 352 3532015-09-04 Chih-Hung Hsieh <[email protected]> 354 355 * eblopenbackend.c (ebl_openbackend_machine): Replace K&R function 356 definition with ansi-C definitions. 357 * eblstother.c (ebl_check_st_other_bits): Likewise. 358 3592015-06-12 Mark Wielaard <[email protected]> 360 361 * eblcheckreloctargettype.c (ebl_check_reloc_target_type): Allow 362 SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY. 363 3642015-05-17 Mark Wielaard <[email protected]> 365 366 * eblobjnote.c (ebl_object_note): If allocation buf is large, then 367 allocate it with malloc. 368 3692015-05-17 Mark Wielaard <[email protected]> 370 371 * eblopenbackend.c (MAX_PREFIX_LEN): New define (16). 372 (openbackend): Stack allocate symname array using MAX_PREFIX_LEN. 373 3742015-01-27 Mark Wielaard <[email protected]> 375 376 * libebl.h: Add comment from README that this is completely 377 UNSUPPORTED. 378 3792014-11-22 Mark Wielaard <[email protected]> 380 381 * ebl-hooks.h (bss_plt_p): Remove ehdr argument. 382 * eblbsspltp.c (ebl_bss_plt_p): Likewise. 383 * eblopenbackend.c (default_bss_plt_p): Likewise. 384 * libebl.h (ebl_bss_plt_p): Likewise. 385 3862014-11-17 Mark Wielaard <[email protected]> 387 388 * ebldebugscnp.c (ebl_debugscn_p): Check name is not NULL. 389 3902014-06-17 Mark Wielaard <[email protected]> 391 392 * eblinitreg.c (ebl_func_addr_mask): New function. 393 * libebl.h (ebl_func_addr_mask): Define. 394 * libeblP.h (struct ebl): Add func_addr_mask. 395 3962014-05-19 Mark Wielaard <[email protected]> 397 398 * Makefile.am (gen_SOURCES): Add eblcheckreloctargettype.c. 399 * eblcheckreloctargettype.c: New file. 400 * ebl-hooks.h (check_reloc_target_type): New hook. 401 * eblopenbackend.c (default_check_reloc_target_type): New function. 402 (fill_defaults): Assign default_check_reloc_target_type to 403 check_reloc_target_type. 404 * libebl.h (ebl_check_reloc_target_type): New function definition. 405 4062013-12-18 Mark Wielaard <[email protected]> 407 408 * Makefile.am (gen_SOURCES): Add eblresolvesym.c. 409 * ebl-hooks.h (resolve_sym_value): New entry. 410 * eblresolvesym.c: New file. 411 * libebl.h (ebl_resolve_sym_value): New definition. 412 * libeblP.h (fd_addr): New field. 413 (fd_data): Likewise. 414 4152013-12-18 Jan Kratochvil <[email protected]> 416 417 unwinder: s390 and s390x 418 * Makefile.am (gen_SOURCES): Add eblnormalizepc.c and eblunwind.c. 419 * ebl-hooks.h (normalize_pc, unwind): New. 420 * eblnormalizepc.c: New file. 421 * eblunwind.c: New file. 422 * libebl.h (Ebl_Register_Location): Add field pc_register. 423 (ebl_normalize_pc): New declaration. 424 (ebl_tid_registers_get_t, ebl_pid_memory_read_t): New definitions. 425 (ebl_unwind): New declaration. 426 4272013-12-15 Jan Kratochvil <[email protected]> 428 429 unwinder: ppc and ppc64 430 * Makefile.am (gen_SOURCES): Add ebldwarftoregno.c. 431 * ebl-hooks.h (dwarf_to_regno): New. 432 * ebldwarftoregno.c: New file. 433 * libebl.h (Ebl_Core_Item): New field pc_register. 434 (ebl_tid_registers_t): Add FIRSTREG -1 to the comment. 435 (ebl_dwarf_to_regno): New. 436 4372013-11-25 Petr Machata <[email protected]> 438 439 * eblopenbackend.c (machines): Add entry for AArch64. 440 4412013-11-14 Jan Kratochvil <[email protected]> 442 443 Code cleanup: Remove const in prototype 444 * libebl.h (ebl_tid_registers_t): Remove const from firstreg. 445 4462013-11-07 Jan Kratochvil <[email protected]> 447 Mark Wielaard <[email protected]> 448 449 * Makefile.am (gen_SOURCES): Add eblinitreg.c. 450 * ebl-hooks.h (set_initial_registers_tid): New entry. 451 * eblinitreg.c: New file. 452 * libebl.h (ebl_tid_registers_t): New definition. 453 (ebl_set_initial_registers_tid, ebl_frame_nregs): New declarations. 454 * libeblP.h (struct ebl): New entry frame_nregs. 455 4562013-10-06 Mark Wielaard <[email protected]> 457 458 * libebl.h (ebl_abi_cfi): Document restrictions using register 459 rules. 460 4612013-09-26 Petr Machata <[email protected]> 462 463 * eblcorenotetypename.c: Handle NT_ARM_TLS, NT_ARM_HW_BREAK, 464 NT_ARM_HW_WATCH, NT_SIGINFO, NT_FILE. 465 4662013-09-25 Mark Wielaard <[email protected]> 467 468 * eblsectionstripp.c (ebl_section_strip_p): Check shdr_l is not NULL. 469 4702013-04-24 Mark Wielaard <[email protected]> 471 472 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES. 473 4742012-10-12 Jan Kratochvil <[email protected]> 475 476 * ebl-hooks.h (abi_cfi): Extend its comment for return value. 477 * eblopenbackend.c (default_abi_cfi): Return -1. 478 * libebl.h (ebl_abi_cfi): Extend its comment for return value. 479 4802012-08-30 Petr Machata <[email protected]> 481 482 * eblcorenotetypename.c: Handle PPC_VSX, X86_XSTATE, 483 S390_HIGH_GPRS, S390_TIMER, S390_TODCMP, S390_TODPREG, S390_CTRS, 484 S390_PREFIX, S390_LAST_BREAK, S390_SYSTEM_CALL, and ARM_VFP. 485 4862012-08-22 Jeff Kenton <[email protected]> 487 488 * eblopenbackend.c (machines): Add tilegx. 489 4902011-06-26 Mark Wielaard <[email protected]> 491 492 * eblopenbackend.c (default_debugscn_p): Add .debug_macro. 493 4942011-04-26 Mark Wielaard <[email protected]> 495 496 * libebl.h (ebl_object_note_type_name): Add const char *name arg. 497 * eblhooks.h (object_note_type_name): Likewise. 498 * eblopenbackend.c (default_object_note_type_name): Likewise. 499 * eblobjnotetypename.c (ebl_object_note_type_name): Likewise. 500 And print version if name is "stapsdt". 501 * eblobjnote.c (ebl_object_note): Add output for "stapsdt" notes. 502 5032011-03-21 Marek Polacek <[email protected]> 504 505 * ebldynamictagname.c: Fix typo in TLSDESC_GOT. 506 5072011-03-10 Mark Wielaard <[email protected]> 508 509 * Makefile.am (gen_SOURCES): Add eblstother.c. 510 * eblstother.c: New file. 511 * ebl-hooks.h: Add check_st_other_bits hook. 512 * eblopenbackend.c (default_check_st_other_bits): New function. 513 (fill_defaults): Hook default_check_st_other_bits. 514 * libebl.h (ebl_check_st_other_bits): New prototype. 515 5162010-07-07 Roland McGrath <[email protected]> 517 518 * eblopenbackend.c (default_debugscn_p): Match .gdb_index section. 519 5202010-02-15 Roland McGrath <[email protected]> 521 522 * Makefile.am: Use config/eu.am for common stuff. 523 5242010-01-04 Roland McGrath <[email protected]> 525 526 * eblcorenote.c (ebl_core_note): Take GElf_Nhdr * and name data 527 pointer instead of only n_type and n_descsz. 528 * libebl.h: Update declaration. 529 * ebl-hooks.h: Update core_note hook signature. 530 * eblopenbackend.c (default_core_note): Likewise. 531 5322009-10-14 Roland McGrath <[email protected]> 533 534 * eblobjnote.c (ebl_object_note): Clean up NT_GNU_GOLD_VERSION printing. 535 5362009-10-05 Roland McGrath <[email protected]> 537 538 * eblopenbackend.c (default_debugscn_p): Match .debug_pubtypes and 539 .debug_types too. 540 5412009-09-02 Petr Machata <[email protected]> 542 543 * libebl/eblstrtab.c (morememory): Allocate memory in multiples of 544 pagesize. 545 5462009-08-06 Petr Machata <[email protected]> 547 548 * libebl/eblstrtab.c (ebl_strtabfinalize): Only call copystrings 549 if we have any strings to copy. 550 5512009-07-26 Mark Wielaard <[email protected]> 552 553 * eblobjnote.c (ebl_object_note): Handle NT_GNU_GOLD_VERSION. 554 555 * eblobjnotetypename.c (ebl_object_note_type_name): Recognize 556 NT_GNU_GOLD_VERSION. 557 5582009-07-08 Roland McGrath <[email protected]> 559 560 * ebl-hooks.h: Add abi_cfi hook. 561 * eblopenbackend.c (default_abi_cfi): New function. 562 (fill_defaults): Add initializer. 563 * eblabicfi.c: New file. 564 * Makefile.am (gen_SOURCES): Add it. 565 * libebl.h: Declare ebl_abi_cfi. 566 5672009-07-08 Ulrich Drepper <[email protected]> 568 569 * eblsymbolbindingname.c (ebl_symbol_binding_name): Handle 570 STB_GNU_UNIQUE. 571 572 * eblsymboltypename.c (ebl_symbol_type_name): Only handle STT_GNU_IFUNC 573 if the binary is marked as being for Linux. 574 5752009-04-01 Roland McGrath <[email protected]> 576 577 * eblsymboltypename.c (ebl_symbol_type_name): Add STT_GNU_IFUNC. 578 579 * eblauxvinfo.c (AUXV_TYPES): Add RANDOM and BASE_PLATFORM. 580 5812009-02-01 Ulrich Drepper <[email protected]> 582 583 * eblreloctypename.c (ebl_reloc_type_name): Return "<INVALID RELOC>" 584 instead of "???" for invalid relocations. 585 5862008-08-01 Roland McGrath <[email protected]> 587 588 * eblcorenotetypename.c: Handle NT_386_IOPERM. 589 5902008-07-28 Roland McGrath <[email protected]> 591 592 * eblauxvinfo.c (AUXV_TYPES): Add EXECFN. 593 594 * eblauxvinfo.c (ebl_auxv_info): Handle missing elements of standard 595 table. 596 5972008-07-04 Roland McGrath <[email protected]> 598 599 * libebl.h: Declare ebl_syscall_abi. 600 * ebl_syscall_abi.c: New file. 601 * Makefile.am (gen_SOURCES): Add it. 602 * ebl-hooks.h: New hook syscall_abi. 603 * eblopenbackend.c (default_syscall_abi): New function. 604 (fill_defaults): Use it. 605 6062008-03-31 Roland McGrath <[email protected]> 607 608 * ebldynamictagname.c (ebl_dynamic_tag_name): Use hex for unknown tag. 609 610 * ebl-hooks.h: Add check_special_section hook. 611 * eblopenbackend.c (fill_defaults): Set new hook to ... 612 (default_check_special_section): ... this, new function. 613 * ebl_check_special_section.c: New file. 614 * Makefile.am (gen_SOURCES): Add it. 615 * libebl.h: Declare it. 616 6172008-02-20 Roland McGrath <[email protected]> 618 619 * libebl.h: Declare ebl_check_object_attribute. 620 * eblcheckobjattr.c: New file. 621 * Makefile.am (gen_SOURCES): Add it. 622 * ebl-hooks.h: Add check_object_attribute hook. 623 * eblopenbackend.c (default_check_object_attribute): New function. 624 (fill_defaults): Initialize pointer to it. 625 6262008-02-19 Roland McGrath <[email protected]> 627 628 * eblsectiontypename.c (ebl_section_type_name): 629 Handle SHT_GNU_ATTRIBUTES. 630 6312008-02-08 Roland McGrath <[email protected]> 632 633 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_SPE. 634 6352008-01-30 Roland McGrath <[email protected]> 636 637 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_386_TLS. 638 6392007-10-18 Roland McGrath <[email protected]> 640 641 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_VMX. 642 6432007-10-11 Roland McGrath <[email protected]> 644 645 * eblobjnote.c (ebl_object_note): Translate target format (byte-swap) 646 for NT_GNU_ABI_TAG contents. 647 6482007-08-22 Roland McGrath <[email protected]> 649 650 * libebl.h (Ebl_Core_Item): New member `group'. 651 6522007-08-19 Roland McGrath <[email protected]> 653 654 * ebl-hooks.h: Add new hook auxv_info. 655 * eblopenbackend.c (default_auxv_info): New function. 656 (fill_defaults): Initialize auxv_info hook. 657 * eblauxvinfo.c : New file. 658 * Makefile.am (gen_SOURCES): Add it. 659 * libebl.h: Declare ebl_auxv_info. 660 661 * eblcorenote.c: Rewritten with new signature. 662 * Makefile.am (gen_SOURCES): Add it. 663 * libebl.h (Ebl_Register_Location, Ebl_Core_Item): New types. 664 (ebl_core_note_info): Completely revamp signature. 665 * ebl-hooks.h: Update decl. 666 * eblopenbackend.c (default_core_note): Update signature. 667 6682007-07-09 Roland McGrath <[email protected]> 669 670 * eblobjnotetypename.c (ebl_object_note_type_name): Handle 671 NT_GNU_HWCAP, NT_GNU_BUILD_ID. 672 673 * eblobjnote.c (ebl_object_note): Handle NT_GNU_BUILD_ID. 674 6752007-04-22 Roland McGrath <[email protected]> 676 677 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PRXFPREG. 678 6792007-03-10 Roland McGrath <[email protected]> 680 681 * eblcorenote.c (ebl_core_note): For normally-zero types, 682 print in hex if not zero. 683 6842007-01-11 Roland McGrath <[email protected]> 685 686 * ebl-hooks.h (machine_section_flag_check): New hook. 687 * libebl.h: Declare ebl_machine_section_flag_check. 688 * eblmachinesectionflagcheck.c: New file. 689 * Makefile.am (gen_SOURCES): Add it. 690 * eblopenbackend.c (default_machine_section_flag_check): New function. 691 (fill_defaults): Use it. 692 6932006-09-04 Roland McGrath <[email protected]> 694 695 * ebl-hooks.h: Replace register_name hook with register_info. 696 Also yield natural bit width and base type encoding. 697 * eblopenbackend.c (default_register_name): Renamed 698 default_register_info, new args added. 699 (fill_defaults): Update initialization. 700 * eblregname.c: File renamed ... 701 * eblreginfo.c: ... to this. 702 (ebl_register_name): Renamed to ebl_register_info, new args added. 703 * libebl.h: Update decl. 704 705 * Makefile.am (gen_SOURCES): Update list. 706 7072006-07-06 Ulrich Drepper <[email protected]> 708 709 * ebldynamictagname.c: Add support for DT_GNU_HASH. 710 * ebldynamictagcheck.c: Likewise. 711 * eblsectiontypename.c: Add support for SHT_GNU_HASH. 712 7132006-07-05 Ulrich Drepper <[email protected]> 714 715 * Makefile.am (gen_SOURCES): Add eblsysvhashentrysize.c. 716 * libeblP.h (struct ebl): Add sysvhash_entrysize element. 717 * eblopenbackend.c (fill_defaults): Initialize sysvhash_entrysize. 718 719 * eblopenbackend.c (openbackend): If possible, fill machine, class, 720 and data values in from the ELF file. 721 7222006-07-04 Ulrich Drepper <[email protected]> 723 724 * Makefile.am (gen_SOURCES): Add eblrelativerelocp.c. 725 * eblrelativerelocp.c: New file. 726 * ebl-hooks.c: Add relative_reloc_p. 727 * eblopenbackend.c (default_relative_reloc_p): New function. 728 (fill_defaults): Hook it up. 729 * libebl.h: Declare ebl_relative_reloc_p. 730 7312006-06-12 Ulrich Drepper <[email protected]> 732 733 * Makefile.am (gen_SOURCES): Add eblnonerelocp.c. 734 * eblnonerelocp.c: New file. 735 * ebl-hooks.c: Add none_reloc_p. 736 * eblopenbackend.c (default_none_reloc_p): New function. 737 (fill_defaults): Hook it up. 738 * libebl.h: Declare ebl_none_reloc_p. 739 7402006-05-27 Ulrich Drepper <[email protected]> 741 742 * libebl.h: Add extern "C". 743 7442005-11-25 Roland McGrath <[email protected]> 745 746 * eblregname.c: New file. 747 * Makefile.am (gen_SOURCES): Add it. 748 * ebl-hooks.h: Declare register_name hook. 749 * libebl.h: Declare ebl_register_name. 750 * eblopenbackend.c (default_register_name): New function. 751 (fill_defaults): Use it. 752 7532005-11-16 Roland McGrath <[email protected]> 754 755 * libebl.h: Use "" for elf-knowledge.h, not <>. 756 7572005-11-15 Roland McGrath <[email protected]> 758 759 * Makefile.am: Removed everything for building libebl_*.so modules, 760 now in ../backends/Makefile.am instead. 761 * alpha_init.c: Moved to ../backends. 762 * alpha_reloc.def: Likewise. 763 * alpha_retval.c: Likewise. 764 * alpha_symbol.c: Likewise. 765 * arm_init.c: Likewise. 766 * arm_reloc.def: Likewise. 767 * arm_symbol.c: Likewise. 768 * common-reloc.c: Likewise. 769 * i386_corenote.c: Likewise. 770 * i386_init.c: Likewise. 771 * i386_reloc.def: Likewise. 772 * i386_retval.c: Likewise. 773 * i386_symbol.c: Likewise. 774 * ia64_init.c: Likewise. 775 * ia64_reloc.def: Likewise. 776 * ia64_symbol.c: Likewise. 777 * libebl_CPU.h: Likewise. 778 * ppc64_init.c: Likewise. 779 * ppc64_reloc.def: Likewise. 780 * ppc64_retval.c: Likewise. 781 * ppc64_symbol.c: Likewise. 782 * ppc_init.c: Likewise. 783 * ppc_reloc.def: Likewise. 784 * ppc_retval.c: Likewise. 785 * ppc_symbol.c: Likewise. 786 * s390_init.c: Likewise. 787 * s390_reloc.def: Likewise. 788 * s390_symbol.c: Likewise. 789 * sh_init.c: Likewise. 790 * sh_reloc.def: Likewise. 791 * sh_symbol.c: Likewise. 792 * sparc_init.c: Likewise. 793 * sparc_reloc.def: Likewise. 794 * sparc_symbol.c: Likewise. 795 * x86_64_corenote.c: Likewise. 796 * x86_64_init.c: Likewise. 797 * x86_64_reloc.def: Likewise. 798 * x86_64_retval.c: Likewise. 799 * x86_64_symbol.c: Likewise. 800 801 * libebl.h: Comment fixes. 802 803 * alpha_retval.c: New file. 804 * Makefile.am (alpha_SRCS): Add it. 805 * alpha_init.c (alpha_init): Initialize return_value_location hook. 806 807 * ppc64_retval.c: New file. 808 * Makefile.am (ppc64_SRCS): Add it. 809 * ppc64_init.c (ppc64_init): Initialize return_value_location hook. 810 811 * ppc_retval.c: New file. 812 * Makefile.am (ppc_SRCS): Add it. 813 * ppc_init.c (ppc_init): Initialize return_value_location hook. 814 8152005-11-14 Roland McGrath <[email protected]> 816 817 * ia64_init.c (ia64_init): Initialize EH->reloc_simple_type. 818 * sh_init.c (sh_init): Likewise. 819 * x86_64_init.c (x86_64_init): Likewise. 820 821 * sparc_symbol.c (sparc_reloc_simple_type): New function. 822 * sparc_init.c (sparc_init): Use it. 823 824 * arm_symbol.c (arm_reloc_simple_type): New function. 825 * arm_init.c (arm_init): Use it. 826 827 * alpha_symbol.c (alpha_reloc_simple_type): New function. 828 * alpha_init.c (alpha_init): Use it. 829 830 * ia64_reloc.def: Update bits per H. J. Lu <[email protected]>. 831 832 * arm_reloc.def: Update bits per Daniel Jacobowitz <[email protected]>. 833 834 * alpha_reloc.def: Update bits per Richard Henderson <[email protected]>. 835 8362005-11-13 Roland McGrath <[email protected]> 837 838 * x86_64_retval.c: New file. 839 * Makefile.am (x86_64_SRCS): Add it. 840 * x86_64_init.c (x86_64_init): Use x86_64_return_value_location. 841 842 * i386_retval.c: New file. 843 * Makefile.am (i386_SRCS): Add it. 844 (libdw): New variable. 845 (libebl_%.so): Use $(libdw) in link; use --as-needed. 846 * i386_init.c (i386_init): Use i386_return_value_location. 847 848 * eblretval.c: New file. 849 * Makefile.am (gen_SOURCES): Add it. 850 (INCLUDES): Search in libdw. 851 * libebl.h: Include <libdw.h>. Declare ebl_return_value_location. 852 * ebl-hooks.h: Declare return_value_location hook. 853 * eblopenbackend.c (default_return_value_location): New function. 854 (fill_defaults): Use it. 855 8562005-11-10 Roland McGrath <[email protected]> 857 858 * s390_init.c: New file. 859 * s390_reloc.def: New file. 860 * s390_symbol.c: New file. 861 * Makefile.am (modules, libebl_pic): Add s390. 862 (s390_SRCS, libebl_s390_pic_a_SOURCES): New variables. 863 (am_libebl_s390_pic_a_OBJECTS): New variable. 864 865 * ppc64_init.c: Use common-reloc.c. 866 * ppc64_symbol.c (ppc64_backend_name): Removed. 867 (ppc64_reloc_type_check, ppc64_reloc_type_name): Likewise. 868 (ppc64_copy_reloc_p, ppc64_reloc_valid_use): Likewise. 869 870 * ppc_init.c: Use common-reloc.c. 871 * ppc_symbol.c (ppc_backend_name): Removed. 872 (ppc_reloc_type_name, ppc_reloc_type_check): Likewise. 873 (ppc_reloc_valid_use, ppc_copy_reloc_p): Likewise. 874 875 * sparc_init.c: Use common-reloc.c. 876 * sparc_symbol.c (sparc_backend_name): Removed. 877 (sparc_reloc_type_name, sparc_reloc_type_check): Likewise. 878 (sparc_copy_reloc_p): Likewise. 879 880 * arm_init.c: Use common-reloc.c. 881 * arm_symbol.c (arm_backend_name): Removed. 882 (arm_reloc_type_name, arm_reloc_type_check, arm_copy_reloc_p): Removed. 883 884 * alpha_init.c: Use common-reloc.c. 885 * alpha_symbol.c (alpha_backend_name): Removed. 886 (alpha_reloc_type_name, alpha_reloc_type_check): Likewise. 887 (alpha_copy_reloc_p): Likewise. 888 889 * ia64_symbol.c (ia64_backend_name): Removed. 890 (ia64_reloc_type_name, ia64_reloc_type_check): Likewise. 891 (ia64_copy_reloc_p): Likewise. 892 893 * x86_64_init.c: Use common-reloc.c. 894 * x86_64_symbol.c (x86_64_backend_name): Removed. 895 (x86_64_copy_reloc_p, x86_64_reloc_valid_use): Likewise. 896 (x86_64_reloc_type_check, x86_64_reloc_type_name): Likewise. 897 898 * sh_init.c: Use common-reloc.c. 899 * sh_symbol.c: All functions removed. 900 (sh_reloc_simple_type): New function. 901 (sh_gotpc_reloc_check): New function. 902 903 * common-reloc.c: New file. 904 * Makefile.am (noinst_HEADERS): Add it. 905 * i386_init.c: Include it. 906 907 * sh_reloc.def: New file. 908 * i386_reloc.def: New file. 909 * alpha_reloc.def: New file. 910 * arm_reloc.def: New file. 911 * i386_reloc.def: New file. 912 * ia64_reloc.def: New file. 913 * ppc64_reloc.def: New file. 914 * ppc_reloc.def: New file. 915 * sh_reloc.def: New file. 916 * sparc_reloc.def: New file. 917 * x86_64_reloc.def: New file. 918 * Makefile.am (EXTRA_DIST): Add $(modules:=_reloc.def). 919 920 * libebl_alpha.map: Removed. 921 * libebl_ia64.map: Removed. 922 * libebl_ppc.map: Removed. 923 * libebl_sparc.map: Removed. 924 * libebl_arm.map: Removed. 925 * libebl_i386.map: Removed. 926 * libebl_ppc64.map: Removed. 927 * libebl_sh.map: Removed. 928 * libebl_x86_64.map: Removed. 929 * Makefile.am (EXTRA_DIST): Remove them. 930 (libebl_%.map, libebl_%.so): New pattern rules. 931 932 * libebl_alpha.h: Removed. 933 * libebl_ia64.h: Removed. 934 * libebl_ppc.h: Removed. 935 * libebl_sparc.h: Removed. 936 * libebl_arm.h: Removed. 937 * libebl_i386.h: Removed. 938 * libebl_ppc64.h: Removed. 939 * libebl_sh.h: Removed. 940 * libebl_x86_64.h: Removed. 941 * Makefile.am (noinst_HEADERS): Remove them. 942 943 * x86_64_corenote.c: Use libebl_CPU.h instead. 944 * x86_64_symbol.c: Likewise. 945 * i386_corenote.c: Likewise. 946 9472005-11-09 Roland McGrath <[email protected]> 948 949 * ia64_symbol.c (ia64_reloc_simple_type): New function. 950 951 * ebl-hooks.h (reloc_simple_type): Take the Ebl handle, not Elf handle. 952 * eblrelocsimpletype.c (ebl_reloc_simple_type): Update caller. 953 * eblopenbackend.c (default_reloc_simple_type): Update signature. 954 * i386_symbol.c (i386_reloc_simple_type): Likewise. 955 * ppc64_symbol.c (ppc64_reloc_simple_type): Likewise. 956 * ppc_symbol.c (ppc_reloc_simple_type): Likewise. 957 * x86_64_symbol.c (x86_64_reloc_simple_type): Likewise. 958 959 * i386_symbol.c (i386_backend_name): Removed. 960 (i386_reloc_type_name, i386_reloc_type_check): Likewise. 961 (i386_reloc_valid_use): Removed. 962 (i386_copy_reloc_p): Removed. 963 964 * alpha_destr.c: Removed. 965 * arm_destr.c: Removed. 966 * i386_destr.c: Removed. 967 * ia64_destr.c: Removed. 968 * ppc64_destr.c: Removed. 969 * ppc_destr.c: Removed. 970 * sh_destr.c: Removed. 971 * sparc_destr.c: Removed. 972 * x86_64_destr.c: Removed. 973 974 * ebl-hooks.h: New file, broken out of ... 975 * libeblP.h (struct ebl): ... here. #include that for hook 976 declarations, after defining EBLHOOK macro. 977 * libebl_CPU.h: New file. 978 * Makefile.am (noinst_HEADERS): Add them. 979 980 * libeblP.h (struct ebl): Use uint_fast16_t for machine, 981 and uint_fast8_t for class and data. 982 9832005-08-14 Roland McGrath <[email protected]> 984 985 * ia64_symbol.c (ia64_section_type_name): New function. 986 (ia64_dynamic_tag_check): New function. 987 (ia64_reloc_valid_use): New function. 988 * libebl_ia64.h: Declare them. 989 * ia64_init.c (ia64_init): Use them. 990 * Makefile.am (libebl_ia64.so): Link with libelf. 991 9922005-08-28 Ulrich Drepper <[email protected]> 993 994 * Makefile.am: Use $(LINK) not $(CC) when creating DSOs. 995 9962005-08-13 Roland McGrath <[email protected]> 997 998 * ia64_symbol.c (ia64_machine_flag_check): New function. 999 * libebl_ia64.h: Declare it. 1000 * ia64_init.c (ia64_init): Use it. 1001 10022005-08-13 Ulrich Drepper <[email protected]> 1003 1004 * libebl.h: Add ehdr parameter to ebl_bss_plt_p and 1005 ebl_check_special_symbol. 1006 * libeblP.h (struct ebl): Adjust callback functions. 1007 * eblopenbackend.c: Adjust dummy functions. 1008 * ebl_check_special_symbol.c: Add parameter and pass it on. 1009 * eblbsspltp.c: Likewise. 1010 * ppc_symbol.c (find_dyn_got): With ehdr passed, simplify search for 1011 the dynamic section entry. 1012 (ppc_check_special_symbol): Add ehdr parameter. 1013 (ppc_bss_plt_p): Likewise. 1014 * libebl_ppc.h: Adjust prototypes. 1015 * ppc64_symbol.c (ppc_check_special_symbol): Add ehdr parameter. 1016 (ppc_bss_plt_p): Likewise. 1017 * libebl_ppc64.h: Adjust prototypes. 1018 10192005-08-12 Roland McGrath <[email protected]> 1020 1021 * ppc_symbol.c (find_dyn_got): New function, broken out of ... 1022 (ppc_bss_plt_p): ... here. Call that. 1023 (ppc_check_special_symbol): Use find_dyn_got to fetch value to check 1024 against _GLOBAL_OFFSET_TABLE_. 1025 1026 * libeblP.h (struct ebl): Add bss_plt_p hook. 1027 * eblopenbackend.c (default_bss_plt_p): New function. 1028 (fill_defaults): Use it. 1029 * eblbsspltp.c: New file. 1030 * Makefile.am (gen_SOURCES): Add it. 1031 * libebl.h: Declare ebl_bss_plt_p. 1032 * ppc_symbol.c (ppc_bss_plt_p): New function. 1033 * libebl_ppc.h: Declare it. 1034 * ppc_init.c (ppc_init): Use it. 1035 * ppc64_symbol.c (ppc64_bss_plt_p): New function. 1036 * libebl_ppc64.h: Declare it. 1037 * ppc64_init.c (ppc64_init): Use it. 1038 1039 * ebl_check_special_symbol.c: New file. 1040 * Makefile.am (gen_SOURCES): Add it. 1041 * libebl.h: Declare ebl_check_special_symbol. 1042 * libeblP.h (struct ebl): Add check_special_symbol hook. 1043 * eblopenbackend.c (default_check_special_symbol): New function. 1044 (fill_defaults): Use it. 1045 * ppc_symbol.c (ppc_check_special_symbol): New function. 1046 * libebl_ppc.h: Add prototype. 1047 * ppc_init.c (ppc_init): Use it. 1048 * ppc64_symbol.c (ppc64_check_special_symbol): New function. 1049 * libebl_ppc64.h: Add prototype. 1050 * ppc64_init.c (ppc64_init): Use it. 1051 10522005-08-07 Ulrich Drepper <[email protected]> 1053 1054 * ppc_init.c: Add support for new DT_PPC_* and R_PPC_* values. 1055 * ppc_symbol.c: Likewise. 1056 * libebl_ppc.h: Likewise. 1057 * ppc64_init.c: There is now also a dynamic_tag_check functions 1058 * ppc64_symbol.c: Add dynamic_tag_check. 1059 * libebl_ppc64.h: Add prototype. 1060 * alpha_init.c: Add support for new DT_ALPHA_* value. 1061 * alpha_symbol.c: Likewise. 1062 * libebl_alpha.h: Likewise. 1063 10642005-08-03 Ulrich Drepper <[email protected]> 1065 1066 * libebl_alpha.map: Remove unnecessary exports. 1067 * libebl_arm.map: Likewise. 1068 * libebl_i386.map: Likewise. 1069 * libebl_ia64.map: Likewise. 1070 * libebl_ppc.map: Likewise. 1071 * libebl_ppc64.map: Likewise. 1072 * libebl_sh.map: Likewise. 1073 * libebl_sparc.map: Likewise. 1074 * libebl_x86_64.map: Likewise. 1075 10762005-08-02 Ulrich Drepper <[email protected]> 1077 1078 * Makefile.am (libebl_a_SOURCES): Add eblelfclass.c, eblelfdata.c, 1079 and eblelfmachine.c. 1080 * elbopenbackend.c (machines): Add class and data fields. Initialize 1081 them. 1082 (ebl_openbackend): Initialize machine, class, data fields in result. 1083 * libebl.h: Declare Add eblelfclass, eblelfdata, and eblelfmachine. 1084 * libeblP.h (Ebl): Add machine, class, data fields. 1085 10862005-07-23 Ulrich Drepper <[email protected]> 1087 1088 * eblsectionstripp.c: New file. 1089 * Makefile.am (gen_SOURCES): Add eblsectionstripp.c. 1090 * i386_init.c (i386_init): Install specific debugscn_p callback. 1091 * i386_symbol.c (i386_debugscn_p): New function. 1092 * libebl.h: Declare ebl_section_strip_p. 1093 * libebl_i386.h: Declare i386_debugscn_p. 1094 1095 * libebl.h: Move Ebl definition to... 1096 * libeblP.h: ...here. 1097 10982005-07-21 Roland McGrath <[email protected]> 1099 1100 * Makefile.am (install-ebl-modules): New target, commands from ... 1101 (install): ... here. Make this depend on it. 1102 (LIBEBL_SUBDIR): New variable, substituted by configure. 1103 (install-ebl-modules): Install in $(libdir)/$(LIBEBL_SUBDIR). 1104 * eblopenbackend.c (openbackend): Use LIBEBL_SUBDIR in module name. 1105 11062005-07-21 Ulrich Drepper <[email protected]> 1107 1108 * eblcopyrelocp.c: New file. 1109 * Makefile.am (gen_SOURCES): Add eblcopyrelocp.c. 1110 * libebl.h: Declare ebl_copy_reloc_p. 1111 * eblopenbackend.c (fill_defaults): Fill in copy_reloc_p. 1112 (default_copy_reloc_p): New function. 1113 * alpha_init.c: Define and use arch-specific copy_reloc_p function. 1114 * alpha_symbol.c: Likewise. 1115 * arm_init.c: Likewise. 1116 * arm_symbol.c: Likewise. 1117 * i386_init.c: Likewise. 1118 * i386_symbol.c: Likewise. 1119 * ia64_init.c: Likewise. 1120 * ia64_symbol.c: Likewise. 1121 * ppc64_init.c: Likewise. 1122 * ppc64_symbol.c: Likewise. 1123 * ppc_init.c: Likewise. 1124 * ppc_symbol.c: Likewise. 1125 * sh_init.c: Likewise. 1126 * sh_symbol.c: Likewise. 1127 * sparc_init.c: Likewise. 1128 * sparc_symbol.c: Likewise. 1129 * x86_64_init.c: Likewise. 1130 * x86_64_symbol.c: Likewise. 1131 * libebl_alpha.h: Declare the copy_reloc_p function. 1132 * libebl_arm.h: Likewise. 1133 * libebl_i386.h: Likewise. 1134 * libebl_ia64.h: Likewise. 1135 * libebl_ppc.h: Likewise. 1136 * libebl_ppc64.h: Likewise. 1137 * libebl_sh.h: Likewise. 1138 * libebl_sparc.h: Likewise. 1139 * libebl_x86_64.h: Likewise. 1140 11412005-05-31 Roland McGrath <[email protected]> 1142 1143 * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency 1144 tracking works right. 1145 11462005-05-21 Ulrich Drepper <[email protected]> 1147 1148 * libebl_x86_64.map: Add x86_64_core_note. 1149 11502005-05-19 Roland McGrath <[email protected]> 1151 1152 * libebl_i386.map: Add i386_reloc_valid_use, i386_reloc_simple_type. 1153 * libebl_ppc.map: Add ppc_reloc_simple_type. 1154 * libebl_ppc64.map: Add ppc64_reloc_simple_type. 1155 * libebl_x86_64.map: Add x86_64_reloc_simple_type. 1156 11572005-05-11 Ulrich Drepper <[email protected]> 1158 1159 * eblcorenote.c: Handle new AT_* values and files with different 1160 endianness. 1161 * Makefile.am (x86_64_SRCS): Add x86_64_corenote.c. 1162 * x86-64_corenote.c: New file. 1163 * x86_64_init.c: Hook in x86_64_corenote. 1164 * i386_corenote.c: Make file usable on 64-bit platforms. 1165 1166 * eblopenbackend.c: If modules version comparison fails, reinitialize 1167 hooks. 1168 11692005-05-10 Ulrich Drepper <[email protected]> 1170 1171 * eblopenbackend.c: Require the init function to return a string. 1172 Compare it with MODVERSION from config.h. 1173 * alpha_init.c: Change return type. Return MODVERSION or NULL. 1174 * arm_init.c: Likewise. 1175 * eblopenbackend.c: Likewise. 1176 * i386_init.c: Likewise. 1177 * ia64_init.c: Likewise. 1178 * ppc64_init.c: Likewise. 1179 * ppc_init.c: Likewise. 1180 * sh_init.c: Likewise. 1181 * sparc_init.c: Likewise. 1182 * x86_64_init.c: Likewise. 1183 * libeblP.h: Adjust ebl_bhinit_t. 1184 * libebl_alpha.h: Adjust init function prototype. 1185 * libebl_arm.h: Likewise. 1186 * libebl_i386.h: Likewise. 1187 * libebl_ia64.h: Likewise. 1188 * libebl_ppc.h: Likewise. 1189 * libebl_ppc64.h: Likewise. 1190 * libebl_sh.h: Likewise. 1191 * libebl_sparc.h: Likewise. 1192 * libebl_x86_64.h: Likewise. 1193 1194 * mips_destr.c: Removed. 1195 * mips_init.c: Removed. 1196 * mips_symbol.c: Removed. 1197 * libebl_mips.h: Removed. 1198 * libebl_mips.map: Removed. 1199 12002005-05-03 Roland McGrath <[email protected]> 1201 1202 * libebl.h (Ebl): Add `reloc_simple_type' member. 1203 * eblopenbackend.c (default_reloc_simple_type): New function. 1204 (openbackend): Use that as default reloc_simple_type callback. 1205 * eblrelocsimpletype.c: New file. 1206 * Makefile.am (gen_SOURCES): Add it. 1207 * i386_symbol.c (i386_reloc_simple_type): New function. 1208 * libebl_i386.h: Declare it. 1209 * i386_init.c (i386_init): Use it. 1210 * x86_64_symbol.c (x86_64_reloc_simple_type): New function. 1211 * libebl_x86_64.h: Declare it. 1212 * x86_64_init.c (x86_64_init): Use it. 1213 * ppc_symbol.c (ppc_reloc_simple_type): New function. 1214 * libebl_ppc.h: Declare it. 1215 * ppc_init.c (ppc_init): Use it. 1216 * ppc64_symbol.c (ppc64_reloc_simple_type): New function. 1217 * libebl_ppc64.h: Declare it. 1218 * ppc64_init.c (ppc64_init): Use it. 1219 12202005-03-17 Ulrich Drepper <[email protected]> 1221 1222 * eblcorenote.c (ebl_core_note): Add support for AT_SECURE. 1223 12242005-02-15 Ulrich Drepper <[email protected]> 1225 1226 * Makefile.am (AM_CFLAGS): Add -Wformat=2. 1227 12282005-02-14 Ulrich Drepper <[email protected]> 1229 1230 * alpha_destr.c: Add __attribute__((unused)) where needed. 1231 * alpha_init.c: Likewise. 1232 * alpha_symbol.c: Likewise. 1233 * arm_destr.c: Likewise. 1234 * arm_init.c: Likewise. 1235 * arm_symbol.c: Likewise. 1236 * i386_corenote.c: Likewise. 1237 * i386_destr.c: Likewise. 1238 * i386_init.c: Likewise. 1239 * i386_symbol.c: Likewise. 1240 * ia64_destr.c: Likewise. 1241 * ia64_init.c: Likewise. 1242 * ia64_symbol.c: Likewise. 1243 * mips_destr.c: Likewise. 1244 * mips_init.c: Likewise. 1245 * mips_symbol.c: Likewise. 1246 * ppc64_destr.c: Likewise. 1247 * ppc64_init.c: Likewise. 1248 * ppc64_symbol.c: Likewise. 1249 * ppc_destr.c: Likewise. 1250 * ppc_init.c: Likewise. 1251 * ppc_symbol.c: Likewise. 1252 * sh_destr.c: Likewise. 1253 * sh_init.c: Likewise. 1254 * sh_symbol.c: Likewise. 1255 * sparc_destr.c: Likewise. 1256 * sparc_init.c: Likewise. 1257 * sparc_symbol.c: Likewise. 1258 * x86_64_destr.c: Likewise. 1259 * x86_64_init.c: Likewise. 1260 * x86_64_symbol.c: Likewise. 1261 1262 * x86_64_symbol.c (reloc_map_table): Fix entries for R_X86_64_64 1263 and R_X86_64_32.. 1264 12652005-02-06 Ulrich Drepper <[email protected]> 1266 1267 * eblstrtab.c: A few cleanups. 1268 1269 * eblopenbackend.c: Mark unused parameters. 1270 1271 * eblgstrtab.c: Cleanups a few printf format strings. 1272 1273 * Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra. 1274 12752005-02-05 Ulrich Drepper <[email protected]> 1276 1277 * Makefile.am: Check for text relocations in constructed DSOs. 1278 1279 * eblstrtab.c: Minor cleanups. 1280 1281 * Makefile.am (AM_CFLAGS): Add -std=gnu99 and -fmudflap for MUDFLAP. 1282 12832004-08-16 Ulrich Drepper <[email protected]> 1284 1285 * Makefile.am (AM_CFLAGS): Add LIBSTR definition with base name of 1286 the lib directory. 1287 * eblopenbackend.c (openbackend): Use LIBSTR instead of hardcoded 1288 lib in path to ebl modules. 1289 12902004-04-01 Ulrich Drepper <[email protected]> 1291 1292 * Makefile.am: Add rules for ppc and ppc64 ebl module. 1293 * ppc_init..c: New file. 1294 * ppc_destr.c: New file. 1295 * ppc_symbol.c: New file. 1296 * libebl_ppc.h: New file. 1297 * libebl_ppc.map: New file. 1298 * ppc64_init..c: New file. 1299 * ppc64_destr.c: New file. 1300 * ppc64_symbol.c: New file. 1301 * libebl_ppc64.h: New file. 1302 * libebl_ppc64.map: New file. 1303 13042004-01-20 Ulrich Drepper <[email protected]> 1305 1306 * Makefile.am: Support building with mudflap. 1307 13082004-01-18 Ulrich Drepper <[email protected]> 1309 1310 * libeblP.h (_): Use elfutils domain. 1311 13122004-01-16 Ulrich Drepper <[email protected]> 1313 1314 * eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER. 1315 13162004-01-13 Ulrich Drepper <[email protected]> 1317 1318 * eblsegmenttypename.c ((ebl_segment_type_name): Add support for 1319 PT_GNU_RELRO. 1320 13212004-01-08 Ulrich Drepper <[email protected]> 1322 1323 * libebl.h: Remove last traces of libtool. 1324 13252004-01-05 Ulrich Drepper <[email protected]> 1326 1327 * elf-knowledge.h: Move to libelf subdir. 1328 1329 * Makefile.am (EXTRA_DIST): Remove libebl.map. 1330 * libebl.map: Removed. 1331 13322003-12-08 Ulrich Drepper <[email protected]> 1333 1334 * eblsectiontypename.c (ebl_section_type_name): Add support for 1335 SHT_SUNW_move, SHT_CHECKSUM, and SHT_GNU_LIBLIST. 1336 13372003-11-19 Ulrich Drepper <[email protected]> 1338 1339 * ia64_symbol.c (ia64_dynamic_tag_name): New function. 1340 * libebl_ia64.h (ia64_dynamic_tag_name): Declare. 1341 * ia64_init.c (ia64_init): Register i164_dynamic_tag_name. 1342 13432003-09-24 Ulrich Drepper <[email protected]> 1344 1345 * ia64_init.c (ia64_init): Initialize segment_type_name callback. 1346 * ia64_symbol.c (ia64_segment_type_name): Define. 1347 * libebl_ia64.h (ia64_segment_type_name): Declare. 1348 13492003-09-22 Ulrich Drepper <[email protected]> 1350 1351 * Makefile.am (AM_CFLAGS): Add -fpic. 1352 13532003-08-14 Ulrich Drepper <[email protected]> 1354 1355 * Makefile.am (install): Remove dependency on libebl.so. 1356 13572003-08-13 Ulrich Drepper <[email protected]> 1358 1359 * eblopenbackend.c: Adjust relative path to arch-specific DSOs 1360 assuming the code ends up in the application. Add second dlopen() 1361 try without any path, just the filename. 1362 * Makefile.in: Remove rules to build and install libebl.so. 1363 13642003-08-11 Ulrich Drepper <[email protected]> 1365 1366 * Moved to CVS archive. 1367