diff options
Diffstat (limited to 'ld/ld-gldm88kbcs-r.script')
-rwxr-xr-x | ld/ld-gldm88kbcs-r.script | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ld/ld-gldm88kbcs-r.script b/ld/ld-gldm88kbcs-r.script new file mode 100755 index 0000000..a3b39fe --- /dev/null +++ b/ld/ld-gldm88kbcs-r.script @@ -0,0 +1,20 @@ +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] + } +} |