mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-16 13:18:12 +01:00
Link libunwind-setjmp against libunwind-elf.
This prevents the linker from complaining about a missing symbol when building the test-setjmp test case. Signed-off-by: Ken Werner <ken.werner@linaro.org>
This commit is contained in:
parent
ec633a1911
commit
4a89b88fd3
1 changed files with 16 additions and 13 deletions
|
@ -29,7 +29,20 @@ noinst_HEADERS += ptrace/_UPT_internal.h
|
||||||
### libunwind-setjmp:
|
### libunwind-setjmp:
|
||||||
libunwind_setjmp_la_LDFLAGS = $(COMMON_SO_LDFLAGS) \
|
libunwind_setjmp_la_LDFLAGS = $(COMMON_SO_LDFLAGS) \
|
||||||
-version-info $(SETJMP_SO_VERSION)
|
-version-info $(SETJMP_SO_VERSION)
|
||||||
libunwind_setjmp_la_LIBADD = libunwind-$(arch).la -lc
|
|
||||||
|
if USE_ELF32
|
||||||
|
LIBUNWIND_ELF = libunwind-elf32.la
|
||||||
|
endif
|
||||||
|
if USE_ELF64
|
||||||
|
LIBUNWIND_ELF = libunwind-elf64.la
|
||||||
|
endif
|
||||||
|
if USE_ELFXX
|
||||||
|
LIBUNWIND_ELF = libunwind-elfxx.la
|
||||||
|
endif
|
||||||
|
|
||||||
|
libunwind_setjmp_la_LIBADD = $(LIBUNWIND_ELF) \
|
||||||
|
libunwind-$(arch).la \
|
||||||
|
libunwind.la -lc
|
||||||
libunwind_setjmp_la_SOURCES = setjmp/longjmp.c \
|
libunwind_setjmp_la_SOURCES = setjmp/longjmp.c \
|
||||||
setjmp/siglongjmp.c
|
setjmp/siglongjmp.c
|
||||||
noinst_HEADERS += setjmp/setjmp_i.h
|
noinst_HEADERS += setjmp/setjmp_i.h
|
||||||
|
@ -118,18 +131,8 @@ libunwind_elf32_la_SOURCES = elf32.c
|
||||||
libunwind_elf64_la_SOURCES = elf64.c
|
libunwind_elf64_la_SOURCES = elf64.c
|
||||||
libunwind_elfxx_la_SOURCES = elfxx.c
|
libunwind_elfxx_la_SOURCES = elfxx.c
|
||||||
|
|
||||||
if USE_ELF32
|
noinst_LTLIBRARIES += $(LIBUNWIND_ELF)
|
||||||
noinst_LTLIBRARIES += libunwind-elf32.la
|
libunwind_la_LIBADD += $(LIBUNWIND_ELF)
|
||||||
libunwind_la_LIBADD += libunwind-elf32.la
|
|
||||||
endif
|
|
||||||
if USE_ELF64
|
|
||||||
noinst_LTLIBRARIES += libunwind-elf64.la
|
|
||||||
libunwind_la_LIBADD += libunwind-elf64.la
|
|
||||||
endif
|
|
||||||
if USE_ELFXX
|
|
||||||
noinst_LTLIBRARIES += libunwind-elfxx.la
|
|
||||||
libunwind_la_LIBADD += libunwind-elfxx.la
|
|
||||||
endif
|
|
||||||
|
|
||||||
# The list of files that go into libunwind and libunwind-arm:
|
# The list of files that go into libunwind and libunwind-arm:
|
||||||
noinst_HEADERS += arm/init.h arm/offsets.h arm/unwind_i.h
|
noinst_HEADERS += arm/init.h arm/offsets.h arm/unwind_i.h
|
||||||
|
|
Loading…
Reference in a new issue