diff options
Diffstat (limited to 'ld/ldgld68kr.script')
-rwxr-xr-x | ld/ldgld68kr.script | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ld/ldgld68kr.script b/ld/ldgld68kr.script new file mode 100755 index 0000000..8cbc9dc --- /dev/null +++ b/ld/ldgld68kr.script @@ -0,0 +1,22 @@ + +SEARCH_DIR(/lib) +SEARCH_DIR(/usr/lib) +SEARCH_DIR(/usr/local/lib) +SECTIONS +{ + .text 0: + { + CREATE_OBJECT_SYMBOLS + *(.text) + } + .data SIZEOF(.text) + ADDR(.text) : + { + *(.data) + } + .bss SIZEOF(.data) + ADDR(.data) : + { + *(.bss) + [COMMON] + } +} + |