summaryrefslogtreecommitdiffstats
path: root/backends
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2019-08-26 10:51:45 -0700
committerMark Wielaard <mark@klomp.org>2019-08-28 21:45:26 +0200
commit823ee0c48e6db1134a36c6ae165a983466600fed (patch)
tree24a5e01ac094d46cbcd9a3ab26e1a8006a08bb7c /backends
parent4fcb7ec9d788d09f1525a506e1cbe8a39fc1b8eb (diff)
Add PIC and non-PIC variants of libcpu and libebl
Currently, libcpu and libebl are always compiled as PIC. An upcoming change will add the objects from libcpu.a and libebl.a to libdw.a, which should not be PIC unless configured that way. So, make libcpu.a and libebl.a non-PIC and add libcpu_pic.a and libebl_pic.a. Signed-off-by: Omar Sandoval <osandov@fb.com>
Diffstat (limited to 'backends')
-rw-r--r--backends/ChangeLog1
-rw-r--r--backends/Makefile.am2
2 files changed, 2 insertions, 1 deletions
diff --git a/backends/ChangeLog b/backends/ChangeLog
index 91790bb9..3faee13e 100644
--- a/backends/ChangeLog
+++ b/backends/ChangeLog
@@ -1,6 +1,7 @@
2019-07-05 Omar Sandoval <osandov@fb.com>
* Makefile.am: Replace libcpu_{i386,x86_64,bpf}.a with libcpu.a.
+ Replace libcpu.a with libcpu_pic.a.
2019-07-13 Mao Han <han_mao@c-sky.com>
diff --git a/backends/Makefile.am b/backends/Makefile.am
index 6470a313..be470528 100644
--- a/backends/Makefile.am
+++ b/backends/Makefile.am
@@ -44,7 +44,7 @@ noinst_LIBRARIES = $(libebl_pic)
noinst_DATA = $(libebl_pic:_pic.a=.so)
-libcpu = ../libcpu/libcpu.a
+libcpu = ../libcpu/libcpu_pic.a
libelf = ../libelf/libelf.so
libdw = ../libdw/libdw.so
libeu = ../lib/libeu.a