summaryrefslogtreecommitdiffstats
path: root/libgloss/m32c/m32c.tmpl
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2008-09-24 23:29:38 +0000
committerDJ Delorie <dj@redhat.com>2008-09-24 23:29:38 +0000
commit5025fc547da08c83d330feb12c4795d5cacd12c6 (patch)
tree2e24c11d1f716fdd0be5c0fdc974a09410028d22 /libgloss/m32c/m32c.tmpl
parenta890f63b3325e22d3eda75f730ab59c13262e5ec (diff)
downloadcygnal-5025fc547da08c83d330feb12c4795d5cacd12c6.tar.gz
cygnal-5025fc547da08c83d330feb12c4795d5cacd12c6.tar.bz2
cygnal-5025fc547da08c83d330feb12c4795d5cacd12c6.zip
* m32c/varvects.S: New.
* m32c/varvects.h: New. * m32c/sample.c: New. * m32c/Makefile.in: Add m32cgloss library support. * m32c/crt0.S: Tweaks to support interrupts by default. * m32c/m32c.tmpl: Likewise.
Diffstat (limited to 'libgloss/m32c/m32c.tmpl')
-rw-r--r--libgloss/m32c/m32c.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/libgloss/m32c/m32c.tmpl b/libgloss/m32c/m32c.tmpl
index b06ce4ff7..8fa34983a 100644
--- a/libgloss/m32c/m32c.tmpl
+++ b/libgloss/m32c/m32c.tmpl
@@ -1,6 +1,6 @@
/*
-Copyright (c) 2005 Red Hat Incorporated.
+Copyright (c) 2005,2008 Red Hat Incorporated.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -35,6 +35,7 @@ OUTPUT_FORMAT("elf32-m32c", "elf32-m32c",
"elf32-m32c")
OUTPUT_ARCH(m32c)
ENTRY(_start)
+INPUT(-lm32cgloss)
/* Do we need any of these for elf?
__DYNAMIC = 0; */
MEMORY {
@@ -132,6 +133,8 @@ SECTIONS
SORT(CONSTRUCTORS)
*(.data1)
*(.got.plt) *(.got)
+ PROVIDE (__var_vect_start = .);
+ *(.var_vects)
. = ALIGN(2);
_edata = .;