diff options
author | Perry Hung <iperry@alum.mit.edu> | 2010-05-28 03:06:03 -0400 |
---|---|---|
committer | Perry Hung <iperry@alum.mit.edu> | 2010-05-28 03:06:03 -0400 |
commit | 5b9c5d9c9388f58c0d08c398dc368ca40460830a (patch) | |
tree | 3f9fb49a69acd4c0f2d05733b30eb32af5acb006 /stm32conf/lanchon-stm32/src/libcs3arm | |
parent | cf068bc0ac946391c940a79ee2e55e1ff87eb79a (diff) | |
download | librambutan-5b9c5d9c9388f58c0d08c398dc368ca40460830a.tar.gz librambutan-5b9c5d9c9388f58c0d08c398dc368ca40460830a.zip |
libcs3 refactor merge
Removed dependency on libcs3.a because Codesourcery does not provide the
source for it.
We now link against a modified libcs3-lanchon-stm32.a built from parts
in public domain from Lanchon, and a start_c.c from Codesourcery that is
licensed under a permissive license.
Also removed all of the extra linker cruft from the stm32conf directory.
The linker files now live in support/ld
The openocd scripts now live in support/openocd
The udev rules and copy-to-ide scripts now live in support/scripts
The source lives in support/ld/libcs3-lanchon-stm32.tar.gz
Diffstat (limited to 'stm32conf/lanchon-stm32/src/libcs3arm')
-rw-r--r-- | stm32conf/lanchon-stm32/src/libcs3arm/arm-isrs.S | 49 | ||||
-rw-r--r-- | stm32conf/lanchon-stm32/src/libcs3arm/arm-vector.S | 40 |
2 files changed, 0 insertions, 89 deletions
diff --git a/stm32conf/lanchon-stm32/src/libcs3arm/arm-isrs.S b/stm32conf/lanchon-stm32/src/libcs3arm/arm-isrs.S deleted file mode 100644 index 3688573..0000000 --- a/stm32conf/lanchon-stm32/src/libcs3arm/arm-isrs.S +++ /dev/null @@ -1,49 +0,0 @@ -/* ISRs for arm
- *
- * Version:Sourcery G++ 4.2-84
- * BugURL:https://support.codesourcery.com/GNUToolchain/
- *
- * Copyright 2007 CodeSourcery.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply. */
-
- .arch armv4t
- .arm
-
-#if defined (L_arm_isr_interrupt)
- .globl __cs3_isr_interrupt
- .type __cs3_isr_interrupt, %function
-__cs3_isr_interrupt:
- b .
- .size __cs3_isr_interrupt, . - __cs3_isr_interrupt
-
- .weak __cs3_isr_undef
- .globl __cs3_isr_undef
- .set __cs3_isr_undef, __cs3_isr_interrupt
- .weak __cs3_isr_swi
- .globl __cs3_isr_swi
- .set __cs3_isr_swi, __cs3_isr_interrupt
- .weak __cs3_isr_pabort
- .globl __cs3_isr_pabort
- .set __cs3_isr_pabort, __cs3_isr_interrupt
- .weak __cs3_isr_dabort
- .globl __cs3_isr_dabort
- .set __cs3_isr_dabort, __cs3_isr_interrupt
- .weak __cs3_isr_reserved
- .globl __cs3_isr_reserved
- .set __cs3_isr_reserved, __cs3_isr_interrupt
- .weak __cs3_isr_irq
- .globl __cs3_isr_irq
- .set __cs3_isr_irq, __cs3_isr_interrupt
- .weak __cs3_isr_fiq
- .globl __cs3_isr_fiq
- .set __cs3_isr_fiq, __cs3_isr_interrupt
-#endif /* interrupt */
diff --git a/stm32conf/lanchon-stm32/src/libcs3arm/arm-vector.S b/stm32conf/lanchon-stm32/src/libcs3arm/arm-vector.S deleted file mode 100644 index 1c5b632..0000000 --- a/stm32conf/lanchon-stm32/src/libcs3arm/arm-vector.S +++ /dev/null @@ -1,40 +0,0 @@ -/* Vector table for arm
- *
- * Version:Sourcery G++ 4.2-84
- * BugURL:https://support.codesourcery.com/GNUToolchain/
- *
- * Copyright 2007 CodeSourcery.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply. */
-
- .section ".cs3.interrupt_vector"
- .globl __cs3_interrupt_vector_arm
- .type __cs3_interrupt_vector_arm, %object
-__cs3_interrupt_vector_arm:
- .arch armv4
- .arm
- ldr pc, [pc, #24] @ reset
- ldr pc, [pc, #24] @ undef
- ldr pc, [pc, #24] @ swi
- ldr pc, [pc, #24] @ pabort
- ldr pc, [pc, #24] @ dabort
- ldr pc, [pc, #24] @ reserved
- ldr pc, [pc, #24] @ irq
- ldr pc, [pc, #24] @ fiq
- .long __cs3_reset
- .long __cs3_isr_undef
- .long __cs3_isr_swi
- .long __cs3_isr_pabort
- .long __cs3_isr_dabort
- .long __cs3_isr_reserved
- .long __cs3_isr_irq
- .long __cs3_isr_fiq
- .size __cs3_interrupt_vector_arm, . - __cs3_interrupt_vector_arm
|