12020-12-16 Dmitry V. Levin <ldv@altlinux.org> 2 3 * libeblP.h (_): Remove. 4 52020-12-15 Dmitry V. Levin <ldv@altlinux.org> 6 7 * eblbackendname.c (ebl_backend_name): Replace gettext(...) with _(...). 8 * eblcorenotetypename.c (ebl_core_note_type_name): Likewise. 9 * ebldynamictagname.c (ebl_dynamic_tag_name): Likewise. 10 * eblobjnote.c (ebl_object_note): Likewise. 11 * eblobjnotetypename.c (ebl_object_note_type_name): Likewise. 12 * eblosabiname.c (ebl_osabi_name): Likewise. 13 * eblsectionname.c (ebl_section_name): Likewise. 14 * eblsectiontypename.c (ebl_section_type_name): Likewise. 15 * eblsegmenttypename.c (ebl_segment_type_name): Likewise. 16 * eblsymbolbindingname.c (ebl_symbol_binding_name): Likewise. 17 * eblsymboltypename.c (ebl_symbol_type_name): Likewise. 18 192020-10-19 Mark Wielaard <mark@klomp.org> 20 21 * eblopenbackend.c (tilegx_init): Removed. 22 (machines): Set init to NULL for tilegx. 23 242020-10-19 Mark Wielaard <mark@klomp.org> 25 26 * Makefile.am (libebl_a_SOURCES): Remove ebl_syscall_abi.c. 27 * ebl-hooks.h (syscall_abi): Remove. 28 * ebl_syscall_abi.c: Delete. 29 * eblopenbackend.c (default_syscall_abi): Remove. 30 (fill_defaults): Remove syscall_abi assignment. 31 * libebl.h (ebl_syscall_abi): Remove. 32 332020-09-03 Mark Wielaard <mark@klomp.org> 34 35 * eblobjnote.c (ebl_object_note): For EM_AARCH64 handle BTI and PAC 36 in GNU_PROPERTY_AARCH64_FEATURE_1_AND. 37 382020-07-19 Mark Wielaard <mark@klomp.org> 39 40 * libebl.h: Only typedef Ebl if _LIBASM_H is undefined. 41 422020-06-10 Mark Wielaard <mark@klomp.org> 43 44 * eblopenbackend.c (i386_init, sh_init, x86_64_init, ia64_init, 45 alpha_init, arm_init, aarch64_init, sparc_init, ppc_init, 46 ppc64_init, s390_init, tilegx_init, m68k_init, bpf_init, 47 riscv_init, csky_init): Adjust signature. 48 (openbackend): Call init without sizeof(Ebl). 49 * libeblP.h (ebl_bhinit_t): Adjust signature. 50 512020-06-04 Mark Wielaard <mark@klomp.org> 52 53 * eblsegmenttypename.c (ebl_segment_type_name): Remove 54 PT_GNU_PROPERTY define. 55 562020-04-17 Mark Wielaard <mark@klomp.org> 57 58 * eblopenbackend.c (default_debugscn_p): Handle .gnu.debuglto_ 59 prefix. 60 612020-02-08 Mark Wielaard <mark@klomp.org> 62 63 * eblsegmenttypename.c (ebl_segment_type_name): Handle 64 PT_GNU_PROPERTY. 65 662019-08-29 Mark Wielaard <mark@klomp.org> 67 68 * Makefile.am (noinst_LIBRARIES): Add libebl.a. 69 (noinst_HEADERS): Add libebl.h. 70 712019-07-05 Omar Sandoval <osandov@fb.com> 72 73 * Makefile.am: Make libebl.a non-PIC by default. 74 Add libebl_pic.a. 75 Remove LIBEBL_SUBDIR definition. 76 (gen_SOURCES): Remove. 77 * eblopenbackend.c (machines): Replace dsoname with init callback. 78 (try_dlopen): Remove. 79 (openbackend): Use machine callback instead of try_dlopen(). 80 Don't assign result->dlhandle. 81 * eblclosebackend.c (ebl_closebackend): Remove dlclose() call. 82 832019-04-29 Mao Han <han_mao@c-sky.com> 84 85 * eblopenbackend.c: Add C-SKY. 86 872019-06-28 Mark Wielaard <mark@klomp.org> 88 89 * eblopenbackend.c (try_dlopen): Remove result->name check. 90 (openbackend): Remove result->name assignment. 91 (struct ebl): Remove name. 92 932019-05-30 Mark Wielaard <mark@klomp.org> 94 95 * eblopenbackend.c (try_dlopen): New function extracted from 96 openbackend. 97 (openbackend): Replace ORIGINDIR define with BINORIGINDIR and 98 LIBORIGINDIR defines. Use tryopen to open backend in bin origin 99 path, lib origin path and without an explicit path. 100 1012019-04-28 Mark Wielaard <mark@klomp.org> 102 103 * eblsymbolbindingname.c (ebl_symbol_binding_name): Check ebl is 104 not NULL for STB_GNU_UNIQUE. 105 * eblsymboltypename.c (ebl_symbol_type_name): Check ebl is not 106 NULL for STT_GNU_IFUNC. 107 1082019-01-29 Mark Wielaard <mark@klomp.org> 109 110 * eblobjnote.c (ebl_object_note): Check pr_datasz padding doesn't 111 overflow descsz. 112 1132019-01-16 Mark Wielaard <mark@klomp.org> 114 115 * libebl.h (ebl_core_note): Add desc as argument. 116 * eblcorenote.c (ebl_core_note): Take desc as an argument, check 117 it contains a zero terminated string if it is an NT_PLATFORM note. 118 1192019-01-16 Mark Wielaard <mark@klomp.org> 120 121 * eblobjnte.c (ebl_object_note): Check pr_datasz isn't too large. 122 1232018-12-02 Mark Wielaard <mark@klomp.org> 124 125 * eblobjnte.c (ebl_object_note): For GNU_PROPERTY_STACK_SIZE use 126 an Elf32_Addr or Elf64_Addr to read and print the size. 127 1282018-11-15 Mark Wielaard <mark@klomp.org> 129 130 * eblobjnotetypename.c (ebl_object_note_type_name): Don't update 131 w, t and len unnecessarily. 132 1332018-11-12 Mark Wielaard <mark@klomp.org> 134 135 * libebl.h (ebl_object_note): Add new argument namesz. 136 * eblobjnote.c (ebl_object_note): Likewise and handle GNU Build 137 Attribute notes. 138 * eblobjnotetypename.c (ebl_object_note_type_name): Handle GNU 139 Build Attribute notes. 140 1412018-11-11 Mark Wielaard <mark@klomp.org> 142 143 * eblobjnote.c (ebl_object_note): Recognize NT_VERSION with zero 144 descriptor. Add explicit "GNU" name check. 145 * eblobjnotetypename.c (ebl_object_note_type_name): Add extra 146 argument descsz. Recognize NT_VERSION using descsz. With "GNU" 147 name it is NT_GNU_ABI_TAG. 148 * libebl.h (ebl_object_note_type_name): Add extra argument descsz. 149 1502018-10-18 Mark Wielaard <mark@klomp.org> 151 152 * eblobjnote.c (ebl_object_note): Handle NT_GNU_PROPERTY_TYPE_0. 153 * eblobjnotetypename.c (ebl_object_note_type_name): Add 154 GNU_PROPERTY_TYPE_0. 155 1562018-10-02 Andreas Schwab <schwab@suse.de> 157 158 * ebl-hooks.h (EBLHOOK(reloc_simple_type)): Add third parameter. 159 * libebl.h (ebl_reloc_simple_type): Likewise. 160 * eblopenbackend.c (default_reloc_simple_type): Likewise. 161 * eblrelocsimpletype.c (ebl_reloc_simple_type): Pass it down. 162 1632018-09-12 Mark Wielaard <mark@klomp.org> 164 165 * eblsectionstripp.c (ebl_section_strip_p): Drop ehdr argument. 166 Use elf_getshdrstrndx. 167 * libebl.h (ebl_section_strip_p): Drop ehdr argument. 168 1692018-09-12 Mark Wielaard <mark@klomp.org> 170 171 * ebl-hooks.h (check_special_symbol): Drop ehdr argument. 172 * ebl_check_special_symbol.c (ebl_check_special_symbol): Likewise. 173 * eblopenbackend.c (default_check_special_symbol): Likewise. 174 * libebl.h (ebl_check_special_symbol): Likewise. 175 1762018-07-04 Ross Burton <ross.burton@intel.com> 177 178 * eblopenbackend.c: Remove error.h include. 179 1802018-04-25 Mark Wielaard <mark@klomp.org> 181 182 * eblopenbackend.c (default_debugscn_p): Add new DWARF5 sections 183 .debug_addr, .debug_line_str, .debug_loclists, .debug_names, 184 .debug_rnglists and .debug_str_offsets. 185 1862018-04-19 Andreas Schwab <schwab@suse.de> 187 188 * eblopenbackend.c (machines): Add entries for RISC-V. 189 1902018-03-16 Mark Wielaard <mark@klomp.org> 191 192 * ebldynamictagname.c (ebl_dynamic_tag_name): Add SYMTAB_SHNDX to 193 stdtags. Add a eu_static_assert to make sure stdtags contains all 194 DT_NUM entries. 195 1962018-02-21 Mark Wielaard <mark@klomp.org> 197 198 * eblcheckreloctargettype.c (ebl_check_reloc_target_type): Accept 199 SHT_NOTE. 200 2012018-02-09 Joshua Watt <JPEWhacker@gmail.com> 202 203 * eblobjnote.c (ebl_object_note): Use FALLTHROUGH macro instead of 204 comment. 205 2062017-04-27 Ulf Hermann <ulf.hermann@qt.io> 207 208 * Makefile.am: Use fpic_CFLAGS. 209 2102017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com> 211 212 * eblcorenotetypename.c: Add ppc64 HTM SPRs note as known type. 213 2142017-07-20 Mark Wielaard <mark@klomp.org> 215 216 * Makefile.am (gen_SOURCES): Add ebl_data_marker_symbol.c. 217 * ebl-hooks.h (data_marker_symbol): New hook. 218 * ebl_data_marker_symbol.c: New file. 219 * eblopenbackend.c (default_data_marker_symbol): New function. 220 (fill_defaults): Add default_data_marker_symbol. 221 * libebl.h (ebl_data_marker_symbol): New function. 222 2232017-04-20 Ulf Hermann <ulf.hermann@qt.io> 224 225 * libebl.h: Use __pure_attribute__. 226 2272017-02-15 Ulf Hermann <ulf.hermann@qt.io> 228 229 * eblmachineflagname.c: Include system.h. 230 * eblopenbackend.c: Likewise. 231 2322016-07-08 Mark Wielaard <mjw@redhat.com> 233 234 * Makefile.am (gen_SOURCES): Remove eblstrtab.c. 235 * eblstrtab.c: Removed. 236 * libebl.h (Ebl_Strtab): Removed. 237 (Ebl_Strent): Removed. 238 (ebl_strtabinit): Removed. 239 (ebl_strtabfree): Removed. 240 (ebl_strtabadd): Removed. 241 (ebl_strtabfinalize): Removed. 242 (ebl_strtaboffset): Removed. 243 (ebl_string): Removed. 244 2452016-07-06 Mark Wielaard <mjw@redhat.com> 246 247 * Makefile.am (gen_SOURCES): Remove eblobjecttypename.c, 248 eblshflagscombine.c, eblwstrtab.c and eblgstrtab.c. 249 * ebl-hooks.h (object_type_name): Removed. 250 (sh_flags_combine): Likewise. 251 * eblgstrtab.c: Removed. 252 * eblobjecttypename.c: Removed. 253 * eblopenbackend.c (default_object_type_name): Removed. 254 (default_sh_flags_combine): Likewise. 255 (fill_defaults): Removed object_type_name and sh_flags_combine. 256 * eblshflagscombine.c: Removed. 257 * eblwstrtab.c: Removed. 258 * libebl.h (ebl_object_type_name): Removed. 259 (ebl_sh_flags_combine): Likewise. 260 (ebl_wstrtab*): Removed. 261 (ebl_gstrtab*): Likewise. 262 2632016-06-28 Richard Henderson <rth@redhat.com> 264 265 * ebl-hooks.h (EBLHOOK(disasm)): Add ebl parameter. 266 * eblopenbackend.c (machines): Add EM_BPF entry. 267 2682016-05-20 Andreas Schwab <schwab@linux-m68k.org> 269 270 * eblopenbackend.c (machines) [EM_68K]: Set class and data. 271 2722016-02-12 Mark Wielaard <mjw@redhat.com> 273 274 * eblobjnotetypename.c (ebl_object_note_type_name): Check name is 275 "Go" and use new goknowntypes then. Otherwise check name is not 276 "GNU" and return "unknown". 277 2782016-01-09 Mark Wielaard <mjw@redhat.com> 279 280 * eblobjnote.c (ebl_object_note): Add brackets around if statement 281 body. 282 2832015-12-18 Mark Wielaard <mjw@redhat.com> 284 285 * eblopenbackend.c (default_debugscn_p): Also match .zdebug sections. 286 2872015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com> 288 289 * libebl.h: Prototype for ebl_ra_offset. 290 * eblabicfi.c (ebl_ra_offset): New function. 291 * libeblP.h (struct ebl): new field ra_offset; 292 2932015-09-24 Jose E. Marchesi <jose.marchesi@oracle.com> 294 295 * Makefile.am (AM_CFLAGS): Use -fPIC instead of -fpic to avoid 296 relocation overflows in some platforms. 297 2982015-09-22 Mark Wielaard <mjw@redhat.com> 299 300 * *.c: Remove old-style function definitions. 301 3022015-09-09 Chih-Hung Hsieh <chh@google.com> 303 304 * ebldwarftoregno.c (ebl_dwarf_to_regno): Remove redundant NULL tests 305 on parameters declared with __nonnull_attribute__. 306 * eblinitreg.c (ebl_frame_nregs): Likewise. 307 * eblnormalizepc.c (ebl_normalize_pc): Likewise. 308 * eblunwind.c (ebl_unwind): Likewise. 309 3102015-09-04 Chih-Hung Hsieh <chh@google.com> 311 312 * eblopenbackend.c (ebl_openbackend_machine): Replace K&R function 313 definition with ansi-C definitions. 314 * eblstother.c (ebl_check_st_other_bits): Likewise. 315 3162015-06-12 Mark Wielaard <mjw@redhat.com> 317 318 * eblcheckreloctargettype.c (ebl_check_reloc_target_type): Allow 319 SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY. 320 3212015-05-17 Mark Wielaard <mjw@redhat.com> 322 323 * eblobjnote.c (ebl_object_note): If allocation buf is large, then 324 allocate it with malloc. 325 3262015-05-17 Mark Wielaard <mjw@redhat.com> 327 328 * eblopenbackend.c (MAX_PREFIX_LEN): New define (16). 329 (openbackend): Stack allocate symname array using MAX_PREFIX_LEN. 330 3312015-01-27 Mark Wielaard <mjw@redhat.com> 332 333 * libebl.h: Add comment from README that this is completely 334 UNSUPPORTED. 335 3362014-11-22 Mark Wielaard <mjw@redhat.com> 337 338 * ebl-hooks.h (bss_plt_p): Remove ehdr argument. 339 * eblbsspltp.c (ebl_bss_plt_p): Likewise. 340 * eblopenbackend.c (default_bss_plt_p): Likewise. 341 * libebl.h (ebl_bss_plt_p): Likewise. 342 3432014-11-17 Mark Wielaard <mjw@redhat.com> 344 345 * ebldebugscnp.c (ebl_debugscn_p): Check name is not NULL. 346 3472014-06-17 Mark Wielaard <mjw@redhat.com> 348 349 * eblinitreg.c (ebl_func_addr_mask): New function. 350 * libebl.h (ebl_func_addr_mask): Define. 351 * libeblP.h (struct ebl): Add func_addr_mask. 352 3532014-05-19 Mark Wielaard <mjw@redhat.com> 354 355 * Makefile.am (gen_SOURCES): Add eblcheckreloctargettype.c. 356 * eblcheckreloctargettype.c: New file. 357 * ebl-hooks.h (check_reloc_target_type): New hook. 358 * eblopenbackend.c (default_check_reloc_target_type): New function. 359 (fill_defaults): Assign default_check_reloc_target_type to 360 check_reloc_target_type. 361 * libebl.h (ebl_check_reloc_target_type): New function definition. 362 3632013-12-18 Mark Wielaard <mjw@redhat.com> 364 365 * Makefile.am (gen_SOURCES): Add eblresolvesym.c. 366 * ebl-hooks.h (resolve_sym_value): New entry. 367 * eblresolvesym.c: New file. 368 * libebl.h (ebl_resolve_sym_value): New definition. 369 * libeblP.h (fd_addr): New field. 370 (fd_data): Likewise. 371 3722013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com> 373 374 unwinder: s390 and s390x 375 * Makefile.am (gen_SOURCES): Add eblnormalizepc.c and eblunwind.c. 376 * ebl-hooks.h (normalize_pc, unwind): New. 377 * eblnormalizepc.c: New file. 378 * eblunwind.c: New file. 379 * libebl.h (Ebl_Register_Location): Add field pc_register. 380 (ebl_normalize_pc): New declaration. 381 (ebl_tid_registers_get_t, ebl_pid_memory_read_t): New definitions. 382 (ebl_unwind): New declaration. 383 3842013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com> 385 386 unwinder: ppc and ppc64 387 * Makefile.am (gen_SOURCES): Add ebldwarftoregno.c. 388 * ebl-hooks.h (dwarf_to_regno): New. 389 * ebldwarftoregno.c: New file. 390 * libebl.h (Ebl_Core_Item): New field pc_register. 391 (ebl_tid_registers_t): Add FIRSTREG -1 to the comment. 392 (ebl_dwarf_to_regno): New. 393 3942013-11-25 Petr Machata <pmachata@redhat.com> 395 396 * eblopenbackend.c (machines): Add entry for AArch64. 397 3982013-11-14 Jan Kratochvil <jan.kratochvil@redhat.com> 399 400 Code cleanup: Remove const in prototype 401 * libebl.h (ebl_tid_registers_t): Remove const from firstreg. 402 4032013-11-07 Jan Kratochvil <jan.kratochvil@redhat.com> 404 Mark Wielaard <mjw@redhat.com> 405 406 * Makefile.am (gen_SOURCES): Add eblinitreg.c. 407 * ebl-hooks.h (set_initial_registers_tid): New entry. 408 * eblinitreg.c: New file. 409 * libebl.h (ebl_tid_registers_t): New definition. 410 (ebl_set_initial_registers_tid, ebl_frame_nregs): New declarations. 411 * libeblP.h (struct ebl): New entry frame_nregs. 412 4132013-10-06 Mark Wielaard <mjw@redhat.com> 414 415 * libebl.h (ebl_abi_cfi): Document restrictions using register 416 rules. 417 4182013-09-26 Petr Machata <pmachata@redhat.com> 419 420 * eblcorenotetypename.c: Handle NT_ARM_TLS, NT_ARM_HW_BREAK, 421 NT_ARM_HW_WATCH, NT_SIGINFO, NT_FILE. 422 4232013-09-25 Mark Wielaard <mjw@redhat.com> 424 425 * eblsectionstripp.c (ebl_section_strip_p): Check shdr_l is not NULL. 426 4272013-04-24 Mark Wielaard <mjw@redhat.com> 428 429 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES. 430 4312012-10-12 Jan Kratochvil <jan.kratochvil@redhat.com> 432 433 * ebl-hooks.h (abi_cfi): Extend its comment for return value. 434 * eblopenbackend.c (default_abi_cfi): Return -1. 435 * libebl.h (ebl_abi_cfi): Extend its comment for return value. 436 4372012-08-30 Petr Machata <pmachata@redhat.com> 438 439 * eblcorenotetypename.c: Handle PPC_VSX, X86_XSTATE, 440 S390_HIGH_GPRS, S390_TIMER, S390_TODCMP, S390_TODPREG, S390_CTRS, 441 S390_PREFIX, S390_LAST_BREAK, S390_SYSTEM_CALL, and ARM_VFP. 442 4432012-08-22 Jeff Kenton <jkenton@tilera.com> 444 445 * eblopenbackend.c (machines): Add tilegx. 446 4472011-06-26 Mark Wielaard <mjw@redhat.com> 448 449 * eblopenbackend.c (default_debugscn_p): Add .debug_macro. 450 4512011-04-26 Mark Wielaard <mjw@redhat.com> 452 453 * libebl.h (ebl_object_note_type_name): Add const char *name arg. 454 * eblhooks.h (object_note_type_name): Likewise. 455 * eblopenbackend.c (default_object_note_type_name): Likewise. 456 * eblobjnotetypename.c (ebl_object_note_type_name): Likewise. 457 And print version if name is "stapsdt". 458 * eblobjnote.c (ebl_object_note): Add output for "stapsdt" notes. 459 4602011-03-21 Marek Polacek <mpolacek@redhat.com> 461 462 * ebldynamictagname.c: Fix typo in TLSDESC_GOT. 463 4642011-03-10 Mark Wielaard <mjw@redhat.com> 465 466 * Makefile.am (gen_SOURCES): Add eblstother.c. 467 * eblstother.c: New file. 468 * ebl-hooks.h: Add check_st_other_bits hook. 469 * eblopenbackend.c (default_check_st_other_bits): New function. 470 (fill_defaults): Hook default_check_st_other_bits. 471 * libebl.h (ebl_check_st_other_bits): New prototype. 472 4732010-07-07 Roland McGrath <roland@redhat.com> 474 475 * eblopenbackend.c (default_debugscn_p): Match .gdb_index section. 476 4772010-02-15 Roland McGrath <roland@redhat.com> 478 479 * Makefile.am: Use config/eu.am for common stuff. 480 4812010-01-04 Roland McGrath <roland@redhat.com> 482 483 * eblcorenote.c (ebl_core_note): Take GElf_Nhdr * and name data 484 pointer instead of only n_type and n_descsz. 485 * libebl.h: Update declaration. 486 * ebl-hooks.h: Update core_note hook signature. 487 * eblopenbackend.c (default_core_note): Likewise. 488 4892009-10-14 Roland McGrath <roland@redhat.com> 490 491 * eblobjnote.c (ebl_object_note): Clean up NT_GNU_GOLD_VERSION printing. 492 4932009-10-05 Roland McGrath <roland@redhat.com> 494 495 * eblopenbackend.c (default_debugscn_p): Match .debug_pubtypes and 496 .debug_types too. 497 4982009-09-02 Petr Machata <pmachata@redhat.com> 499 500 * libebl/eblstrtab.c (morememory): Allocate memory in multiples of 501 pagesize. 502 5032009-08-06 Petr Machata <pmachata@redhat.com> 504 505 * libebl/eblstrtab.c (ebl_strtabfinalize): Only call copystrings 506 if we have any strings to copy. 507 5082009-07-26 Mark Wielaard <mjw@redhat.com> 509 510 * eblobjnote.c (ebl_object_note): Handle NT_GNU_GOLD_VERSION. 511 512 * eblobjnotetypename.c (ebl_object_note_type_name): Recognize 513 NT_GNU_GOLD_VERSION. 514 5152009-07-08 Roland McGrath <roland@redhat.com> 516 517 * ebl-hooks.h: Add abi_cfi hook. 518 * eblopenbackend.c (default_abi_cfi): New function. 519 (fill_defaults): Add initializer. 520 * eblabicfi.c: New file. 521 * Makefile.am (gen_SOURCES): Add it. 522 * libebl.h: Declare ebl_abi_cfi. 523 5242009-07-08 Ulrich Drepper <drepper@redhat.com> 525 526 * eblsymbolbindingname.c (ebl_symbol_binding_name): Handle 527 STB_GNU_UNIQUE. 528 529 * eblsymboltypename.c (ebl_symbol_type_name): Only handle STT_GNU_IFUNC 530 if the binary is marked as being for Linux. 531 5322009-04-01 Roland McGrath <roland@redhat.com> 533 534 * eblsymboltypename.c (ebl_symbol_type_name): Add STT_GNU_IFUNC. 535 536 * eblauxvinfo.c (AUXV_TYPES): Add RANDOM and BASE_PLATFORM. 537 5382009-02-01 Ulrich Drepper <drepper@redhat.com> 539 540 * eblreloctypename.c (ebl_reloc_type_name): Return "<INVALID RELOC>" 541 instead of "???" for invalid relocations. 542 5432008-08-01 Roland McGrath <roland@redhat.com> 544 545 * eblcorenotetypename.c: Handle NT_386_IOPERM. 546 5472008-07-28 Roland McGrath <roland@redhat.com> 548 549 * eblauxvinfo.c (AUXV_TYPES): Add EXECFN. 550 551 * eblauxvinfo.c (ebl_auxv_info): Handle missing elements of standard 552 table. 553 5542008-07-04 Roland McGrath <roland@redhat.com> 555 556 * libebl.h: Declare ebl_syscall_abi. 557 * ebl_syscall_abi.c: New file. 558 * Makefile.am (gen_SOURCES): Add it. 559 * ebl-hooks.h: New hook syscall_abi. 560 * eblopenbackend.c (default_syscall_abi): New function. 561 (fill_defaults): Use it. 562 5632008-03-31 Roland McGrath <roland@redhat.com> 564 565 * ebldynamictagname.c (ebl_dynamic_tag_name): Use hex for unknown tag. 566 567 * ebl-hooks.h: Add check_special_section hook. 568 * eblopenbackend.c (fill_defaults): Set new hook to ... 569 (default_check_special_section): ... this, new function. 570 * ebl_check_special_section.c: New file. 571 * Makefile.am (gen_SOURCES): Add it. 572 * libebl.h: Declare it. 573 5742008-02-20 Roland McGrath <roland@redhat.com> 575 576 * libebl.h: Declare ebl_check_object_attribute. 577 * eblcheckobjattr.c: New file. 578 * Makefile.am (gen_SOURCES): Add it. 579 * ebl-hooks.h: Add check_object_attribute hook. 580 * eblopenbackend.c (default_check_object_attribute): New function. 581 (fill_defaults): Initialize pointer to it. 582 5832008-02-19 Roland McGrath <roland@redhat.com> 584 585 * eblsectiontypename.c (ebl_section_type_name): 586 Handle SHT_GNU_ATTRIBUTES. 587 5882008-02-08 Roland McGrath <roland@redhat.com> 589 590 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_SPE. 591 5922008-01-30 Roland McGrath <roland@redhat.com> 593 594 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_386_TLS. 595 5962007-10-18 Roland McGrath <roland@redhat.com> 597 598 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_VMX. 599 6002007-10-11 Roland McGrath <roland@redhat.com> 601 602 * eblobjnote.c (ebl_object_note): Translate target format (byte-swap) 603 for NT_GNU_ABI_TAG contents. 604 6052007-08-22 Roland McGrath <roland@redhat.com> 606 607 * libebl.h (Ebl_Core_Item): New member `group'. 608 6092007-08-19 Roland McGrath <roland@redhat.com> 610 611 * ebl-hooks.h: Add new hook auxv_info. 612 * eblopenbackend.c (default_auxv_info): New function. 613 (fill_defaults): Initialize auxv_info hook. 614 * eblauxvinfo.c : New file. 615 * Makefile.am (gen_SOURCES): Add it. 616 * libebl.h: Declare ebl_auxv_info. 617 618 * eblcorenote.c: Rewritten with new signature. 619 * Makefile.am (gen_SOURCES): Add it. 620 * libebl.h (Ebl_Register_Location, Ebl_Core_Item): New types. 621 (ebl_core_note_info): Completely revamp signature. 622 * ebl-hooks.h: Update decl. 623 * eblopenbackend.c (default_core_note): Update signature. 624 6252007-07-09 Roland McGrath <roland@redhat.com> 626 627 * eblobjnotetypename.c (ebl_object_note_type_name): Handle 628 NT_GNU_HWCAP, NT_GNU_BUILD_ID. 629 630 * eblobjnote.c (ebl_object_note): Handle NT_GNU_BUILD_ID. 631 6322007-04-22 Roland McGrath <roland@redhat.com> 633 634 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PRXFPREG. 635 6362007-03-10 Roland McGrath <roland@redhat.com> 637 638 * eblcorenote.c (ebl_core_note): For normally-zero types, 639 print in hex if not zero. 640 6412007-01-11 Roland McGrath <roland@redhat.com> 642 643 * ebl-hooks.h (machine_section_flag_check): New hook. 644 * libebl.h: Declare ebl_machine_section_flag_check. 645 * eblmachinesectionflagcheck.c: New file. 646 * Makefile.am (gen_SOURCES): Add it. 647 * eblopenbackend.c (default_machine_section_flag_check): New function. 648 (fill_defaults): Use it. 649 6502006-09-04 Roland McGrath <roland@redhat.com> 651 652 * ebl-hooks.h: Replace register_name hook with register_info. 653 Also yield natural bit width and base type encoding. 654 * eblopenbackend.c (default_register_name): Renamed 655 default_register_info, new args added. 656 (fill_defaults): Update initialization. 657 * eblregname.c: File renamed ... 658 * eblreginfo.c: ... to this. 659 (ebl_register_name): Renamed to ebl_register_info, new args added. 660 * libebl.h: Update decl. 661 662 * Makefile.am (gen_SOURCES): Update list. 663 6642006-07-06 Ulrich Drepper <drepper@redhat.com> 665 666 * ebldynamictagname.c: Add support for DT_GNU_HASH. 667 * ebldynamictagcheck.c: Likewise. 668 * eblsectiontypename.c: Add support for SHT_GNU_HASH. 669 6702006-07-05 Ulrich Drepper <drepper@redhat.com> 671 672 * Makefile.am (gen_SOURCES): Add eblsysvhashentrysize.c. 673 * libeblP.h (struct ebl): Add sysvhash_entrysize element. 674 * eblopenbackend.c (fill_defaults): Initialize sysvhash_entrysize. 675 676 * eblopenbackend.c (openbackend): If possible, fill machine, class, 677 and data values in from the ELF file. 678 6792006-07-04 Ulrich Drepper <drepper@redhat.com> 680 681 * Makefile.am (gen_SOURCES): Add eblrelativerelocp.c. 682 * eblrelativerelocp.c: New file. 683 * ebl-hooks.c: Add relative_reloc_p. 684 * eblopenbackend.c (default_relative_reloc_p): New function. 685 (fill_defaults): Hook it up. 686 * libebl.h: Declare ebl_relative_reloc_p. 687 6882006-06-12 Ulrich Drepper <drepper@redhat.com> 689 690 * Makefile.am (gen_SOURCES): Add eblnonerelocp.c. 691 * eblnonerelocp.c: New file. 692 * ebl-hooks.c: Add none_reloc_p. 693 * eblopenbackend.c (default_none_reloc_p): New function. 694 (fill_defaults): Hook it up. 695 * libebl.h: Declare ebl_none_reloc_p. 696 6972006-05-27 Ulrich Drepper <drepper@redhat.com> 698 699 * libebl.h: Add extern "C". 700 7012005-11-25 Roland McGrath <roland@redhat.com> 702 703 * eblregname.c: New file. 704 * Makefile.am (gen_SOURCES): Add it. 705 * ebl-hooks.h: Declare register_name hook. 706 * libebl.h: Declare ebl_register_name. 707 * eblopenbackend.c (default_register_name): New function. 708 (fill_defaults): Use it. 709 7102005-11-16 Roland McGrath <roland@redhat.com> 711 712 * libebl.h: Use "" for elf-knowledge.h, not <>. 713 7142005-11-15 Roland McGrath <roland@redhat.com> 715 716 * Makefile.am: Removed everything for building libebl_*.so modules, 717 now in ../backends/Makefile.am instead. 718 * alpha_init.c: Moved to ../backends. 719 * alpha_reloc.def: Likewise. 720 * alpha_retval.c: Likewise. 721 * alpha_symbol.c: Likewise. 722 * arm_init.c: Likewise. 723 * arm_reloc.def: Likewise. 724 * arm_symbol.c: Likewise. 725 * common-reloc.c: Likewise. 726 * i386_corenote.c: Likewise. 727 * i386_init.c: Likewise. 728 * i386_reloc.def: Likewise. 729 * i386_retval.c: Likewise. 730 * i386_symbol.c: Likewise. 731 * ia64_init.c: Likewise. 732 * ia64_reloc.def: Likewise. 733 * ia64_symbol.c: Likewise. 734 * libebl_CPU.h: Likewise. 735 * ppc64_init.c: Likewise. 736 * ppc64_reloc.def: Likewise. 737 * ppc64_retval.c: Likewise. 738 * ppc64_symbol.c: Likewise. 739 * ppc_init.c: Likewise. 740 * ppc_reloc.def: Likewise. 741 * ppc_retval.c: Likewise. 742 * ppc_symbol.c: Likewise. 743 * s390_init.c: Likewise. 744 * s390_reloc.def: Likewise. 745 * s390_symbol.c: Likewise. 746 * sh_init.c: Likewise. 747 * sh_reloc.def: Likewise. 748 * sh_symbol.c: Likewise. 749 * sparc_init.c: Likewise. 750 * sparc_reloc.def: Likewise. 751 * sparc_symbol.c: Likewise. 752 * x86_64_corenote.c: Likewise. 753 * x86_64_init.c: Likewise. 754 * x86_64_reloc.def: Likewise. 755 * x86_64_retval.c: Likewise. 756 * x86_64_symbol.c: Likewise. 757 758 * libebl.h: Comment fixes. 759 760 * alpha_retval.c: New file. 761 * Makefile.am (alpha_SRCS): Add it. 762 * alpha_init.c (alpha_init): Initialize return_value_location hook. 763 764 * ppc64_retval.c: New file. 765 * Makefile.am (ppc64_SRCS): Add it. 766 * ppc64_init.c (ppc64_init): Initialize return_value_location hook. 767 768 * ppc_retval.c: New file. 769 * Makefile.am (ppc_SRCS): Add it. 770 * ppc_init.c (ppc_init): Initialize return_value_location hook. 771 7722005-11-14 Roland McGrath <roland@redhat.com> 773 774 * ia64_init.c (ia64_init): Initialize EH->reloc_simple_type. 775 * sh_init.c (sh_init): Likewise. 776 * x86_64_init.c (x86_64_init): Likewise. 777 778 * sparc_symbol.c (sparc_reloc_simple_type): New function. 779 * sparc_init.c (sparc_init): Use it. 780 781 * arm_symbol.c (arm_reloc_simple_type): New function. 782 * arm_init.c (arm_init): Use it. 783 784 * alpha_symbol.c (alpha_reloc_simple_type): New function. 785 * alpha_init.c (alpha_init): Use it. 786 787 * ia64_reloc.def: Update bits per H. J. Lu <hjl@lucon.org>. 788 789 * arm_reloc.def: Update bits per Daniel Jacobowitz <drow@false.org>. 790 791 * alpha_reloc.def: Update bits per Richard Henderson <rth@redhat.com>. 792 7932005-11-13 Roland McGrath <roland@redhat.com> 794 795 * x86_64_retval.c: New file. 796 * Makefile.am (x86_64_SRCS): Add it. 797 * x86_64_init.c (x86_64_init): Use x86_64_return_value_location. 798 799 * i386_retval.c: New file. 800 * Makefile.am (i386_SRCS): Add it. 801 (libdw): New variable. 802 (libebl_%.so): Use $(libdw) in link; use --as-needed. 803 * i386_init.c (i386_init): Use i386_return_value_location. 804 805 * eblretval.c: New file. 806 * Makefile.am (gen_SOURCES): Add it. 807 (INCLUDES): Search in libdw. 808 * libebl.h: Include <libdw.h>. Declare ebl_return_value_location. 809 * ebl-hooks.h: Declare return_value_location hook. 810 * eblopenbackend.c (default_return_value_location): New function. 811 (fill_defaults): Use it. 812 8132005-11-10 Roland McGrath <roland@redhat.com> 814 815 * s390_init.c: New file. 816 * s390_reloc.def: New file. 817 * s390_symbol.c: New file. 818 * Makefile.am (modules, libebl_pic): Add s390. 819 (s390_SRCS, libebl_s390_pic_a_SOURCES): New variables. 820 (am_libebl_s390_pic_a_OBJECTS): New variable. 821 822 * ppc64_init.c: Use common-reloc.c. 823 * ppc64_symbol.c (ppc64_backend_name): Removed. 824 (ppc64_reloc_type_check, ppc64_reloc_type_name): Likewise. 825 (ppc64_copy_reloc_p, ppc64_reloc_valid_use): Likewise. 826 827 * ppc_init.c: Use common-reloc.c. 828 * ppc_symbol.c (ppc_backend_name): Removed. 829 (ppc_reloc_type_name, ppc_reloc_type_check): Likewise. 830 (ppc_reloc_valid_use, ppc_copy_reloc_p): Likewise. 831 832 * sparc_init.c: Use common-reloc.c. 833 * sparc_symbol.c (sparc_backend_name): Removed. 834 (sparc_reloc_type_name, sparc_reloc_type_check): Likewise. 835 (sparc_copy_reloc_p): Likewise. 836 837 * arm_init.c: Use common-reloc.c. 838 * arm_symbol.c (arm_backend_name): Removed. 839 (arm_reloc_type_name, arm_reloc_type_check, arm_copy_reloc_p): Removed. 840 841 * alpha_init.c: Use common-reloc.c. 842 * alpha_symbol.c (alpha_backend_name): Removed. 843 (alpha_reloc_type_name, alpha_reloc_type_check): Likewise. 844 (alpha_copy_reloc_p): Likewise. 845 846 * ia64_symbol.c (ia64_backend_name): Removed. 847 (ia64_reloc_type_name, ia64_reloc_type_check): Likewise. 848 (ia64_copy_reloc_p): Likewise. 849 850 * x86_64_init.c: Use common-reloc.c. 851 * x86_64_symbol.c (x86_64_backend_name): Removed. 852 (x86_64_copy_reloc_p, x86_64_reloc_valid_use): Likewise. 853 (x86_64_reloc_type_check, x86_64_reloc_type_name): Likewise. 854 855 * sh_init.c: Use common-reloc.c. 856 * sh_symbol.c: All functions removed. 857 (sh_reloc_simple_type): New function. 858 (sh_gotpc_reloc_check): New function. 859 860 * common-reloc.c: New file. 861 * Makefile.am (noinst_HEADERS): Add it. 862 * i386_init.c: Include it. 863 864 * sh_reloc.def: New file. 865 * i386_reloc.def: New file. 866 * alpha_reloc.def: New file. 867 * arm_reloc.def: New file. 868 * i386_reloc.def: New file. 869 * ia64_reloc.def: New file. 870 * ppc64_reloc.def: New file. 871 * ppc_reloc.def: New file. 872 * sh_reloc.def: New file. 873 * sparc_reloc.def: New file. 874 * x86_64_reloc.def: New file. 875 * Makefile.am (EXTRA_DIST): Add $(modules:=_reloc.def). 876 877 * libebl_alpha.map: Removed. 878 * libebl_ia64.map: Removed. 879 * libebl_ppc.map: Removed. 880 * libebl_sparc.map: Removed. 881 * libebl_arm.map: Removed. 882 * libebl_i386.map: Removed. 883 * libebl_ppc64.map: Removed. 884 * libebl_sh.map: Removed. 885 * libebl_x86_64.map: Removed. 886 * Makefile.am (EXTRA_DIST): Remove them. 887 (libebl_%.map, libebl_%.so): New pattern rules. 888 889 * libebl_alpha.h: Removed. 890 * libebl_ia64.h: Removed. 891 * libebl_ppc.h: Removed. 892 * libebl_sparc.h: Removed. 893 * libebl_arm.h: Removed. 894 * libebl_i386.h: Removed. 895 * libebl_ppc64.h: Removed. 896 * libebl_sh.h: Removed. 897 * libebl_x86_64.h: Removed. 898 * Makefile.am (noinst_HEADERS): Remove them. 899 900 * x86_64_corenote.c: Use libebl_CPU.h instead. 901 * x86_64_symbol.c: Likewise. 902 * i386_corenote.c: Likewise. 903 9042005-11-09 Roland McGrath <roland@redhat.com> 905 906 * ia64_symbol.c (ia64_reloc_simple_type): New function. 907 908 * ebl-hooks.h (reloc_simple_type): Take the Ebl handle, not Elf handle. 909 * eblrelocsimpletype.c (ebl_reloc_simple_type): Update caller. 910 * eblopenbackend.c (default_reloc_simple_type): Update signature. 911 * i386_symbol.c (i386_reloc_simple_type): Likewise. 912 * ppc64_symbol.c (ppc64_reloc_simple_type): Likewise. 913 * ppc_symbol.c (ppc_reloc_simple_type): Likewise. 914 * x86_64_symbol.c (x86_64_reloc_simple_type): Likewise. 915 916 * i386_symbol.c (i386_backend_name): Removed. 917 (i386_reloc_type_name, i386_reloc_type_check): Likewise. 918 (i386_reloc_valid_use): Removed. 919 (i386_copy_reloc_p): Removed. 920 921 * alpha_destr.c: Removed. 922 * arm_destr.c: Removed. 923 * i386_destr.c: Removed. 924 * ia64_destr.c: Removed. 925 * ppc64_destr.c: Removed. 926 * ppc_destr.c: Removed. 927 * sh_destr.c: Removed. 928 * sparc_destr.c: Removed. 929 * x86_64_destr.c: Removed. 930 931 * ebl-hooks.h: New file, broken out of ... 932 * libeblP.h (struct ebl): ... here. #include that for hook 933 declarations, after defining EBLHOOK macro. 934 * libebl_CPU.h: New file. 935 * Makefile.am (noinst_HEADERS): Add them. 936 937 * libeblP.h (struct ebl): Use uint_fast16_t for machine, 938 and uint_fast8_t for class and data. 939 9402005-08-14 Roland McGrath <roland@redhat.com> 941 942 * ia64_symbol.c (ia64_section_type_name): New function. 943 (ia64_dynamic_tag_check): New function. 944 (ia64_reloc_valid_use): New function. 945 * libebl_ia64.h: Declare them. 946 * ia64_init.c (ia64_init): Use them. 947 * Makefile.am (libebl_ia64.so): Link with libelf. 948 9492005-08-28 Ulrich Drepper <drepper@redhat.com> 950 951 * Makefile.am: Use $(LINK) not $(CC) when creating DSOs. 952 9532005-08-13 Roland McGrath <roland@redhat.com> 954 955 * ia64_symbol.c (ia64_machine_flag_check): New function. 956 * libebl_ia64.h: Declare it. 957 * ia64_init.c (ia64_init): Use it. 958 9592005-08-13 Ulrich Drepper <drepper@redhat.com> 960 961 * libebl.h: Add ehdr parameter to ebl_bss_plt_p and 962 ebl_check_special_symbol. 963 * libeblP.h (struct ebl): Adjust callback functions. 964 * eblopenbackend.c: Adjust dummy functions. 965 * ebl_check_special_symbol.c: Add parameter and pass it on. 966 * eblbsspltp.c: Likewise. 967 * ppc_symbol.c (find_dyn_got): With ehdr passed, simplify search for 968 the dynamic section entry. 969 (ppc_check_special_symbol): Add ehdr parameter. 970 (ppc_bss_plt_p): Likewise. 971 * libebl_ppc.h: Adjust prototypes. 972 * ppc64_symbol.c (ppc_check_special_symbol): Add ehdr parameter. 973 (ppc_bss_plt_p): Likewise. 974 * libebl_ppc64.h: Adjust prototypes. 975 9762005-08-12 Roland McGrath <roland@redhat.com> 977 978 * ppc_symbol.c (find_dyn_got): New function, broken out of ... 979 (ppc_bss_plt_p): ... here. Call that. 980 (ppc_check_special_symbol): Use find_dyn_got to fetch value to check 981 against _GLOBAL_OFFSET_TABLE_. 982 983 * libeblP.h (struct ebl): Add bss_plt_p hook. 984 * eblopenbackend.c (default_bss_plt_p): New function. 985 (fill_defaults): Use it. 986 * eblbsspltp.c: New file. 987 * Makefile.am (gen_SOURCES): Add it. 988 * libebl.h: Declare ebl_bss_plt_p. 989 * ppc_symbol.c (ppc_bss_plt_p): New function. 990 * libebl_ppc.h: Declare it. 991 * ppc_init.c (ppc_init): Use it. 992 * ppc64_symbol.c (ppc64_bss_plt_p): New function. 993 * libebl_ppc64.h: Declare it. 994 * ppc64_init.c (ppc64_init): Use it. 995 996 * ebl_check_special_symbol.c: New file. 997 * Makefile.am (gen_SOURCES): Add it. 998 * libebl.h: Declare ebl_check_special_symbol. 999 * libeblP.h (struct ebl): Add check_special_symbol hook. 1000 * eblopenbackend.c (default_check_special_symbol): New function. 1001 (fill_defaults): Use it. 1002 * ppc_symbol.c (ppc_check_special_symbol): New function. 1003 * libebl_ppc.h: Add prototype. 1004 * ppc_init.c (ppc_init): Use it. 1005 * ppc64_symbol.c (ppc64_check_special_symbol): New function. 1006 * libebl_ppc64.h: Add prototype. 1007 * ppc64_init.c (ppc64_init): Use it. 1008 10092005-08-07 Ulrich Drepper <drepper@redhat.com> 1010 1011 * ppc_init.c: Add support for new DT_PPC_* and R_PPC_* values. 1012 * ppc_symbol.c: Likewise. 1013 * libebl_ppc.h: Likewise. 1014 * ppc64_init.c: There is now also a dynamic_tag_check functions 1015 * ppc64_symbol.c: Add dynamic_tag_check. 1016 * libebl_ppc64.h: Add prototype. 1017 * alpha_init.c: Add support for new DT_ALPHA_* value. 1018 * alpha_symbol.c: Likewise. 1019 * libebl_alpha.h: Likewise. 1020 10212005-08-03 Ulrich Drepper <drepper@redhat.com> 1022 1023 * libebl_alpha.map: Remove unnecessary exports. 1024 * libebl_arm.map: Likewise. 1025 * libebl_i386.map: Likewise. 1026 * libebl_ia64.map: Likewise. 1027 * libebl_ppc.map: Likewise. 1028 * libebl_ppc64.map: Likewise. 1029 * libebl_sh.map: Likewise. 1030 * libebl_sparc.map: Likewise. 1031 * libebl_x86_64.map: Likewise. 1032 10332005-08-02 Ulrich Drepper <drepper@redhat.com> 1034 1035 * Makefile.am (libebl_a_SOURCES): Add eblelfclass.c, eblelfdata.c, 1036 and eblelfmachine.c. 1037 * elbopenbackend.c (machines): Add class and data fields. Initialize 1038 them. 1039 (ebl_openbackend): Initialize machine, class, data fields in result. 1040 * libebl.h: Declare Add eblelfclass, eblelfdata, and eblelfmachine. 1041 * libeblP.h (Ebl): Add machine, class, data fields. 1042 10432005-07-23 Ulrich Drepper <drepper@redhat.com> 1044 1045 * eblsectionstripp.c: New file. 1046 * Makefile.am (gen_SOURCES): Add eblsectionstripp.c. 1047 * i386_init.c (i386_init): Install specific debugscn_p callback. 1048 * i386_symbol.c (i386_debugscn_p): New function. 1049 * libebl.h: Declare ebl_section_strip_p. 1050 * libebl_i386.h: Declare i386_debugscn_p. 1051 1052 * libebl.h: Move Ebl definition to... 1053 * libeblP.h: ...here. 1054 10552005-07-21 Roland McGrath <roland@redhat.com> 1056 1057 * Makefile.am (install-ebl-modules): New target, commands from ... 1058 (install): ... here. Make this depend on it. 1059 (LIBEBL_SUBDIR): New variable, substituted by configure. 1060 (install-ebl-modules): Install in $(libdir)/$(LIBEBL_SUBDIR). 1061 * eblopenbackend.c (openbackend): Use LIBEBL_SUBDIR in module name. 1062 10632005-07-21 Ulrich Drepper <drepper@redhat.com> 1064 1065 * eblcopyrelocp.c: New file. 1066 * Makefile.am (gen_SOURCES): Add eblcopyrelocp.c. 1067 * libebl.h: Declare ebl_copy_reloc_p. 1068 * eblopenbackend.c (fill_defaults): Fill in copy_reloc_p. 1069 (default_copy_reloc_p): New function. 1070 * alpha_init.c: Define and use arch-specific copy_reloc_p function. 1071 * alpha_symbol.c: Likewise. 1072 * arm_init.c: Likewise. 1073 * arm_symbol.c: Likewise. 1074 * i386_init.c: Likewise. 1075 * i386_symbol.c: Likewise. 1076 * ia64_init.c: Likewise. 1077 * ia64_symbol.c: Likewise. 1078 * ppc64_init.c: Likewise. 1079 * ppc64_symbol.c: Likewise. 1080 * ppc_init.c: Likewise. 1081 * ppc_symbol.c: Likewise. 1082 * sh_init.c: Likewise. 1083 * sh_symbol.c: Likewise. 1084 * sparc_init.c: Likewise. 1085 * sparc_symbol.c: Likewise. 1086 * x86_64_init.c: Likewise. 1087 * x86_64_symbol.c: Likewise. 1088 * libebl_alpha.h: Declare the copy_reloc_p function. 1089 * libebl_arm.h: Likewise. 1090 * libebl_i386.h: Likewise. 1091 * libebl_ia64.h: Likewise. 1092 * libebl_ppc.h: Likewise. 1093 * libebl_ppc64.h: Likewise. 1094 * libebl_sh.h: Likewise. 1095 * libebl_sparc.h: Likewise. 1096 * libebl_x86_64.h: Likewise. 1097 10982005-05-31 Roland McGrath <roland@redhat.com> 1099 1100 * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency 1101 tracking works right. 1102 11032005-05-21 Ulrich Drepper <drepper@redhat.com> 1104 1105 * libebl_x86_64.map: Add x86_64_core_note. 1106 11072005-05-19 Roland McGrath <roland@redhat.com> 1108 1109 * libebl_i386.map: Add i386_reloc_valid_use, i386_reloc_simple_type. 1110 * libebl_ppc.map: Add ppc_reloc_simple_type. 1111 * libebl_ppc64.map: Add ppc64_reloc_simple_type. 1112 * libebl_x86_64.map: Add x86_64_reloc_simple_type. 1113 11142005-05-11 Ulrich Drepper <drepper@redhat.com> 1115 1116 * eblcorenote.c: Handle new AT_* values and files with different 1117 endianness. 1118 * Makefile.am (x86_64_SRCS): Add x86_64_corenote.c. 1119 * x86-64_corenote.c: New file. 1120 * x86_64_init.c: Hook in x86_64_corenote. 1121 * i386_corenote.c: Make file usable on 64-bit platforms. 1122 1123 * eblopenbackend.c: If modules version comparison fails, reinitialize 1124 hooks. 1125 11262005-05-10 Ulrich Drepper <drepper@redhat.com> 1127 1128 * eblopenbackend.c: Require the init function to return a string. 1129 Compare it with MODVERSION from config.h. 1130 * alpha_init.c: Change return type. Return MODVERSION or NULL. 1131 * arm_init.c: Likewise. 1132 * eblopenbackend.c: Likewise. 1133 * i386_init.c: Likewise. 1134 * ia64_init.c: Likewise. 1135 * ppc64_init.c: Likewise. 1136 * ppc_init.c: Likewise. 1137 * sh_init.c: Likewise. 1138 * sparc_init.c: Likewise. 1139 * x86_64_init.c: Likewise. 1140 * libeblP.h: Adjust ebl_bhinit_t. 1141 * libebl_alpha.h: Adjust init function prototype. 1142 * libebl_arm.h: Likewise. 1143 * libebl_i386.h: Likewise. 1144 * libebl_ia64.h: Likewise. 1145 * libebl_ppc.h: Likewise. 1146 * libebl_ppc64.h: Likewise. 1147 * libebl_sh.h: Likewise. 1148 * libebl_sparc.h: Likewise. 1149 * libebl_x86_64.h: Likewise. 1150 1151 * mips_destr.c: Removed. 1152 * mips_init.c: Removed. 1153 * mips_symbol.c: Removed. 1154 * libebl_mips.h: Removed. 1155 * libebl_mips.map: Removed. 1156 11572005-05-03 Roland McGrath <roland@redhat.com> 1158 1159 * libebl.h (Ebl): Add `reloc_simple_type' member. 1160 * eblopenbackend.c (default_reloc_simple_type): New function. 1161 (openbackend): Use that as default reloc_simple_type callback. 1162 * eblrelocsimpletype.c: New file. 1163 * Makefile.am (gen_SOURCES): Add it. 1164 * i386_symbol.c (i386_reloc_simple_type): New function. 1165 * libebl_i386.h: Declare it. 1166 * i386_init.c (i386_init): Use it. 1167 * x86_64_symbol.c (x86_64_reloc_simple_type): New function. 1168 * libebl_x86_64.h: Declare it. 1169 * x86_64_init.c (x86_64_init): Use it. 1170 * ppc_symbol.c (ppc_reloc_simple_type): New function. 1171 * libebl_ppc.h: Declare it. 1172 * ppc_init.c (ppc_init): Use it. 1173 * ppc64_symbol.c (ppc64_reloc_simple_type): New function. 1174 * libebl_ppc64.h: Declare it. 1175 * ppc64_init.c (ppc64_init): Use it. 1176 11772005-03-17 Ulrich Drepper <drepper@redhat.com> 1178 1179 * eblcorenote.c (ebl_core_note): Add support for AT_SECURE. 1180 11812005-02-15 Ulrich Drepper <drepper@redhat.com> 1182 1183 * Makefile.am (AM_CFLAGS): Add -Wformat=2. 1184 11852005-02-14 Ulrich Drepper <drepper@redhat.com> 1186 1187 * alpha_destr.c: Add __attribute__((unused)) where needed. 1188 * alpha_init.c: Likewise. 1189 * alpha_symbol.c: Likewise. 1190 * arm_destr.c: Likewise. 1191 * arm_init.c: Likewise. 1192 * arm_symbol.c: Likewise. 1193 * i386_corenote.c: Likewise. 1194 * i386_destr.c: Likewise. 1195 * i386_init.c: Likewise. 1196 * i386_symbol.c: Likewise. 1197 * ia64_destr.c: Likewise. 1198 * ia64_init.c: Likewise. 1199 * ia64_symbol.c: Likewise. 1200 * mips_destr.c: Likewise. 1201 * mips_init.c: Likewise. 1202 * mips_symbol.c: Likewise. 1203 * ppc64_destr.c: Likewise. 1204 * ppc64_init.c: Likewise. 1205 * ppc64_symbol.c: Likewise. 1206 * ppc_destr.c: Likewise. 1207 * ppc_init.c: Likewise. 1208 * ppc_symbol.c: Likewise. 1209 * sh_destr.c: Likewise. 1210 * sh_init.c: Likewise. 1211 * sh_symbol.c: Likewise. 1212 * sparc_destr.c: Likewise. 1213 * sparc_init.c: Likewise. 1214 * sparc_symbol.c: Likewise. 1215 * x86_64_destr.c: Likewise. 1216 * x86_64_init.c: Likewise. 1217 * x86_64_symbol.c: Likewise. 1218 1219 * x86_64_symbol.c (reloc_map_table): Fix entries for R_X86_64_64 1220 and R_X86_64_32.. 1221 12222005-02-06 Ulrich Drepper <drepper@redhat.com> 1223 1224 * eblstrtab.c: A few cleanups. 1225 1226 * eblopenbackend.c: Mark unused parameters. 1227 1228 * eblgstrtab.c: Cleanups a few printf format strings. 1229 1230 * Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra. 1231 12322005-02-05 Ulrich Drepper <drepper@redhat.com> 1233 1234 * Makefile.am: Check for text relocations in constructed DSOs. 1235 1236 * eblstrtab.c: Minor cleanups. 1237 1238 * Makefile.am (AM_CFLAGS): Add -std=gnu99 and -fmudflap for MUDFLAP. 1239 12402004-08-16 Ulrich Drepper <drepper@redhat.com> 1241 1242 * Makefile.am (AM_CFLAGS): Add LIBSTR definition with base name of 1243 the lib directory. 1244 * eblopenbackend.c (openbackend): Use LIBSTR instead of hardcoded 1245 lib in path to ebl modules. 1246 12472004-04-01 Ulrich Drepper <drepper@redhat.com> 1248 1249 * Makefile.am: Add rules for ppc and ppc64 ebl module. 1250 * ppc_init..c: New file. 1251 * ppc_destr.c: New file. 1252 * ppc_symbol.c: New file. 1253 * libebl_ppc.h: New file. 1254 * libebl_ppc.map: New file. 1255 * ppc64_init..c: New file. 1256 * ppc64_destr.c: New file. 1257 * ppc64_symbol.c: New file. 1258 * libebl_ppc64.h: New file. 1259 * libebl_ppc64.map: New file. 1260 12612004-01-20 Ulrich Drepper <drepper@redhat.com> 1262 1263 * Makefile.am: Support building with mudflap. 1264 12652004-01-18 Ulrich Drepper <drepper@redhat.com> 1266 1267 * libeblP.h (_): Use elfutils domain. 1268 12692004-01-16 Ulrich Drepper <drepper@redhat.com> 1270 1271 * eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER. 1272 12732004-01-13 Ulrich Drepper <drepper@redhat.com> 1274 1275 * eblsegmenttypename.c ((ebl_segment_type_name): Add support for 1276 PT_GNU_RELRO. 1277 12782004-01-08 Ulrich Drepper <drepper@redhat.com> 1279 1280 * libebl.h: Remove last traces of libtool. 1281 12822004-01-05 Ulrich Drepper <drepper@redhat.com> 1283 1284 * elf-knowledge.h: Move to libelf subdir. 1285 1286 * Makefile.am (EXTRA_DIST): Remove libebl.map. 1287 * libebl.map: Removed. 1288 12892003-12-08 Ulrich Drepper <drepper@redhat.com> 1290 1291 * eblsectiontypename.c (ebl_section_type_name): Add support for 1292 SHT_SUNW_move, SHT_CHECKSUM, and SHT_GNU_LIBLIST. 1293 12942003-11-19 Ulrich Drepper <drepper@redhat.com> 1295 1296 * ia64_symbol.c (ia64_dynamic_tag_name): New function. 1297 * libebl_ia64.h (ia64_dynamic_tag_name): Declare. 1298 * ia64_init.c (ia64_init): Register i164_dynamic_tag_name. 1299 13002003-09-24 Ulrich Drepper <drepper@redhat.com> 1301 1302 * ia64_init.c (ia64_init): Initialize segment_type_name callback. 1303 * ia64_symbol.c (ia64_segment_type_name): Define. 1304 * libebl_ia64.h (ia64_segment_type_name): Declare. 1305 13062003-09-22 Ulrich Drepper <drepper@redhat.com> 1307 1308 * Makefile.am (AM_CFLAGS): Add -fpic. 1309 13102003-08-14 Ulrich Drepper <drepper@redhat.com> 1311 1312 * Makefile.am (install): Remove dependency on libebl.so. 1313 13142003-08-13 Ulrich Drepper <drepper@redhat.com> 1315 1316 * eblopenbackend.c: Adjust relative path to arch-specific DSOs 1317 assuming the code ends up in the application. Add second dlopen() 1318 try without any path, just the filename. 1319 * Makefile.in: Remove rules to build and install libebl.so. 1320 13212003-08-11 Ulrich Drepper <drepper@redhat.com> 1322 1323 * Moved to CVS archive. 1324