aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgld960.script
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldgld960.script')
-rwxr-xr-xld/ldgld960.script23
1 files changed, 23 insertions, 0 deletions
diff --git a/ld/ldgld960.script b/ld/ldgld960.script
new file mode 100755
index 0000000..1c40a73
--- /dev/null
+++ b/ld/ldgld960.script
@@ -0,0 +1,23 @@
+SECTIONS
+{
+ .text :
+ {
+ CREATE_OBJECT_SYMBOLS
+ *(.text)
+ _etext = .;
+ }
+
+ .data SIZEOF(.text) + ADDR(.text):
+ {
+
+ *(.data)
+ _edata = .;
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ _bss_start = .;
+ *(.bss)
+ [COMMON]
+ _end = . ;
+ }
+}