aboutsummaryrefslogtreecommitdiff
path: root/libgloss/i386/cygmon.ld
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-10-25 19:18:46 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-10-25 19:18:46 +0000
commit664252b754b47fc328bfeaf77dc8c2a82b2e2a99 (patch)
tree7f74cc52413fc5fedff40534dadd414b488f5f2c /libgloss/i386/cygmon.ld
parent8dec3c152c85a68adcf6d72fb9d92989e7aca5d3 (diff)
downloadnewlib-664252b754b47fc328bfeaf77dc8c2a82b2e2a99.zip
newlib-664252b754b47fc328bfeaf77dc8c2a82b2e2a99.tar.gz
newlib-664252b754b47fc328bfeaf77dc8c2a82b2e2a99.tar.bz2
2002-10-25 Bernd Schmidt <bernds@redhat.com>
* i386/cygmon.ld: Add entry for .gcc_except_table. 2000-10-25 Mark Salter <msalter@redhat.com> * i386/cygmon-crt0.S: Use __USER_LABEL_PREFIX__ for symbols. Always use __start for start symbol. * i386/cygmon-salib.c: Don't build __do_global_[cd]tors for AOUT. Disable file I/O extensions to make Plum Hall happy. * i386/cygmon.ld: Set __start as entry point. * i386/Makefile.in: Support IS_AOUT. * i386/configure.in: Support IS_AOUT. * i386/configure: Regenerated. * i386/cygmon-salib.c: * i386/cygmon-gmon.c (_mcount): It's _etext.
Diffstat (limited to 'libgloss/i386/cygmon.ld')
-rw-r--r--libgloss/i386/cygmon.ld20
1 files changed, 11 insertions, 9 deletions
diff --git a/libgloss/i386/cygmon.ld b/libgloss/i386/cygmon.ld
index 03bbb60..f5c5069 100644
--- a/libgloss/i386/cygmon.ld
+++ b/libgloss/i386/cygmon.ld
@@ -1,5 +1,5 @@
STARTUP(cygmon-crt0.o)
-ENTRY(_start)
+ENTRY(__start)
GROUP(-lcygmon -lc -lcygmon -lgcc)
SEARCH_DIR(.)
__DYNAMIC = 0;
@@ -45,8 +45,8 @@ SECTIONS
*(.dtors)
LONG(0)
__DTOR_END__ = .;
- etext = .;
- _etext = .;
+ PROVIDE(_etext = .);
+ PROVIDE(__etext = .);
}
. = .;
.rdata : {
@@ -55,6 +55,8 @@ SECTIONS
_fdata = ALIGN(16);
.data : {
*(.data)
+ *(.gcc_except_table)
+ *(.gcc_exc)
}
. = ALIGN(8);
_gp = . + 0x8000;
@@ -69,20 +71,20 @@ SECTIONS
*(.sdata)
}
. = ALIGN(4);
- edata = .;
- _edata = .;
+ PROVIDE(_edata = .);
+ PROVIDE(__edata = .);
fbss = .;
_fbss = .;
.sbss : {
+ PROVIDE(__bss_start = .);
*(.sbss)
*(.scommon)
}
.bss : {
- __bss_start = . ;
*(.bss)
*(COMMON)
- __bss_end = . ;
+ PROVIDE(__bss_end = .);
}
- end = .;
- _end = .;
+ PROVIDE(_end = .);
+ PROVIDE(__end = .);
}