aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgldr.script
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-05-14 17:32:59 +0000
committerSteve Chamberlain <steve@cygnus>1991-05-14 17:32:59 +0000
commit15ed1567e078309fa1367a9eaedfea1205600379 (patch)
tree6e7a85a4e2b65043d6a37ccb7ffdb020b104415a /ld/ldgldr.script
parent1b494bfa15411eb254eee4f28ae8e07f89d4d268 (diff)
downloadgdb-15ed1567e078309fa1367a9eaedfea1205600379.zip
gdb-15ed1567e078309fa1367a9eaedfea1205600379.tar.gz
gdb-15ed1567e078309fa1367a9eaedfea1205600379.tar.bz2
Initial revision
Diffstat (limited to 'ld/ldgldr.script')
-rwxr-xr-xld/ldgldr.script20
1 files changed, 20 insertions, 0 deletions
diff --git a/ld/ldgldr.script b/ld/ldgldr.script
new file mode 100755
index 0000000..a3b39fe
--- /dev/null
+++ b/ld/ldgldr.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]
+ }
+}