+2005-07-28 Ulrich Drepper <drepper@redhat.com>
+
+ * Makefile.am (libdw.so): No need to link with libeu.a anymore.
+ (libdw_a_LIBADD): Add all files from libdwfl.a.
+
2005-07-27 Roland McGrath <roland@redhat.com>
* Makefile.am (libdw.so): Link ../libdwfl/libdwfl_pic.a in,
libdw_so_SOURCES =
libdw.so: $(srcdir)/libdw.map libdw_pic.a \
- ../libdwfl/libdwfl_pic.a ../libebl/libebl.a ../lib/libeu.a \
+ ../libdwfl/libdwfl_pic.a ../libebl/libebl.a \
../libelf/libelf.so
$(CC) -shared -o $@ -Wl,--soname,$@.$(VERSION),-z,defs \
-Wl,--version-script,$<,--no-undefined \
if readelf -d $@ | fgrep -q TEXTREL; then exit 1; fi
ln -fs $@ $@.$(VERSION)
-
%.os: %.c %.o
if $(COMPILE) -c -o $@ -fpic -DPIC -DSHARED -MT $@ -MD -MP \
-MF "$(DEPDIR)/$*.Tpo" `test -f '$<' || echo '$(srcdir)/'`$<; \
rmdir --ignore-fail-on-non-empty $(DESTDIR)$(includedir)/elfutils
endif
+libdw_a_LIBADD = $(addprefix ../libdwfl/,$(shell $(AR) t ../libdwfl/libdwfl.a))
+
noinst_HEADERS = libdwP.h memory-access.h dwarf_abbrev_hash.h
EXTRA_DIST = libdw.map
+2005-07-28 Ulrich Drepper <drepper@redhat.com>
+
+ * libdwfl_crc32.c: New file.
+ * libdwfl_crc32_file.c: New file.
+ * libdwflP.h: Declare the new functions.
+ * Makefile.am (libdwfl_a_SOURCES): Add libdwfl_crc32.c and
+ libdwfl_crc32_file.c.
+ * libdwfl/find-debuginfo.c (check_crc): Use __libdwfl_crc32_file
+ instead of crc32_file.
+
2005-07-28 Roland McGrath <roland@redhat.com>
* ptest.c: Moved to ../tests/dwflmodtest.c.
lines.c dwfl_lineinfo.c dwfl_linemodule.c \
dwfl_module_getsrc.c dwfl_getsrc.c \
dwfl_module_getsrc_file.c \
+ libdwfl_crc32.c libdwfl_crc32_file.c \
elf-from-memory.c
check_crc (int fd, GElf_Word debuglink_crc)
{
uint32_t file_crc;
- return crc32_file (fd, &file_crc) == 0 && file_crc == debuglink_crc;
+ return (__libdwfl_crc32_file (fd, &file_crc) == 0
+ && file_crc == debuglink_crc);
}
int
internal_function;
+extern uint32_t __libdwfl_crc32 (uint32_t crc, unsigned char *buf, size_t len)
+ attribute_hidden;
+extern int __libdwfl_crc32_file (int fd, uint32_t *resp) attribute_hidden;
+
/* Avoid PLT entries. */
+2005-07-28 Ulrich Drepper <drepper@redhat.com>
+
+ * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
+
2005-07-28 Roland McGrath <roland@redhat.com>
* dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
asm_tst7_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap)
asm_tst8_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap)
asm_tst9_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap)
-dwflmodtest_LDADD = $(libdw) $(libelf) $(libmudflap)
+dwflmodtest_LDADD = $(libdw) $(libebl) $(libelf) $(libmudflap)
CLEANFILES = xxx