diff options
Diffstat (limited to 'ld/ldgldUr.sc')
-rwxr-xr-x | ld/ldgldUr.sc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ld/ldgldUr.sc b/ld/ldgldUr.sc new file mode 100755 index 0000000..e7d9b44 --- /dev/null +++ b/ld/ldgldUr.sc @@ -0,0 +1,24 @@ + +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) + CONSTRUCTORS + ___end_list__ = . ; + } + .bss SIZEOF(.data) + ADDR(.data) : + { + *(.bss) + [COMMON] + } +} + |