From: Roland McGrath Date: Wed, 25 Mar 2009 23:45:46 +0000 (-0700) Subject: Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils into roland/unwind X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a67654e119086fad1d1d00ee83a2d170b756999;p=thirdparty%2Felfutils.git Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils into roland/unwind Conflicts: backends/ChangeLog libdw/dwarf.h libdw/dwarf_error.c libdw/memory-access.h libdwfl/ChangeLog libdwfl/Makefile.am libebl/ChangeLog src/ChangeLog src/readelf.c --- 3a67654e119086fad1d1d00ee83a2d170b756999 diff --cc backends/ChangeLog index 6ec64df0d,0dbb3eb67..d97903f5a --- a/backends/ChangeLog +++ b/backends/ChangeLog @@@ -1,13 -1,8 +1,18 @@@ +2007-01-18 Roland McGrath + + * x86_64_cfi.c (x86_64_abi_cfi): New file. + * Makefile.am (x86_64_SRCS): Add it. + * x86_64_init.c (x86_64_init): Add initializer. + + * i386_cfi.c (i386_abi_cfi): New file. + * Makefile.am (i386_SRCS): Add it. + * i386_init.c (i386_init): Initialize abi_cfi hook. + + 2009-02-15 Roland McGrath + + * ppc_attrs.c (ppc_check_object_attribute): Handle tag + GNU_Power_ABI_Struct_Return. + 2008-10-04 Ulrich Drepper * i386_reloc.def: Fix entries for TLS_GOTDESC, TLS_DESC_CALL, and diff --cc libdw/Makefile.am index 51b2cd4c3,e624ac108..61852284d --- a/libdw/Makefile.am +++ b/libdw/Makefile.am @@@ -83,15 -83,16 +83,23 @@@ libdw_a_SOURCES = dwarf_begin.c dwarf_b dwarf_func_inline.c dwarf_getsrc_file.c \ libdw_findcu.c libdw_form.c libdw_alloc.c memory-access.c \ libdw_visit_scopes.c \ - dwarf_entry_breakpoints.c + dwarf_entry_breakpoints.c \ + dwarf_next_cfi.c \ + cie.c fde.c unwind.c frame-cache.c \ + dwarf_frame_cfa.c dwarf_frame_register.c \ + dwarf_frame_return_address_register.c \ + dwarf_cfi_addrframe.c \ + dwarf_getcfi.c dwarf_getcfi_elf.c \ + dwarf_cfi_setebl.c dwarf_cfi_end.c + if MAINTAINER_MODE + BUILT_SOURCES = $(srcdir)/known-dwarf.h + MAINTAINERCLEANFILES = $(srcdir)/known-dwarf.h + $(srcdir)/known-dwarf.h: $(top_srcdir)/config/known-dwarf.awk $(srcdir)/dwarf.h + $(AWK) -f $^ > $@.new + mv -f $@.new $@ + endif + if !MUDFLAP libdw_pic_a_SOURCES = am_libdw_pic_a_OBJECTS = $(libdw_a_SOURCES:.c=.os) diff --cc libdwfl/ChangeLog index 60ff209a6,d420e3c9d..f4ae338b8 --- a/libdwfl/ChangeLog +++ b/libdwfl/ChangeLog @@@ -1,11 -1,87 +1,95 @@@ +2007-02-10 Roland McGrath + + * libdwflP.h (struct Dwfl_Module): New members `cfi', `cfi_elf'. + Add INTDECL for dwfl_module_getcfi. + * dwfl_module_getcfi.c: New file. + * dwfl_addrframe.c: New file. + * Makefile.am (libdwfl_a_SOURCES): Add them. + + 2009-03-09 Roland McGrath + + * dwfl_module_build_id.c (__libdwfl_find_build_id): Move SHSTRNDX + variable to outer scope, so we cache it for the loop. + + * relocate.c (__libdwfl_relocate_value): Add MOD->main.bias to sh_addr. + + 2009-02-12 Roland McGrath + + * dwfl_module_build_id.c (__libdwfl_find_build_id): Use + __libdwfl_relocate_value to find correct sh_addr value. + + 2009-02-10 Roland McGrath + + * dwfl_report_elf.c (__libdwfl_report_elf): Take new arg SANITY. + If false, don't fail for NO_PHDR. + (dwfl_report_elf): Update caller. + * libdwflP.h: Update decl. + * offline.c (process_elf): Call it with false, so we don't refuse + dubiously-formed objects here. + + * link_map.c (consider_executable): Don't assert dwfl_addrsegment + finds our module. We shouldn't crash when we confuse some guesses. + + 2009-02-10 Ulrich Drepper + + * open.c (decompress): Avoid crash with empty input file. + + 2009-01-27 Roland McGrath + + * dwfl_report_elf.c (__libdwfl_report_elf): Ignore trailing PT_LOAD + with zero vaddr and memsz. + + 2009-01-22 Roland McGrath + + * open.c (decompress): Move BUFFER, SIZE decls outside #if. + + * dwfl_segment_report_module.c (addr_segndx): Remove bogus adjustments + after address-matching loop. + + * segment.c (lookup): Fix fencepost in checking for HINT match. + + 2009-01-14 Roland McGrath + + * gzip.c [!BZLIB] (mapped_zImage): New function. + (unzip) [!BZLIB]: Grok Linux kernel zImage format. + + 2009-01-10 Ulrich Drepper + + * dwfl_error.c: Always use __thread. Remove all !USE_TLS code. + + 2009-01-08 Roland McGrath + + * linux-kernel-modules.c (dwfl_linux_kernel_report_offline): + Skip subdirectory named "source". + (dwfl_linux_kernel_find_elf): Likewise. + + 2009-01-06 Roland McGrath + + * linux-kernel-modules.c (check_suffix): New function. + Match ".ko", ".ko.gz", and ".ko.bz2" suffixes. + (dwfl_linux_kernel_report_offline): Use it. + (dwfl_linux_kernel_find_elf): Likewise. + + 2009-01-05 Roland McGrath + + * argp-std.c (parse_opt): Use __libdw_open_file for core file. + * dwfl_build_id_find_debuginfo.c: Use it to open the file. + * dwfl_build_id_find_elf.c: Likewise. + * dwfl_module_getdwarf.c (open_elf): Likewise. + * dwfl_report_elf.c: Likewise. + * find-debuginfo.c (validate): Likewise. + * offline.c (__libdwfl_report_offline): Likewise. + + * libdwflP.h: Declare __libdw_open_file. + * open.c: New file. + * Makefile.am (libdwfl_a_SOURCES): Add it. + + * gzip.c: New file. + * Makefile.am [ZLIB] (libdwfl_a_SOURCES): Add it. + * bzip2.c: New file. + * Makefile.am [BZLIB] (libdwfl_a_SOURCES): Add it. + * libdwflP.h: Declare __libdw_gunzip, __libdw_bunzip2. + 2008-12-16 Roland McGrath * dwfl_module_build_id.c (dwfl_module_build_id): Define with alias and diff --cc libdwfl/Makefile.am index 45dd0b3a5,605f9243c..fe79914a2 --- a/libdwfl/Makefile.am +++ b/libdwfl/Makefile.am @@@ -68,6 -68,6 +68,7 @@@ libdwfl_a_SOURCES = dwfl_begin.c dwfl_e dwfl_module_getsrc_file.c \ libdwfl_crc32.c libdwfl_crc32_file.c \ elf-from-memory.c \ ++ dwfl_module_getcfi.c dwfl_addrframe.c dwfl_module_getsym.c \ dwfl_module_addrname.c dwfl_module_addrsym.c \ dwfl_module_return_value_location.c \ diff --cc libebl/ChangeLog index 475fe6bd1,f1ba346a7..47f58b7ff --- a/libebl/ChangeLog +++ b/libebl/ChangeLog @@@ -1,12 -1,8 +1,17 @@@ +2007-01-18 Roland McGrath + + * ebl-hooks.h: Add abi_cfi hook. + * eblopenbackend.c (default_abi_cfi): New function. + (fill_defaults): Add initializer. + * eblabicfi.c: New file. + * Makefile.am (gen_SOURCES): Add it. + * libebl.h: Declare ebl_abi_cfi. + + 2009-02-01 Ulrich Drepper + + * eblreloctypename.c (ebl_reloc_type_name): Return "" + instead of "???" for invalid relocations. + 2008-08-01 Roland McGrath * eblcorenotetypename.c: Handle NT_386_IOPERM. diff --cc tests/ChangeLog index 442aa29c7,25f271f12..bc22309c6 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@@ -1,11 -1,16 +1,22 @@@ +2007-02-10 Roland McGrath + + * addrcfi.c: New file. + * Makefile.am (noinst_PROGRAMS): Add it. + (addrcfi_LDADD): New variable. + 2008-12-31 Ulrich Drepper + * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa, + mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm, + pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb, + pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw, + pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd, + pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest, + roundss, roundps, roundpd, and roundsd. + * testfile45.S.bz2: Likewise. + * testfile44.expect.bz2: Adjust accordingly. + * testfile45.expect.bz2: Likewise. + * testfile44.S.bz2: Add tests for blendvpd and blendvps. * testfile45.S.bz2: Likewise. * testfile44.expect.bz2: Adjust accordingly.