aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgldi386v.sc
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-09-19 21:04:59 +0000
committerSteve Chamberlain <steve@cygnus>1991-09-19 21:04:59 +0000
commit33638b1c2e3958dc5334c161eefd593da2835180 (patch)
tree14ba93bfb826e971dae70d7e382492f295c667b1 /ld/ldgldi386v.sc
parent9fe37813cd2a37210571f2bcea0335af4a690fbe (diff)
downloadgdb-33638b1c2e3958dc5334c161eefd593da2835180.zip
gdb-33638b1c2e3958dc5334c161eefd593da2835180.tar.gz
gdb-33638b1c2e3958dc5334c161eefd593da2835180.tar.bz2
Initial revision
Diffstat (limited to 'ld/ldgldi386v.sc')
-rwxr-xr-xld/ldgldi386v.sc26
1 files changed, 26 insertions, 0 deletions
diff --git a/ld/ldgldi386v.sc b/ld/ldgldi386v.sc
new file mode 100755
index 0000000..9805f39
--- /dev/null
+++ b/ld/ldgldi386v.sc
@@ -0,0 +1,26 @@
+/* $Id$
+*/
+
+OUTPUT_FORMAT("i386coff")
+
+ENTRY(_start)
+SECTIONS
+{
+ .text 0x000000d0 : {
+ *(.init)
+ *(.text)
+ *(.fini)
+ etext = .;
+ }
+ .data ((ADDR(.text) + SIZEOF(.text)) & 0x0fff) + ALIGN(0x00400000) : {
+ *(.data)
+ edata = .;
+ }
+ .bss (SIZEOF(.data) + ADDR(.data)) : {
+ *(.bss)
+ [COMMON]
+ end = ALIGN(0x8);
+ }
+ .comment : { *(.comment) }
+}
+