summaryrefslogtreecommitdiff
path: root/ACE/tests/INTEGRITY.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/INTEGRITY.ld')
-rw-r--r--ACE/tests/INTEGRITY.ld31
1 files changed, 31 insertions, 0 deletions
diff --git a/ACE/tests/INTEGRITY.ld b/ACE/tests/INTEGRITY.ld
new file mode 100644
index 00000000000..7b77515f096
--- /dev/null
+++ b/ACE/tests/INTEGRITY.ld
@@ -0,0 +1,31 @@
+# default link map for INTEGRITY
+# text (readonly) and data (read/write) areas must be page-aligned
+
+-sec
+{
+# text/readonly segment
+ .picbase 0x10000 :
+ .text :
+ .syscall :
+ .intercall :
+ .interfunc :
+ .secinfo :
+ .rodata :
+ .sdata2 :
+ .fixaddr :
+ .fixtype :
+# .textchecksum MUST be the last section of the text/readonly segment
+ .textchecksum :
+
+# data/readwrite segment
+ .pidbase align(0x4000) :
+ .data :
+ .sdabase :
+ .sdata :
+# .datachecksum MUST be the last section of the data portion of the
+# data/read/write segment (i.e., it must come before the BSS sections).
+ .datachecksum :
+ .sbss :
+ .bss :
+ .heap align(16) pad(0x800000) :
+}