Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/i960/mon960.ld')
-rw-r--r--libgloss/i960/mon960.ld36
1 files changed, 36 insertions, 0 deletions
diff --git a/libgloss/i960/mon960.ld b/libgloss/i960/mon960.ld
new file mode 100644
index 000000000..342a03b27
--- /dev/null
+++ b/libgloss/i960/mon960.ld
@@ -0,0 +1,36 @@
+GROUP(-lc -lgcc -lmon960)
+
+SECTIONS
+{
+ . = 0xa0008000;
+ .text :
+ {
+ CREATE_OBJECT_SYMBOLS
+ *(.text)
+ _etext = .;
+
+ ___CTOR_LIST__ = .;
+ LONG((___CTOR_END__ - ___CTOR_LIST__) / 4 - 2)
+ *(.ctors)
+ LONG(0)
+ ___CTOR_END__ = .;
+ ___DTOR_LIST__ = .;
+ LONG((___DTOR_END__ - ___DTOR_LIST__) / 4 - 2)
+ *(.dtors)
+ LONG(0)
+ ___DTOR_END__ = .;
+ }
+ .data SIZEOF(.text) + ADDR(.text):
+ {
+ *(.data)
+ CONSTRUCTORS
+ _edata = .;
+ }
+ .bss SIZEOF(.data) + ADDR(.data):
+ {
+ _bss_start = .;
+ *(.bss)
+ *(COMMON)
+ _end = .;
+ }
+}