aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/v850.sc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-06-02 20:47:23 +0000
committerRichard Henderson <rth@redhat.com>1999-06-02 20:47:23 +0000
commit4305932a214c616b5be37859aa6fcfdce20d3e94 (patch)
tree1a57f09e75b7087581d282ede3b41c090c796668 /ld/scripttempl/v850.sc
parent2581206fa2719f2be6696520f424b188e9e90a9e (diff)
downloadgdb-4305932a214c616b5be37859aa6fcfdce20d3e94.zip
gdb-4305932a214c616b5be37859aa6fcfdce20d3e94.tar.gz
gdb-4305932a214c616b5be37859aa6fcfdce20d3e94.tar.bz2
Jason Merrill <jason@yorick.cygnus.com>
* scripttempl/v850.sc: Add initp support.
Diffstat (limited to 'ld/scripttempl/v850.sc')
-rw-r--r--ld/scripttempl/v850.sc8
1 files changed, 6 insertions, 2 deletions
diff --git a/ld/scripttempl/v850.sc b/ld/scripttempl/v850.sc
index 6b2f7e5..0a20954 100644
--- a/ld/scripttempl/v850.sc
+++ b/ld/scripttempl/v850.sc
@@ -94,13 +94,17 @@ SECTIONS
.data1 : { *(.data1) }
.ctors : {
${RELOCATING+___ctors = .;}
- KEEP (*(.ctors))
+ KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
+ KEEP (*(SORT(.ctors.*)))
+ KEEP (*crtend(.ctors))
${RELOCATING+___ctors_end = .;}
}
.dtors : {
${RELOCATING+___dtors = .;}
- KEEP (*(.dtors))
+ KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
+ KEEP (*(SORT(.dtors.*)))
+ KEEP (*crtend.o(.dtors))
${RELOCATING+___dtors_end = .;}
}