Parcourir la source

[SRC][GCC] Fix wrong declaration of 'g_pfnVectors' in startup files

Torbjörn SVENSSON il y a 2 ans
Parent
commit
902450ef44

+ 2 - 1
Source/Templates/gcc/startup_stm32h723xx.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog              */
   .word     PVD_AVD_IRQHandler                /* PVD/AVD through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h725xx.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog              */
   .word     PVD_AVD_IRQHandler                /* PVD/AVD through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h730xx.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog              */
   .word     PVD_AVD_IRQHandler                /* PVD/AVD through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h730xxq.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog              */
   .word     PVD_AVD_IRQHandler                /* PVD/AVD through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h733xx.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog              */
   .word     PVD_AVD_IRQHandler                /* PVD/AVD through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h735xx.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog              */
   .word     PVD_AVD_IRQHandler                /* PVD/AVD through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h742xx.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog              */
   .word     PVD_AVD_IRQHandler                /* PVD/AVD through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h743xx.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog              */
   .word     PVD_AVD_IRQHandler                /* PVD/AVD through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h745xg.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog Interrupt ( wwdg1_it, wwdg2_it) */
   .word     PVD_AVD_IRQHandler                /* PVD/AVD through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h745xx.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog Interrupt ( wwdg1_it, wwdg2_it) */
   .word     PVD_AVD_IRQHandler                /* PVD/AVD through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h747xg.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog Interrupt ( wwdg1_it, wwdg2_it) */
   .word     PVD_AVD_IRQHandler                /* PVD/AVD through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h747xx.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog Interrupt ( wwdg1_it, wwdg2_it) */
   .word     PVD_AVD_IRQHandler                /* PVD/AVD through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h750xx.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog              */
   .word     PVD_AVD_IRQHandler                /* PVD/AVD through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h753xx.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog              */
   .word     PVD_AVD_IRQHandler                /* PVD/AVD through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h755xx.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog Interrupt ( wwdg1_it, wwdg2_it) */
   .word     PVD_AVD_IRQHandler                /* PVD/AVD through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h757xx.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog Interrupt ( wwdg1_it, wwdg2_it) */
   .word     PVD_AVD_IRQHandler                /* PVD/AVD through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h7a3xx.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
 
 
 g_pfnVectors:
@@ -143,6 +142,8 @@ g_pfnVectors:
   .word  PendSV_Handler
   .word  SysTick_Handler
 
+  .size  g_pfnVectors, .-g_pfnVectors
+
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog              */
   .word     PVD_PVM_IRQHandler                /* PVD/PVM through EXTI Line detection */

+ 2 - 1
Source/Templates/gcc/startup_stm32h7a3xxq.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
    
    
 g_pfnVectors:
@@ -142,6 +141,8 @@ g_pfnVectors:
   .word  0
   .word  PendSV_Handler
   .word  SysTick_Handler
+
+  .size  g_pfnVectors, .-g_pfnVectors
   
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog              */

+ 2 - 1
Source/Templates/gcc/startup_stm32h7b0xx.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
    
    
 g_pfnVectors:
@@ -142,6 +141,8 @@ g_pfnVectors:
   .word  0
   .word  PendSV_Handler
   .word  SysTick_Handler
+
+  .size  g_pfnVectors, .-g_pfnVectors
   
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog              */

+ 2 - 1
Source/Templates/gcc/startup_stm32h7b0xxq.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
    
    
 g_pfnVectors:
@@ -142,6 +141,8 @@ g_pfnVectors:
   .word  0
   .word  PendSV_Handler
   .word  SysTick_Handler
+
+  .size  g_pfnVectors, .-g_pfnVectors
   
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog              */

+ 2 - 1
Source/Templates/gcc/startup_stm32h7b3xx.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
    
    
 g_pfnVectors:
@@ -142,6 +141,8 @@ g_pfnVectors:
   .word  0
   .word  PendSV_Handler
   .word  SysTick_Handler
+
+  .size  g_pfnVectors, .-g_pfnVectors
   
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog              */

+ 2 - 1
Source/Templates/gcc/startup_stm32h7b3xxq.s

@@ -121,7 +121,6 @@ Infinite_Loop:
 *******************************************************************************/
    .section  .isr_vector,"a",%progbits
   .type  g_pfnVectors, %object
-  .size  g_pfnVectors, .-g_pfnVectors
    
    
 g_pfnVectors:
@@ -142,6 +141,8 @@ g_pfnVectors:
   .word  0
   .word  PendSV_Handler
   .word  SysTick_Handler
+
+  .size  g_pfnVectors, .-g_pfnVectors
   
   /* External Interrupts */
   .word     WWDG_IRQHandler                   /* Window WatchDog              */