* 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.
This commit is contained in:
DJ Delorie
2008-09-24 23:29:38 +00:00
parent a890f63b33
commit 5025fc547d
7 changed files with 300 additions and 10 deletions

View File

@ -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 = .;