12022-10-21 Yonggang Luo <luoyonggang@gmail.com> 2 3 * eblclosebackend.c: Remove dlfcn.h include. 4 * eblopenbackend.c: Likewise. 5 62022-08-08 Andreas Schwab <schwab@suse.de> 7 8 * ebldynamictagname.c (ebl_dynamic_tag_name): Handle DT_RELRSZ, 9 DT_RELR, DT_RELRENT. 10 112022-06-01 Ulrich Drepper <drepper@redhat.com> 12 13 * eblopenbackend.c (default_machine_flag_name): Add original flag 14 as first parameter. 15 * ebl-hooks.h (machine_flag_name): Ditto. 16 * eblmachineflagname.c (ebl_machine_flag_name): Modernize, use bool 17 for first. Pass original flag value to machine_flag_name 18 callback as well. Add space after comma in printed list. 19 Fix appending strings provided by callback. 20 212021-12-21 Luca Boccassi <bluca@debian.org> 22 23 * eblobjnote.c (ebl_object_note): Handle NT_FDO_PACKAGING_METADATA. 24 * eblobjnotetypename.c (ebl_object_note_type_name): Likewise. 25 262021-09-06 Dmitry V. Levin <ldv@altlinux.org> 27 28 * eblopenbackend.c (openbackend): Remove cast of calloc return value. 29 302021-04-19 Martin Liska <mliska@suse.cz> 31 32 * eblobjnotetypename.c (ebl_object_note_type_name): Use startswith. 33 * eblopenbackend.c (default_debugscn_p): Likewise. 34 352020-12-16 Dmitry V. Levin <ldv@altlinux.org> 36 37 * libeblP.h (_): Remove. 38 392020-12-15 Dmitry V. Levin <ldv@altlinux.org> 40 41 * eblbackendname.c (ebl_backend_name): Replace gettext(...) with _(...). 42 * eblcorenotetypename.c (ebl_core_note_type_name): Likewise. 43 * ebldynamictagname.c (ebl_dynamic_tag_name): Likewise. 44 * eblobjnote.c (ebl_object_note): Likewise. 45 * eblobjnotetypename.c (ebl_object_note_type_name): Likewise. 46 * eblosabiname.c (ebl_osabi_name): Likewise. 47 * eblsectionname.c (ebl_section_name): Likewise. 48 * eblsectiontypename.c (ebl_section_type_name): Likewise. 49 * eblsegmenttypename.c (ebl_segment_type_name): Likewise. 50 * eblsymbolbindingname.c (ebl_symbol_binding_name): Likewise. 51 * eblsymboltypename.c (ebl_symbol_type_name): Likewise. 52 532020-10-19 Mark Wielaard <mark@klomp.org> 54 55 * eblopenbackend.c (tilegx_init): Removed. 56 (machines): Set init to NULL for tilegx. 57 582020-10-19 Mark Wielaard <mark@klomp.org> 59 60 * Makefile.am (libebl_a_SOURCES): Remove ebl_syscall_abi.c. 61 * ebl-hooks.h (syscall_abi): Remove. 62 * ebl_syscall_abi.c: Delete. 63 * eblopenbackend.c (default_syscall_abi): Remove. 64 (fill_defaults): Remove syscall_abi assignment. 65 * libebl.h (ebl_syscall_abi): Remove. 66 672020-09-03 Mark Wielaard <mark@klomp.org> 68 69 * eblobjnote.c (ebl_object_note): For EM_AARCH64 handle BTI and PAC 70 in GNU_PROPERTY_AARCH64_FEATURE_1_AND. 71 722020-07-19 Mark Wielaard <mark@klomp.org> 73 74 * libebl.h: Only typedef Ebl if _LIBASM_H is undefined. 75 762020-06-10 Mark Wielaard <mark@klomp.org> 77 78 * eblopenbackend.c (i386_init, sh_init, x86_64_init, ia64_init, 79 alpha_init, arm_init, aarch64_init, sparc_init, ppc_init, 80 ppc64_init, s390_init, tilegx_init, m68k_init, bpf_init, 81 riscv_init, csky_init): Adjust signature. 82 (openbackend): Call init without sizeof(Ebl). 83 * libeblP.h (ebl_bhinit_t): Adjust signature. 84 852020-06-04 Mark Wielaard <mark@klomp.org> 86 87 * eblsegmenttypename.c (ebl_segment_type_name): Remove 88 PT_GNU_PROPERTY define. 89 902020-04-17 Mark Wielaard <mark@klomp.org> 91 92 * eblopenbackend.c (default_debugscn_p): Handle .gnu.debuglto_ 93 prefix. 94 952020-02-08 Mark Wielaard <mark@klomp.org> 96 97 * eblsegmenttypename.c (ebl_segment_type_name): Handle 98 PT_GNU_PROPERTY. 99 1002019-08-29 Mark Wielaard <mark@klomp.org> 101 102 * Makefile.am (noinst_LIBRARIES): Add libebl.a. 103 (noinst_HEADERS): Add libebl.h. 104 1052019-07-05 Omar Sandoval <osandov@fb.com> 106 107 * Makefile.am: Make libebl.a non-PIC by default. 108 Add libebl_pic.a. 109 Remove LIBEBL_SUBDIR definition. 110 (gen_SOURCES): Remove. 111 * eblopenbackend.c (machines): Replace dsoname with init callback. 112 (try_dlopen): Remove. 113 (openbackend): Use machine callback instead of try_dlopen(). 114 Don't assign result->dlhandle. 115 * eblclosebackend.c (ebl_closebackend): Remove dlclose() call. 116 1172019-04-29 Mao Han <han_mao@c-sky.com> 118 119 * eblopenbackend.c: Add C-SKY. 120 1212019-06-28 Mark Wielaard <mark@klomp.org> 122 123 * eblopenbackend.c (try_dlopen): Remove result->name check. 124 (openbackend): Remove result->name assignment. 125 (struct ebl): Remove name. 126 1272019-05-30 Mark Wielaard <mark@klomp.org> 128 129 * eblopenbackend.c (try_dlopen): New function extracted from 130 openbackend. 131 (openbackend): Replace ORIGINDIR define with BINORIGINDIR and 132 LIBORIGINDIR defines. Use tryopen to open backend in bin origin 133 path, lib origin path and without an explicit path. 134 1352019-04-28 Mark Wielaard <mark@klomp.org> 136 137 * eblsymbolbindingname.c (ebl_symbol_binding_name): Check ebl is 138 not NULL for STB_GNU_UNIQUE. 139 * eblsymboltypename.c (ebl_symbol_type_name): Check ebl is not 140 NULL for STT_GNU_IFUNC. 141 1422019-01-29 Mark Wielaard <mark@klomp.org> 143 144 * eblobjnote.c (ebl_object_note): Check pr_datasz padding doesn't 145 overflow descsz. 146 1472019-01-16 Mark Wielaard <mark@klomp.org> 148 149 * libebl.h (ebl_core_note): Add desc as argument. 150 * eblcorenote.c (ebl_core_note): Take desc as an argument, check 151 it contains a zero terminated string if it is an NT_PLATFORM note. 152 1532019-01-16 Mark Wielaard <mark@klomp.org> 154 155 * eblobjnte.c (ebl_object_note): Check pr_datasz isn't too large. 156 1572018-12-02 Mark Wielaard <mark@klomp.org> 158 159 * eblobjnte.c (ebl_object_note): For GNU_PROPERTY_STACK_SIZE use 160 an Elf32_Addr or Elf64_Addr to read and print the size. 161 1622018-11-15 Mark Wielaard <mark@klomp.org> 163 164 * eblobjnotetypename.c (ebl_object_note_type_name): Don't update 165 w, t and len unnecessarily. 166 1672018-11-12 Mark Wielaard <mark@klomp.org> 168 169 * libebl.h (ebl_object_note): Add new argument namesz. 170 * eblobjnote.c (ebl_object_note): Likewise and handle GNU Build 171 Attribute notes. 172 * eblobjnotetypename.c (ebl_object_note_type_name): Handle GNU 173 Build Attribute notes. 174 1752018-11-11 Mark Wielaard <mark@klomp.org> 176 177 * eblobjnote.c (ebl_object_note): Recognize NT_VERSION with zero 178 descriptor. Add explicit "GNU" name check. 179 * eblobjnotetypename.c (ebl_object_note_type_name): Add extra 180 argument descsz. Recognize NT_VERSION using descsz. With "GNU" 181 name it is NT_GNU_ABI_TAG. 182 * libebl.h (ebl_object_note_type_name): Add extra argument descsz. 183 1842018-10-18 Mark Wielaard <mark@klomp.org> 185 186 * eblobjnote.c (ebl_object_note): Handle NT_GNU_PROPERTY_TYPE_0. 187 * eblobjnotetypename.c (ebl_object_note_type_name): Add 188 GNU_PROPERTY_TYPE_0. 189 1902018-10-02 Andreas Schwab <schwab@suse.de> 191 192 * ebl-hooks.h (EBLHOOK(reloc_simple_type)): Add third parameter. 193 * libebl.h (ebl_reloc_simple_type): Likewise. 194 * eblopenbackend.c (default_reloc_simple_type): Likewise. 195 * eblrelocsimpletype.c (ebl_reloc_simple_type): Pass it down. 196 1972018-09-12 Mark Wielaard <mark@klomp.org> 198 199 * eblsectionstripp.c (ebl_section_strip_p): Drop ehdr argument. 200 Use elf_getshdrstrndx. 201 * libebl.h (ebl_section_strip_p): Drop ehdr argument. 202 2032018-09-12 Mark Wielaard <mark@klomp.org> 204 205 * ebl-hooks.h (check_special_symbol): Drop ehdr argument. 206 * ebl_check_special_symbol.c (ebl_check_special_symbol): Likewise. 207 * eblopenbackend.c (default_check_special_symbol): Likewise. 208 * libebl.h (ebl_check_special_symbol): Likewise. 209 2102018-07-04 Ross Burton <ross.burton@intel.com> 211 212 * eblopenbackend.c: Remove error.h include. 213 2142018-04-25 Mark Wielaard <mark@klomp.org> 215 216 * eblopenbackend.c (default_debugscn_p): Add new DWARF5 sections 217 .debug_addr, .debug_line_str, .debug_loclists, .debug_names, 218 .debug_rnglists and .debug_str_offsets. 219 2202018-04-19 Andreas Schwab <schwab@suse.de> 221 222 * eblopenbackend.c (machines): Add entries for RISC-V. 223 2242018-03-16 Mark Wielaard <mark@klomp.org> 225 226 * ebldynamictagname.c (ebl_dynamic_tag_name): Add SYMTAB_SHNDX to 227 stdtags. Add a eu_static_assert to make sure stdtags contains all 228 DT_NUM entries. 229 2302018-02-21 Mark Wielaard <mark@klomp.org> 231 232 * eblcheckreloctargettype.c (ebl_check_reloc_target_type): Accept 233 SHT_NOTE. 234 2352018-02-09 Joshua Watt <JPEWhacker@gmail.com> 236 237 * eblobjnote.c (ebl_object_note): Use FALLTHROUGH macro instead of 238 comment. 239 2402017-04-27 Ulf Hermann <ulf.hermann@qt.io> 241 242 * Makefile.am: Use fpic_CFLAGS. 243 2442017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com> 245 246 * eblcorenotetypename.c: Add ppc64 HTM SPRs note as known type. 247 2482017-07-20 Mark Wielaard <mark@klomp.org> 249 250 * Makefile.am (gen_SOURCES): Add ebl_data_marker_symbol.c. 251 * ebl-hooks.h (data_marker_symbol): New hook. 252 * ebl_data_marker_symbol.c: New file. 253 * eblopenbackend.c (default_data_marker_symbol): New function. 254 (fill_defaults): Add default_data_marker_symbol. 255 * libebl.h (ebl_data_marker_symbol): New function. 256 2572017-04-20 Ulf Hermann <ulf.hermann@qt.io> 258 259 * libebl.h: Use __pure_attribute__. 260 2612017-02-15 Ulf Hermann <ulf.hermann@qt.io> 262 263 * eblmachineflagname.c: Include system.h. 264 * eblopenbackend.c: Likewise. 265 2662016-07-08 Mark Wielaard <mjw@redhat.com> 267 268 * Makefile.am (gen_SOURCES): Remove eblstrtab.c. 269 * eblstrtab.c: Removed. 270 * libebl.h (Ebl_Strtab): Removed. 271 (Ebl_Strent): Removed. 272 (ebl_strtabinit): Removed. 273 (ebl_strtabfree): Removed. 274 (ebl_strtabadd): Removed. 275 (ebl_strtabfinalize): Removed. 276 (ebl_strtaboffset): Removed. 277 (ebl_string): Removed. 278 2792016-07-06 Mark Wielaard <mjw@redhat.com> 280 281 * Makefile.am (gen_SOURCES): Remove eblobjecttypename.c, 282 eblshflagscombine.c, eblwstrtab.c and eblgstrtab.c. 283 * ebl-hooks.h (object_type_name): Removed. 284 (sh_flags_combine): Likewise. 285 * eblgstrtab.c: Removed. 286 * eblobjecttypename.c: Removed. 287 * eblopenbackend.c (default_object_type_name): Removed. 288 (default_sh_flags_combine): Likewise. 289 (fill_defaults): Removed object_type_name and sh_flags_combine. 290 * eblshflagscombine.c: Removed. 291 * eblwstrtab.c: Removed. 292 * libebl.h (ebl_object_type_name): Removed. 293 (ebl_sh_flags_combine): Likewise. 294 (ebl_wstrtab*): Removed. 295 (ebl_gstrtab*): Likewise. 296 2972016-06-28 Richard Henderson <rth@redhat.com> 298 299 * ebl-hooks.h (EBLHOOK(disasm)): Add ebl parameter. 300 * eblopenbackend.c (machines): Add EM_BPF entry. 301 3022016-05-20 Andreas Schwab <schwab@linux-m68k.org> 303 304 * eblopenbackend.c (machines) [EM_68K]: Set class and data. 305 3062016-02-12 Mark Wielaard <mjw@redhat.com> 307 308 * eblobjnotetypename.c (ebl_object_note_type_name): Check name is 309 "Go" and use new goknowntypes then. Otherwise check name is not 310 "GNU" and return "unknown". 311 3122016-01-09 Mark Wielaard <mjw@redhat.com> 313 314 * eblobjnote.c (ebl_object_note): Add brackets around if statement 315 body. 316 3172015-12-18 Mark Wielaard <mjw@redhat.com> 318 319 * eblopenbackend.c (default_debugscn_p): Also match .zdebug sections. 320 3212015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com> 322 323 * libebl.h: Prototype for ebl_ra_offset. 324 * eblabicfi.c (ebl_ra_offset): New function. 325 * libeblP.h (struct ebl): new field ra_offset; 326 3272015-09-24 Jose E. Marchesi <jose.marchesi@oracle.com> 328 329 * Makefile.am (AM_CFLAGS): Use -fPIC instead of -fpic to avoid 330 relocation overflows in some platforms. 331 3322015-09-22 Mark Wielaard <mjw@redhat.com> 333 334 * *.c: Remove old-style function definitions. 335 3362015-09-09 Chih-Hung Hsieh <chh@google.com> 337 338 * ebldwarftoregno.c (ebl_dwarf_to_regno): Remove redundant NULL tests 339 on parameters declared with __nonnull_attribute__. 340 * eblinitreg.c (ebl_frame_nregs): Likewise. 341 * eblnormalizepc.c (ebl_normalize_pc): Likewise. 342 * eblunwind.c (ebl_unwind): Likewise. 343 3442015-09-04 Chih-Hung Hsieh <chh@google.com> 345 346 * eblopenbackend.c (ebl_openbackend_machine): Replace K&R function 347 definition with ansi-C definitions. 348 * eblstother.c (ebl_check_st_other_bits): Likewise. 349 3502015-06-12 Mark Wielaard <mjw@redhat.com> 351 352 * eblcheckreloctargettype.c (ebl_check_reloc_target_type): Allow 353 SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY. 354 3552015-05-17 Mark Wielaard <mjw@redhat.com> 356 357 * eblobjnote.c (ebl_object_note): If allocation buf is large, then 358 allocate it with malloc. 359 3602015-05-17 Mark Wielaard <mjw@redhat.com> 361 362 * eblopenbackend.c (MAX_PREFIX_LEN): New define (16). 363 (openbackend): Stack allocate symname array using MAX_PREFIX_LEN. 364 3652015-01-27 Mark Wielaard <mjw@redhat.com> 366 367 * libebl.h: Add comment from README that this is completely 368 UNSUPPORTED. 369 3702014-11-22 Mark Wielaard <mjw@redhat.com> 371 372 * ebl-hooks.h (bss_plt_p): Remove ehdr argument. 373 * eblbsspltp.c (ebl_bss_plt_p): Likewise. 374 * eblopenbackend.c (default_bss_plt_p): Likewise. 375 * libebl.h (ebl_bss_plt_p): Likewise. 376 3772014-11-17 Mark Wielaard <mjw@redhat.com> 378 379 * ebldebugscnp.c (ebl_debugscn_p): Check name is not NULL. 380 3812014-06-17 Mark Wielaard <mjw@redhat.com> 382 383 * eblinitreg.c (ebl_func_addr_mask): New function. 384 * libebl.h (ebl_func_addr_mask): Define. 385 * libeblP.h (struct ebl): Add func_addr_mask. 386 3872014-05-19 Mark Wielaard <mjw@redhat.com> 388 389 * Makefile.am (gen_SOURCES): Add eblcheckreloctargettype.c. 390 * eblcheckreloctargettype.c: New file. 391 * ebl-hooks.h (check_reloc_target_type): New hook. 392 * eblopenbackend.c (default_check_reloc_target_type): New function. 393 (fill_defaults): Assign default_check_reloc_target_type to 394 check_reloc_target_type. 395 * libebl.h (ebl_check_reloc_target_type): New function definition. 396 3972013-12-18 Mark Wielaard <mjw@redhat.com> 398 399 * Makefile.am (gen_SOURCES): Add eblresolvesym.c. 400 * ebl-hooks.h (resolve_sym_value): New entry. 401 * eblresolvesym.c: New file. 402 * libebl.h (ebl_resolve_sym_value): New definition. 403 * libeblP.h (fd_addr): New field. 404 (fd_data): Likewise. 405 4062013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com> 407 408 unwinder: s390 and s390x 409 * Makefile.am (gen_SOURCES): Add eblnormalizepc.c and eblunwind.c. 410 * ebl-hooks.h (normalize_pc, unwind): New. 411 * eblnormalizepc.c: New file. 412 * eblunwind.c: New file. 413 * libebl.h (Ebl_Register_Location): Add field pc_register. 414 (ebl_normalize_pc): New declaration. 415 (ebl_tid_registers_get_t, ebl_pid_memory_read_t): New definitions. 416 (ebl_unwind): New declaration. 417 4182013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com> 419 420 unwinder: ppc and ppc64 421 * Makefile.am (gen_SOURCES): Add ebldwarftoregno.c. 422 * ebl-hooks.h (dwarf_to_regno): New. 423 * ebldwarftoregno.c: New file. 424 * libebl.h (Ebl_Core_Item): New field pc_register. 425 (ebl_tid_registers_t): Add FIRSTREG -1 to the comment. 426 (ebl_dwarf_to_regno): New. 427 4282013-11-25 Petr Machata <pmachata@redhat.com> 429 430 * eblopenbackend.c (machines): Add entry for AArch64. 431 4322013-11-14 Jan Kratochvil <jan.kratochvil@redhat.com> 433 434 Code cleanup: Remove const in prototype 435 * libebl.h (ebl_tid_registers_t): Remove const from firstreg. 436 4372013-11-07 Jan Kratochvil <jan.kratochvil@redhat.com> 438 Mark Wielaard <mjw@redhat.com> 439 440 * Makefile.am (gen_SOURCES): Add eblinitreg.c. 441 * ebl-hooks.h (set_initial_registers_tid): New entry. 442 * eblinitreg.c: New file. 443 * libebl.h (ebl_tid_registers_t): New definition. 444 (ebl_set_initial_registers_tid, ebl_frame_nregs): New declarations. 445 * libeblP.h (struct ebl): New entry frame_nregs. 446 4472013-10-06 Mark Wielaard <mjw@redhat.com> 448 449 * libebl.h (ebl_abi_cfi): Document restrictions using register 450 rules. 451 4522013-09-26 Petr Machata <pmachata@redhat.com> 453 454 * eblcorenotetypename.c: Handle NT_ARM_TLS, NT_ARM_HW_BREAK, 455 NT_ARM_HW_WATCH, NT_SIGINFO, NT_FILE. 456 4572013-09-25 Mark Wielaard <mjw@redhat.com> 458 459 * eblsectionstripp.c (ebl_section_strip_p): Check shdr_l is not NULL. 460 4612013-04-24 Mark Wielaard <mjw@redhat.com> 462 463 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES. 464 4652012-10-12 Jan Kratochvil <jan.kratochvil@redhat.com> 466 467 * ebl-hooks.h (abi_cfi): Extend its comment for return value. 468 * eblopenbackend.c (default_abi_cfi): Return -1. 469 * libebl.h (ebl_abi_cfi): Extend its comment for return value. 470 4712012-08-30 Petr Machata <pmachata@redhat.com> 472 473 * eblcorenotetypename.c: Handle PPC_VSX, X86_XSTATE, 474 S390_HIGH_GPRS, S390_TIMER, S390_TODCMP, S390_TODPREG, S390_CTRS, 475 S390_PREFIX, S390_LAST_BREAK, S390_SYSTEM_CALL, and ARM_VFP. 476 4772012-08-22 Jeff Kenton <jkenton@tilera.com> 478 479 * eblopenbackend.c (machines): Add tilegx. 480 4812011-06-26 Mark Wielaard <mjw@redhat.com> 482 483 * eblopenbackend.c (default_debugscn_p): Add .debug_macro. 484 4852011-04-26 Mark Wielaard <mjw@redhat.com> 486 487 * libebl.h (ebl_object_note_type_name): Add const char *name arg. 488 * eblhooks.h (object_note_type_name): Likewise. 489 * eblopenbackend.c (default_object_note_type_name): Likewise. 490 * eblobjnotetypename.c (ebl_object_note_type_name): Likewise. 491 And print version if name is "stapsdt". 492 * eblobjnote.c (ebl_object_note): Add output for "stapsdt" notes. 493 4942011-03-21 Marek Polacek <mpolacek@redhat.com> 495 496 * ebldynamictagname.c: Fix typo in TLSDESC_GOT. 497 4982011-03-10 Mark Wielaard <mjw@redhat.com> 499 500 * Makefile.am (gen_SOURCES): Add eblstother.c. 501 * eblstother.c: New file. 502 * ebl-hooks.h: Add check_st_other_bits hook. 503 * eblopenbackend.c (default_check_st_other_bits): New function. 504 (fill_defaults): Hook default_check_st_other_bits. 505 * libebl.h (ebl_check_st_other_bits): New prototype. 506 5072010-07-07 Roland McGrath <roland@redhat.com> 508 509 * eblopenbackend.c (default_debugscn_p): Match .gdb_index section. 510 5112010-02-15 Roland McGrath <roland@redhat.com> 512 513 * Makefile.am: Use config/eu.am for common stuff. 514 5152010-01-04 Roland McGrath <roland@redhat.com> 516 517 * eblcorenote.c (ebl_core_note): Take GElf_Nhdr * and name data 518 pointer instead of only n_type and n_descsz. 519 * libebl.h: Update declaration. 520 * ebl-hooks.h: Update core_note hook signature. 521 * eblopenbackend.c (default_core_note): Likewise. 522 5232009-10-14 Roland McGrath <roland@redhat.com> 524 525 * eblobjnote.c (ebl_object_note): Clean up NT_GNU_GOLD_VERSION printing. 526 5272009-10-05 Roland McGrath <roland@redhat.com> 528 529 * eblopenbackend.c (default_debugscn_p): Match .debug_pubtypes and 530 .debug_types too. 531 5322009-09-02 Petr Machata <pmachata@redhat.com> 533 534 * libebl/eblstrtab.c (morememory): Allocate memory in multiples of 535 pagesize. 536 5372009-08-06 Petr Machata <pmachata@redhat.com> 538 539 * libebl/eblstrtab.c (ebl_strtabfinalize): Only call copystrings 540 if we have any strings to copy. 541 5422009-07-26 Mark Wielaard <mjw@redhat.com> 543 544 * eblobjnote.c (ebl_object_note): Handle NT_GNU_GOLD_VERSION. 545 546 * eblobjnotetypename.c (ebl_object_note_type_name): Recognize 547 NT_GNU_GOLD_VERSION. 548 5492009-07-08 Roland McGrath <roland@redhat.com> 550 551 * ebl-hooks.h: Add abi_cfi hook. 552 * eblopenbackend.c (default_abi_cfi): New function. 553 (fill_defaults): Add initializer. 554 * eblabicfi.c: New file. 555 * Makefile.am (gen_SOURCES): Add it. 556 * libebl.h: Declare ebl_abi_cfi. 557 5582009-07-08 Ulrich Drepper <drepper@redhat.com> 559 560 * eblsymbolbindingname.c (ebl_symbol_binding_name): Handle 561 STB_GNU_UNIQUE. 562 563 * eblsymboltypename.c (ebl_symbol_type_name): Only handle STT_GNU_IFUNC 564 if the binary is marked as being for Linux. 565 5662009-04-01 Roland McGrath <roland@redhat.com> 567 568 * eblsymboltypename.c (ebl_symbol_type_name): Add STT_GNU_IFUNC. 569 570 * eblauxvinfo.c (AUXV_TYPES): Add RANDOM and BASE_PLATFORM. 571 5722009-02-01 Ulrich Drepper <drepper@redhat.com> 573 574 * eblreloctypename.c (ebl_reloc_type_name): Return "<INVALID RELOC>" 575 instead of "???" for invalid relocations. 576 5772008-08-01 Roland McGrath <roland@redhat.com> 578 579 * eblcorenotetypename.c: Handle NT_386_IOPERM. 580 5812008-07-28 Roland McGrath <roland@redhat.com> 582 583 * eblauxvinfo.c (AUXV_TYPES): Add EXECFN. 584 585 * eblauxvinfo.c (ebl_auxv_info): Handle missing elements of standard 586 table. 587 5882008-07-04 Roland McGrath <roland@redhat.com> 589 590 * libebl.h: Declare ebl_syscall_abi. 591 * ebl_syscall_abi.c: New file. 592 * Makefile.am (gen_SOURCES): Add it. 593 * ebl-hooks.h: New hook syscall_abi. 594 * eblopenbackend.c (default_syscall_abi): New function. 595 (fill_defaults): Use it. 596 5972008-03-31 Roland McGrath <roland@redhat.com> 598 599 * ebldynamictagname.c (ebl_dynamic_tag_name): Use hex for unknown tag. 600 601 * ebl-hooks.h: Add check_special_section hook. 602 * eblopenbackend.c (fill_defaults): Set new hook to ... 603 (default_check_special_section): ... this, new function. 604 * ebl_check_special_section.c: New file. 605 * Makefile.am (gen_SOURCES): Add it. 606 * libebl.h: Declare it. 607 6082008-02-20 Roland McGrath <roland@redhat.com> 609 610 * libebl.h: Declare ebl_check_object_attribute. 611 * eblcheckobjattr.c: New file. 612 * Makefile.am (gen_SOURCES): Add it. 613 * ebl-hooks.h: Add check_object_attribute hook. 614 * eblopenbackend.c (default_check_object_attribute): New function. 615 (fill_defaults): Initialize pointer to it. 616 6172008-02-19 Roland McGrath <roland@redhat.com> 618 619 * eblsectiontypename.c (ebl_section_type_name): 620 Handle SHT_GNU_ATTRIBUTES. 621 6222008-02-08 Roland McGrath <roland@redhat.com> 623 624 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_SPE. 625 6262008-01-30 Roland McGrath <roland@redhat.com> 627 628 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_386_TLS. 629 6302007-10-18 Roland McGrath <roland@redhat.com> 631 632 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_VMX. 633 6342007-10-11 Roland McGrath <roland@redhat.com> 635 636 * eblobjnote.c (ebl_object_note): Translate target format (byte-swap) 637 for NT_GNU_ABI_TAG contents. 638 6392007-08-22 Roland McGrath <roland@redhat.com> 640 641 * libebl.h (Ebl_Core_Item): New member `group'. 642 6432007-08-19 Roland McGrath <roland@redhat.com> 644 645 * ebl-hooks.h: Add new hook auxv_info. 646 * eblopenbackend.c (default_auxv_info): New function. 647 (fill_defaults): Initialize auxv_info hook. 648 * eblauxvinfo.c : New file. 649 * Makefile.am (gen_SOURCES): Add it. 650 * libebl.h: Declare ebl_auxv_info. 651 652 * eblcorenote.c: Rewritten with new signature. 653 * Makefile.am (gen_SOURCES): Add it. 654 * libebl.h (Ebl_Register_Location, Ebl_Core_Item): New types. 655 (ebl_core_note_info): Completely revamp signature. 656 * ebl-hooks.h: Update decl. 657 * eblopenbackend.c (default_core_note): Update signature. 658 6592007-07-09 Roland McGrath <roland@redhat.com> 660 661 * eblobjnotetypename.c (ebl_object_note_type_name): Handle 662 NT_GNU_HWCAP, NT_GNU_BUILD_ID. 663 664 * eblobjnote.c (ebl_object_note): Handle NT_GNU_BUILD_ID. 665 6662007-04-22 Roland McGrath <roland@redhat.com> 667 668 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PRXFPREG. 669 6702007-03-10 Roland McGrath <roland@redhat.com> 671 672 * eblcorenote.c (ebl_core_note): For normally-zero types, 673 print in hex if not zero. 674 6752007-01-11 Roland McGrath <roland@redhat.com> 676 677 * ebl-hooks.h (machine_section_flag_check): New hook. 678 * libebl.h: Declare ebl_machine_section_flag_check. 679 * eblmachinesectionflagcheck.c: New file. 680 * Makefile.am (gen_SOURCES): Add it. 681 * eblopenbackend.c (default_machine_section_flag_check): New function. 682 (fill_defaults): Use it. 683 6842006-09-04 Roland McGrath <roland@redhat.com> 685 686 * ebl-hooks.h: Replace register_name hook with register_info. 687 Also yield natural bit width and base type encoding. 688 * eblopenbackend.c (default_register_name): Renamed 689 default_register_info, new args added. 690 (fill_defaults): Update initialization. 691 * eblregname.c: File renamed ... 692 * eblreginfo.c: ... to this. 693 (ebl_register_name): Renamed to ebl_register_info, new args added. 694 * libebl.h: Update decl. 695 696 * Makefile.am (gen_SOURCES): Update list. 697 6982006-07-06 Ulrich Drepper <drepper@redhat.com> 699 700 * ebldynamictagname.c: Add support for DT_GNU_HASH. 701 * ebldynamictagcheck.c: Likewise. 702 * eblsectiontypename.c: Add support for SHT_GNU_HASH. 703 7042006-07-05 Ulrich Drepper <drepper@redhat.com> 705 706 * Makefile.am (gen_SOURCES): Add eblsysvhashentrysize.c. 707 * libeblP.h (struct ebl): Add sysvhash_entrysize element. 708 * eblopenbackend.c (fill_defaults): Initialize sysvhash_entrysize. 709 710 * eblopenbackend.c (openbackend): If possible, fill machine, class, 711 and data values in from the ELF file. 712 7132006-07-04 Ulrich Drepper <drepper@redhat.com> 714 715 * Makefile.am (gen_SOURCES): Add eblrelativerelocp.c. 716 * eblrelativerelocp.c: New file. 717 * ebl-hooks.c: Add relative_reloc_p. 718 * eblopenbackend.c (default_relative_reloc_p): New function. 719 (fill_defaults): Hook it up. 720 * libebl.h: Declare ebl_relative_reloc_p. 721 7222006-06-12 Ulrich Drepper <drepper@redhat.com> 723 724 * Makefile.am (gen_SOURCES): Add eblnonerelocp.c. 725 * eblnonerelocp.c: New file. 726 * ebl-hooks.c: Add none_reloc_p. 727 * eblopenbackend.c (default_none_reloc_p): New function. 728 (fill_defaults): Hook it up. 729 * libebl.h: Declare ebl_none_reloc_p. 730 7312006-05-27 Ulrich Drepper <drepper@redhat.com> 732 733 * libebl.h: Add extern "C". 734 7352005-11-25 Roland McGrath <roland@redhat.com> 736 737 * eblregname.c: New file. 738 * Makefile.am (gen_SOURCES): Add it. 739 * ebl-hooks.h: Declare register_name hook. 740 * libebl.h: Declare ebl_register_name. 741 * eblopenbackend.c (default_register_name): New function. 742 (fill_defaults): Use it. 743 7442005-11-16 Roland McGrath <roland@redhat.com> 745 746 * libebl.h: Use "" for elf-knowledge.h, not <>. 747 7482005-11-15 Roland McGrath <roland@redhat.com> 749 750 * Makefile.am: Removed everything for building libebl_*.so modules, 751 now in ../backends/Makefile.am instead. 752 * alpha_init.c: Moved to ../backends. 753 * alpha_reloc.def: Likewise. 754 * alpha_retval.c: Likewise. 755 * alpha_symbol.c: Likewise. 756 * arm_init.c: Likewise. 757 * arm_reloc.def: Likewise. 758 * arm_symbol.c: Likewise. 759 * common-reloc.c: Likewise. 760 * i386_corenote.c: Likewise. 761 * i386_init.c: Likewise. 762 * i386_reloc.def: Likewise. 763 * i386_retval.c: Likewise. 764 * i386_symbol.c: Likewise. 765 * ia64_init.c: Likewise. 766 * ia64_reloc.def: Likewise. 767 * ia64_symbol.c: Likewise. 768 * libebl_CPU.h: Likewise. 769 * ppc64_init.c: Likewise. 770 * ppc64_reloc.def: Likewise. 771 * ppc64_retval.c: Likewise. 772 * ppc64_symbol.c: Likewise. 773 * ppc_init.c: Likewise. 774 * ppc_reloc.def: Likewise. 775 * ppc_retval.c: Likewise. 776 * ppc_symbol.c: Likewise. 777 * s390_init.c: Likewise. 778 * s390_reloc.def: Likewise. 779 * s390_symbol.c: Likewise. 780 * sh_init.c: Likewise. 781 * sh_reloc.def: Likewise. 782 * sh_symbol.c: Likewise. 783 * sparc_init.c: Likewise. 784 * sparc_reloc.def: Likewise. 785 * sparc_symbol.c: Likewise. 786 * x86_64_corenote.c: Likewise. 787 * x86_64_init.c: Likewise. 788 * x86_64_reloc.def: Likewise. 789 * x86_64_retval.c: Likewise. 790 * x86_64_symbol.c: Likewise. 791 792 * libebl.h: Comment fixes. 793 794 * alpha_retval.c: New file. 795 * Makefile.am (alpha_SRCS): Add it. 796 * alpha_init.c (alpha_init): Initialize return_value_location hook. 797 798 * ppc64_retval.c: New file. 799 * Makefile.am (ppc64_SRCS): Add it. 800 * ppc64_init.c (ppc64_init): Initialize return_value_location hook. 801 802 * ppc_retval.c: New file. 803 * Makefile.am (ppc_SRCS): Add it. 804 * ppc_init.c (ppc_init): Initialize return_value_location hook. 805 8062005-11-14 Roland McGrath <roland@redhat.com> 807 808 * ia64_init.c (ia64_init): Initialize EH->reloc_simple_type. 809 * sh_init.c (sh_init): Likewise. 810 * x86_64_init.c (x86_64_init): Likewise. 811 812 * sparc_symbol.c (sparc_reloc_simple_type): New function. 813 * sparc_init.c (sparc_init): Use it. 814 815 * arm_symbol.c (arm_reloc_simple_type): New function. 816 * arm_init.c (arm_init): Use it. 817 818 * alpha_symbol.c (alpha_reloc_simple_type): New function. 819 * alpha_init.c (alpha_init): Use it. 820 821 * ia64_reloc.def: Update bits per H. J. Lu <hjl@lucon.org>. 822 823 * arm_reloc.def: Update bits per Daniel Jacobowitz <drow@false.org>. 824 825 * alpha_reloc.def: Update bits per Richard Henderson <rth@redhat.com>. 826 8272005-11-13 Roland McGrath <roland@redhat.com> 828 829 * x86_64_retval.c: New file. 830 * Makefile.am (x86_64_SRCS): Add it. 831 * x86_64_init.c (x86_64_init): Use x86_64_return_value_location. 832 833 * i386_retval.c: New file. 834 * Makefile.am (i386_SRCS): Add it. 835 (libdw): New variable. 836 (libebl_%.so): Use $(libdw) in link; use --as-needed. 837 * i386_init.c (i386_init): Use i386_return_value_location. 838 839 * eblretval.c: New file. 840 * Makefile.am (gen_SOURCES): Add it. 841 (INCLUDES): Search in libdw. 842 * libebl.h: Include <libdw.h>. Declare ebl_return_value_location. 843 * ebl-hooks.h: Declare return_value_location hook. 844 * eblopenbackend.c (default_return_value_location): New function. 845 (fill_defaults): Use it. 846 8472005-11-10 Roland McGrath <roland@redhat.com> 848 849 * s390_init.c: New file. 850 * s390_reloc.def: New file. 851 * s390_symbol.c: New file. 852 * Makefile.am (modules, libebl_pic): Add s390. 853 (s390_SRCS, libebl_s390_pic_a_SOURCES): New variables. 854 (am_libebl_s390_pic_a_OBJECTS): New variable. 855 856 * ppc64_init.c: Use common-reloc.c. 857 * ppc64_symbol.c (ppc64_backend_name): Removed. 858 (ppc64_reloc_type_check, ppc64_reloc_type_name): Likewise. 859 (ppc64_copy_reloc_p, ppc64_reloc_valid_use): Likewise. 860 861 * ppc_init.c: Use common-reloc.c. 862 * ppc_symbol.c (ppc_backend_name): Removed. 863 (ppc_reloc_type_name, ppc_reloc_type_check): Likewise. 864 (ppc_reloc_valid_use, ppc_copy_reloc_p): Likewise. 865 866 * sparc_init.c: Use common-reloc.c. 867 * sparc_symbol.c (sparc_backend_name): Removed. 868 (sparc_reloc_type_name, sparc_reloc_type_check): Likewise. 869 (sparc_copy_reloc_p): Likewise. 870 871 * arm_init.c: Use common-reloc.c. 872 * arm_symbol.c (arm_backend_name): Removed. 873 (arm_reloc_type_name, arm_reloc_type_check, arm_copy_reloc_p): Removed. 874 875 * alpha_init.c: Use common-reloc.c. 876 * alpha_symbol.c (alpha_backend_name): Removed. 877 (alpha_reloc_type_name, alpha_reloc_type_check): Likewise. 878 (alpha_copy_reloc_p): Likewise. 879 880 * ia64_symbol.c (ia64_backend_name): Removed. 881 (ia64_reloc_type_name, ia64_reloc_type_check): Likewise. 882 (ia64_copy_reloc_p): Likewise. 883 884 * x86_64_init.c: Use common-reloc.c. 885 * x86_64_symbol.c (x86_64_backend_name): Removed. 886 (x86_64_copy_reloc_p, x86_64_reloc_valid_use): Likewise. 887 (x86_64_reloc_type_check, x86_64_reloc_type_name): Likewise. 888 889 * sh_init.c: Use common-reloc.c. 890 * sh_symbol.c: All functions removed. 891 (sh_reloc_simple_type): New function. 892 (sh_gotpc_reloc_check): New function. 893 894 * common-reloc.c: New file. 895 * Makefile.am (noinst_HEADERS): Add it. 896 * i386_init.c: Include it. 897 898 * sh_reloc.def: New file. 899 * i386_reloc.def: New file. 900 * alpha_reloc.def: New file. 901 * arm_reloc.def: New file. 902 * i386_reloc.def: New file. 903 * ia64_reloc.def: New file. 904 * ppc64_reloc.def: New file. 905 * ppc_reloc.def: New file. 906 * sh_reloc.def: New file. 907 * sparc_reloc.def: New file. 908 * x86_64_reloc.def: New file. 909 * Makefile.am (EXTRA_DIST): Add $(modules:=_reloc.def). 910 911 * libebl_alpha.map: Removed. 912 * libebl_ia64.map: Removed. 913 * libebl_ppc.map: Removed. 914 * libebl_sparc.map: Removed. 915 * libebl_arm.map: Removed. 916 * libebl_i386.map: Removed. 917 * libebl_ppc64.map: Removed. 918 * libebl_sh.map: Removed. 919 * libebl_x86_64.map: Removed. 920 * Makefile.am (EXTRA_DIST): Remove them. 921 (libebl_%.map, libebl_%.so): New pattern rules. 922 923 * libebl_alpha.h: Removed. 924 * libebl_ia64.h: Removed. 925 * libebl_ppc.h: Removed. 926 * libebl_sparc.h: Removed. 927 * libebl_arm.h: Removed. 928 * libebl_i386.h: Removed. 929 * libebl_ppc64.h: Removed. 930 * libebl_sh.h: Removed. 931 * libebl_x86_64.h: Removed. 932 * Makefile.am (noinst_HEADERS): Remove them. 933 934 * x86_64_corenote.c: Use libebl_CPU.h instead. 935 * x86_64_symbol.c: Likewise. 936 * i386_corenote.c: Likewise. 937 9382005-11-09 Roland McGrath <roland@redhat.com> 939 940 * ia64_symbol.c (ia64_reloc_simple_type): New function. 941 942 * ebl-hooks.h (reloc_simple_type): Take the Ebl handle, not Elf handle. 943 * eblrelocsimpletype.c (ebl_reloc_simple_type): Update caller. 944 * eblopenbackend.c (default_reloc_simple_type): Update signature. 945 * i386_symbol.c (i386_reloc_simple_type): Likewise. 946 * ppc64_symbol.c (ppc64_reloc_simple_type): Likewise. 947 * ppc_symbol.c (ppc_reloc_simple_type): Likewise. 948 * x86_64_symbol.c (x86_64_reloc_simple_type): Likewise. 949 950 * i386_symbol.c (i386_backend_name): Removed. 951 (i386_reloc_type_name, i386_reloc_type_check): Likewise. 952 (i386_reloc_valid_use): Removed. 953 (i386_copy_reloc_p): Removed. 954 955 * alpha_destr.c: Removed. 956 * arm_destr.c: Removed. 957 * i386_destr.c: Removed. 958 * ia64_destr.c: Removed. 959 * ppc64_destr.c: Removed. 960 * ppc_destr.c: Removed. 961 * sh_destr.c: Removed. 962 * sparc_destr.c: Removed. 963 * x86_64_destr.c: Removed. 964 965 * ebl-hooks.h: New file, broken out of ... 966 * libeblP.h (struct ebl): ... here. #include that for hook 967 declarations, after defining EBLHOOK macro. 968 * libebl_CPU.h: New file. 969 * Makefile.am (noinst_HEADERS): Add them. 970 971 * libeblP.h (struct ebl): Use uint_fast16_t for machine, 972 and uint_fast8_t for class and data. 973 9742005-08-14 Roland McGrath <roland@redhat.com> 975 976 * ia64_symbol.c (ia64_section_type_name): New function. 977 (ia64_dynamic_tag_check): New function. 978 (ia64_reloc_valid_use): New function. 979 * libebl_ia64.h: Declare them. 980 * ia64_init.c (ia64_init): Use them. 981 * Makefile.am (libebl_ia64.so): Link with libelf. 982 9832005-08-28 Ulrich Drepper <drepper@redhat.com> 984 985 * Makefile.am: Use $(LINK) not $(CC) when creating DSOs. 986 9872005-08-13 Roland McGrath <roland@redhat.com> 988 989 * ia64_symbol.c (ia64_machine_flag_check): New function. 990 * libebl_ia64.h: Declare it. 991 * ia64_init.c (ia64_init): Use it. 992 9932005-08-13 Ulrich Drepper <drepper@redhat.com> 994 995 * libebl.h: Add ehdr parameter to ebl_bss_plt_p and 996 ebl_check_special_symbol. 997 * libeblP.h (struct ebl): Adjust callback functions. 998 * eblopenbackend.c: Adjust dummy functions. 999 * ebl_check_special_symbol.c: Add parameter and pass it on. 1000 * eblbsspltp.c: Likewise. 1001 * ppc_symbol.c (find_dyn_got): With ehdr passed, simplify search for 1002 the dynamic section entry. 1003 (ppc_check_special_symbol): Add ehdr parameter. 1004 (ppc_bss_plt_p): Likewise. 1005 * libebl_ppc.h: Adjust prototypes. 1006 * ppc64_symbol.c (ppc_check_special_symbol): Add ehdr parameter. 1007 (ppc_bss_plt_p): Likewise. 1008 * libebl_ppc64.h: Adjust prototypes. 1009 10102005-08-12 Roland McGrath <roland@redhat.com> 1011 1012 * ppc_symbol.c (find_dyn_got): New function, broken out of ... 1013 (ppc_bss_plt_p): ... here. Call that. 1014 (ppc_check_special_symbol): Use find_dyn_got to fetch value to check 1015 against _GLOBAL_OFFSET_TABLE_. 1016 1017 * libeblP.h (struct ebl): Add bss_plt_p hook. 1018 * eblopenbackend.c (default_bss_plt_p): New function. 1019 (fill_defaults): Use it. 1020 * eblbsspltp.c: New file. 1021 * Makefile.am (gen_SOURCES): Add it. 1022 * libebl.h: Declare ebl_bss_plt_p. 1023 * ppc_symbol.c (ppc_bss_plt_p): New function. 1024 * libebl_ppc.h: Declare it. 1025 * ppc_init.c (ppc_init): Use it. 1026 * ppc64_symbol.c (ppc64_bss_plt_p): New function. 1027 * libebl_ppc64.h: Declare it. 1028 * ppc64_init.c (ppc64_init): Use it. 1029 1030 * ebl_check_special_symbol.c: New file. 1031 * Makefile.am (gen_SOURCES): Add it. 1032 * libebl.h: Declare ebl_check_special_symbol. 1033 * libeblP.h (struct ebl): Add check_special_symbol hook. 1034 * eblopenbackend.c (default_check_special_symbol): New function. 1035 (fill_defaults): Use it. 1036 * ppc_symbol.c (ppc_check_special_symbol): New function. 1037 * libebl_ppc.h: Add prototype. 1038 * ppc_init.c (ppc_init): Use it. 1039 * ppc64_symbol.c (ppc64_check_special_symbol): New function. 1040 * libebl_ppc64.h: Add prototype. 1041 * ppc64_init.c (ppc64_init): Use it. 1042 10432005-08-07 Ulrich Drepper <drepper@redhat.com> 1044 1045 * ppc_init.c: Add support for new DT_PPC_* and R_PPC_* values. 1046 * ppc_symbol.c: Likewise. 1047 * libebl_ppc.h: Likewise. 1048 * ppc64_init.c: There is now also a dynamic_tag_check functions 1049 * ppc64_symbol.c: Add dynamic_tag_check. 1050 * libebl_ppc64.h: Add prototype. 1051 * alpha_init.c: Add support for new DT_ALPHA_* value. 1052 * alpha_symbol.c: Likewise. 1053 * libebl_alpha.h: Likewise. 1054 10552005-08-03 Ulrich Drepper <drepper@redhat.com> 1056 1057 * libebl_alpha.map: Remove unnecessary exports. 1058 * libebl_arm.map: Likewise. 1059 * libebl_i386.map: Likewise. 1060 * libebl_ia64.map: Likewise. 1061 * libebl_ppc.map: Likewise. 1062 * libebl_ppc64.map: Likewise. 1063 * libebl_sh.map: Likewise. 1064 * libebl_sparc.map: Likewise. 1065 * libebl_x86_64.map: Likewise. 1066 10672005-08-02 Ulrich Drepper <drepper@redhat.com> 1068 1069 * Makefile.am (libebl_a_SOURCES): Add eblelfclass.c, eblelfdata.c, 1070 and eblelfmachine.c. 1071 * elbopenbackend.c (machines): Add class and data fields. Initialize 1072 them. 1073 (ebl_openbackend): Initialize machine, class, data fields in result. 1074 * libebl.h: Declare Add eblelfclass, eblelfdata, and eblelfmachine. 1075 * libeblP.h (Ebl): Add machine, class, data fields. 1076 10772005-07-23 Ulrich Drepper <drepper@redhat.com> 1078 1079 * eblsectionstripp.c: New file. 1080 * Makefile.am (gen_SOURCES): Add eblsectionstripp.c. 1081 * i386_init.c (i386_init): Install specific debugscn_p callback. 1082 * i386_symbol.c (i386_debugscn_p): New function. 1083 * libebl.h: Declare ebl_section_strip_p. 1084 * libebl_i386.h: Declare i386_debugscn_p. 1085 1086 * libebl.h: Move Ebl definition to... 1087 * libeblP.h: ...here. 1088 10892005-07-21 Roland McGrath <roland@redhat.com> 1090 1091 * Makefile.am (install-ebl-modules): New target, commands from ... 1092 (install): ... here. Make this depend on it. 1093 (LIBEBL_SUBDIR): New variable, substituted by configure. 1094 (install-ebl-modules): Install in $(libdir)/$(LIBEBL_SUBDIR). 1095 * eblopenbackend.c (openbackend): Use LIBEBL_SUBDIR in module name. 1096 10972005-07-21 Ulrich Drepper <drepper@redhat.com> 1098 1099 * eblcopyrelocp.c: New file. 1100 * Makefile.am (gen_SOURCES): Add eblcopyrelocp.c. 1101 * libebl.h: Declare ebl_copy_reloc_p. 1102 * eblopenbackend.c (fill_defaults): Fill in copy_reloc_p. 1103 (default_copy_reloc_p): New function. 1104 * alpha_init.c: Define and use arch-specific copy_reloc_p function. 1105 * alpha_symbol.c: Likewise. 1106 * arm_init.c: Likewise. 1107 * arm_symbol.c: Likewise. 1108 * i386_init.c: Likewise. 1109 * i386_symbol.c: Likewise. 1110 * ia64_init.c: Likewise. 1111 * ia64_symbol.c: Likewise. 1112 * ppc64_init.c: Likewise. 1113 * ppc64_symbol.c: Likewise. 1114 * ppc_init.c: Likewise. 1115 * ppc_symbol.c: Likewise. 1116 * sh_init.c: Likewise. 1117 * sh_symbol.c: Likewise. 1118 * sparc_init.c: Likewise. 1119 * sparc_symbol.c: Likewise. 1120 * x86_64_init.c: Likewise. 1121 * x86_64_symbol.c: Likewise. 1122 * libebl_alpha.h: Declare the copy_reloc_p function. 1123 * libebl_arm.h: Likewise. 1124 * libebl_i386.h: Likewise. 1125 * libebl_ia64.h: Likewise. 1126 * libebl_ppc.h: Likewise. 1127 * libebl_ppc64.h: Likewise. 1128 * libebl_sh.h: Likewise. 1129 * libebl_sparc.h: Likewise. 1130 * libebl_x86_64.h: Likewise. 1131 11322005-05-31 Roland McGrath <roland@redhat.com> 1133 1134 * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency 1135 tracking works right. 1136 11372005-05-21 Ulrich Drepper <drepper@redhat.com> 1138 1139 * libebl_x86_64.map: Add x86_64_core_note. 1140 11412005-05-19 Roland McGrath <roland@redhat.com> 1142 1143 * libebl_i386.map: Add i386_reloc_valid_use, i386_reloc_simple_type. 1144 * libebl_ppc.map: Add ppc_reloc_simple_type. 1145 * libebl_ppc64.map: Add ppc64_reloc_simple_type. 1146 * libebl_x86_64.map: Add x86_64_reloc_simple_type. 1147 11482005-05-11 Ulrich Drepper <drepper@redhat.com> 1149 1150 * eblcorenote.c: Handle new AT_* values and files with different 1151 endianness. 1152 * Makefile.am (x86_64_SRCS): Add x86_64_corenote.c. 1153 * x86-64_corenote.c: New file. 1154 * x86_64_init.c: Hook in x86_64_corenote. 1155 * i386_corenote.c: Make file usable on 64-bit platforms. 1156 1157 * eblopenbackend.c: If modules version comparison fails, reinitialize 1158 hooks. 1159 11602005-05-10 Ulrich Drepper <drepper@redhat.com> 1161 1162 * eblopenbackend.c: Require the init function to return a string. 1163 Compare it with MODVERSION from config.h. 1164 * alpha_init.c: Change return type. Return MODVERSION or NULL. 1165 * arm_init.c: Likewise. 1166 * eblopenbackend.c: Likewise. 1167 * i386_init.c: Likewise. 1168 * ia64_init.c: Likewise. 1169 * ppc64_init.c: Likewise. 1170 * ppc_init.c: Likewise. 1171 * sh_init.c: Likewise. 1172 * sparc_init.c: Likewise. 1173 * x86_64_init.c: Likewise. 1174 * libeblP.h: Adjust ebl_bhinit_t. 1175 * libebl_alpha.h: Adjust init function prototype. 1176 * libebl_arm.h: Likewise. 1177 * libebl_i386.h: Likewise. 1178 * libebl_ia64.h: Likewise. 1179 * libebl_ppc.h: Likewise. 1180 * libebl_ppc64.h: Likewise. 1181 * libebl_sh.h: Likewise. 1182 * libebl_sparc.h: Likewise. 1183 * libebl_x86_64.h: Likewise. 1184 1185 * mips_destr.c: Removed. 1186 * mips_init.c: Removed. 1187 * mips_symbol.c: Removed. 1188 * libebl_mips.h: Removed. 1189 * libebl_mips.map: Removed. 1190 11912005-05-03 Roland McGrath <roland@redhat.com> 1192 1193 * libebl.h (Ebl): Add `reloc_simple_type' member. 1194 * eblopenbackend.c (default_reloc_simple_type): New function. 1195 (openbackend): Use that as default reloc_simple_type callback. 1196 * eblrelocsimpletype.c: New file. 1197 * Makefile.am (gen_SOURCES): Add it. 1198 * i386_symbol.c (i386_reloc_simple_type): New function. 1199 * libebl_i386.h: Declare it. 1200 * i386_init.c (i386_init): Use it. 1201 * x86_64_symbol.c (x86_64_reloc_simple_type): New function. 1202 * libebl_x86_64.h: Declare it. 1203 * x86_64_init.c (x86_64_init): Use it. 1204 * ppc_symbol.c (ppc_reloc_simple_type): New function. 1205 * libebl_ppc.h: Declare it. 1206 * ppc_init.c (ppc_init): Use it. 1207 * ppc64_symbol.c (ppc64_reloc_simple_type): New function. 1208 * libebl_ppc64.h: Declare it. 1209 * ppc64_init.c (ppc64_init): Use it. 1210 12112005-03-17 Ulrich Drepper <drepper@redhat.com> 1212 1213 * eblcorenote.c (ebl_core_note): Add support for AT_SECURE. 1214 12152005-02-15 Ulrich Drepper <drepper@redhat.com> 1216 1217 * Makefile.am (AM_CFLAGS): Add -Wformat=2. 1218 12192005-02-14 Ulrich Drepper <drepper@redhat.com> 1220 1221 * alpha_destr.c: Add __attribute__((unused)) where needed. 1222 * alpha_init.c: Likewise. 1223 * alpha_symbol.c: Likewise. 1224 * arm_destr.c: Likewise. 1225 * arm_init.c: Likewise. 1226 * arm_symbol.c: Likewise. 1227 * i386_corenote.c: Likewise. 1228 * i386_destr.c: Likewise. 1229 * i386_init.c: Likewise. 1230 * i386_symbol.c: Likewise. 1231 * ia64_destr.c: Likewise. 1232 * ia64_init.c: Likewise. 1233 * ia64_symbol.c: Likewise. 1234 * mips_destr.c: Likewise. 1235 * mips_init.c: Likewise. 1236 * mips_symbol.c: Likewise. 1237 * ppc64_destr.c: Likewise. 1238 * ppc64_init.c: Likewise. 1239 * ppc64_symbol.c: Likewise. 1240 * ppc_destr.c: Likewise. 1241 * ppc_init.c: Likewise. 1242 * ppc_symbol.c: Likewise. 1243 * sh_destr.c: Likewise. 1244 * sh_init.c: Likewise. 1245 * sh_symbol.c: Likewise. 1246 * sparc_destr.c: Likewise. 1247 * sparc_init.c: Likewise. 1248 * sparc_symbol.c: Likewise. 1249 * x86_64_destr.c: Likewise. 1250 * x86_64_init.c: Likewise. 1251 * x86_64_symbol.c: Likewise. 1252 1253 * x86_64_symbol.c (reloc_map_table): Fix entries for R_X86_64_64 1254 and R_X86_64_32.. 1255 12562005-02-06 Ulrich Drepper <drepper@redhat.com> 1257 1258 * eblstrtab.c: A few cleanups. 1259 1260 * eblopenbackend.c: Mark unused parameters. 1261 1262 * eblgstrtab.c: Cleanups a few printf format strings. 1263 1264 * Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra. 1265 12662005-02-05 Ulrich Drepper <drepper@redhat.com> 1267 1268 * Makefile.am: Check for text relocations in constructed DSOs. 1269 1270 * eblstrtab.c: Minor cleanups. 1271 1272 * Makefile.am (AM_CFLAGS): Add -std=gnu99 and -fmudflap for MUDFLAP. 1273 12742004-08-16 Ulrich Drepper <drepper@redhat.com> 1275 1276 * Makefile.am (AM_CFLAGS): Add LIBSTR definition with base name of 1277 the lib directory. 1278 * eblopenbackend.c (openbackend): Use LIBSTR instead of hardcoded 1279 lib in path to ebl modules. 1280 12812004-04-01 Ulrich Drepper <drepper@redhat.com> 1282 1283 * Makefile.am: Add rules for ppc and ppc64 ebl module. 1284 * ppc_init..c: New file. 1285 * ppc_destr.c: New file. 1286 * ppc_symbol.c: New file. 1287 * libebl_ppc.h: New file. 1288 * libebl_ppc.map: New file. 1289 * ppc64_init..c: New file. 1290 * ppc64_destr.c: New file. 1291 * ppc64_symbol.c: New file. 1292 * libebl_ppc64.h: New file. 1293 * libebl_ppc64.map: New file. 1294 12952004-01-20 Ulrich Drepper <drepper@redhat.com> 1296 1297 * Makefile.am: Support building with mudflap. 1298 12992004-01-18 Ulrich Drepper <drepper@redhat.com> 1300 1301 * libeblP.h (_): Use elfutils domain. 1302 13032004-01-16 Ulrich Drepper <drepper@redhat.com> 1304 1305 * eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER. 1306 13072004-01-13 Ulrich Drepper <drepper@redhat.com> 1308 1309 * eblsegmenttypename.c ((ebl_segment_type_name): Add support for 1310 PT_GNU_RELRO. 1311 13122004-01-08 Ulrich Drepper <drepper@redhat.com> 1313 1314 * libebl.h: Remove last traces of libtool. 1315 13162004-01-05 Ulrich Drepper <drepper@redhat.com> 1317 1318 * elf-knowledge.h: Move to libelf subdir. 1319 1320 * Makefile.am (EXTRA_DIST): Remove libebl.map. 1321 * libebl.map: Removed. 1322 13232003-12-08 Ulrich Drepper <drepper@redhat.com> 1324 1325 * eblsectiontypename.c (ebl_section_type_name): Add support for 1326 SHT_SUNW_move, SHT_CHECKSUM, and SHT_GNU_LIBLIST. 1327 13282003-11-19 Ulrich Drepper <drepper@redhat.com> 1329 1330 * ia64_symbol.c (ia64_dynamic_tag_name): New function. 1331 * libebl_ia64.h (ia64_dynamic_tag_name): Declare. 1332 * ia64_init.c (ia64_init): Register i164_dynamic_tag_name. 1333 13342003-09-24 Ulrich Drepper <drepper@redhat.com> 1335 1336 * ia64_init.c (ia64_init): Initialize segment_type_name callback. 1337 * ia64_symbol.c (ia64_segment_type_name): Define. 1338 * libebl_ia64.h (ia64_segment_type_name): Declare. 1339 13402003-09-22 Ulrich Drepper <drepper@redhat.com> 1341 1342 * Makefile.am (AM_CFLAGS): Add -fpic. 1343 13442003-08-14 Ulrich Drepper <drepper@redhat.com> 1345 1346 * Makefile.am (install): Remove dependency on libebl.so. 1347 13482003-08-13 Ulrich Drepper <drepper@redhat.com> 1349 1350 * eblopenbackend.c: Adjust relative path to arch-specific DSOs 1351 assuming the code ends up in the application. Add second dlopen() 1352 try without any path, just the filename. 1353 * Makefile.in: Remove rules to build and install libebl.so. 1354 13552003-08-11 Ulrich Drepper <drepper@redhat.com> 1356 1357 * Moved to CVS archive. 1358