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