[CRIU] [PATCH 04/20] multiarch: added the PIE linker script template.
alekskartashov at parallels.com
alekskartashov at parallels.com
Wed Dec 12 08:34:14 EST 2012
From: Alexander Kartashov <alekskartashov at parallels.com>
Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
---
pie/pie.lds.S.in | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 pie/pie.lds.S.in
diff --git a/pie/pie.lds.S.in b/pie/pie.lds.S.in
new file mode 100644
index 0000000..7f8fcb3
--- /dev/null
+++ b/pie/pie.lds.S.in
@@ -0,0 +1,23 @@
+SECTIONS
+{
+ .crblob 0x0 : {
+ *(.head.text)
+ *(.text)
+ . = ALIGN(32);
+ *(.data*)
+ . = ALIGN(32);
+ *(.rodata*)
+ . = ALIGN(32);
+ *(.bss*)
+ . = ALIGN(32);
+ } =0x00000000
+
+ /DISCARD/ : {
+ *(.debug*)
+ *(.comment*)
+ *(.note*)
+ *(.group*)
+ *(.eh_frame*)
+ *(*)
+ }
+}
--
1.7.9.5
More information about the CRIU
mailing list