summaryrefslogtreecommitdiff
path: root/src/lib.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.ld')
-rw-r--r--src/lib.ld17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib.ld b/src/lib.ld
new file mode 100644
index 0000000..81cc67b
--- /dev/null
+++ b/src/lib.ld
@@ -0,0 +1,17 @@
+OUTPUT_FORMAT(elf32-i386)
+OUTPUT_ARCH(i386)
+
+SECTIONS {
+ .text : {
+ *(.text)
+ }
+ .rodata : {
+ *(.rodata)
+ }
+ .data : {
+ *(.data)
+ }
+ .bss : {
+ *(.bss)
+ }
+}