aboutsummaryrefslogtreecommitdiff
path: root/ld/i386aout.sc
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-11-04 00:46:42 +0000
committerSteve Chamberlain <steve@cygnus>1991-11-04 00:46:42 +0000
commit82e643ecc4106771d516bb20583b58e2c775f19a (patch)
tree25f7659f37d0ee7a56ec93181d0426e5f2ee744f /ld/i386aout.sc
parentce4d59e25dc00e53c8b306df1302505387667122 (diff)
downloadgdb-82e643ecc4106771d516bb20583b58e2c775f19a.zip
gdb-82e643ecc4106771d516bb20583b58e2c775f19a.tar.gz
gdb-82e643ecc4106771d516bb20583b58e2c775f19a.tar.bz2
Initial revision
Diffstat (limited to 'ld/i386aout.sc')
-rwxr-xr-xld/i386aout.sc25
1 files changed, 25 insertions, 0 deletions
diff --git a/ld/i386aout.sc b/ld/i386aout.sc
new file mode 100755
index 0000000..82133cc
--- /dev/null
+++ b/ld/i386aout.sc
@@ -0,0 +1,25 @@
+OUTPUT_FORMAT("a.out-i386")
+OUTPUT_ARCH(i386)
+
+__DYNAMIC = 0;
+SECTIONS
+{
+ .text 0 BLOCK(0x1000) :
+ {
+ CREATE_OBJECT_SYMBOLS
+ *(.text)
+ _etext = ALIGN(0x1000);
+ }
+ .data ALIGN(0x1000) :
+ {
+ *(.data)
+ CONSTRUCTORS
+ _edata = .;
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ _end = .;
+ }
+}