about summary refs log tree commit diff
path: root/sysdeps/or1k/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/or1k/Makefile')
-rw-r--r--sysdeps/or1k/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/or1k/Makefile b/sysdeps/or1k/Makefile
new file mode 100644
index 0000000000..577d8d5234
--- /dev/null
+++ b/sysdeps/or1k/Makefile
@@ -0,0 +1,6 @@
+ASFLAGS-.os += -fPIC
+
+ifeq ($(subdir),elf)
+# Extra shared linker files to link only into dl-allobjs.so.
+sysdep-rtld-routines += dl-start
+endif