From 5025fc547da08c83d330feb12c4795d5cacd12c6 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 24 Sep 2008 23:29:38 +0000 Subject: * 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. --- libgloss/m32c/m32c.tmpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libgloss/m32c/m32c.tmpl') 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 = .; -- cgit v1.2.3