forked from Imagelibrary/rtems
riscv: Format assembler files
Use tabs to match the GCC generated assembler output. Update #3433.
This commit is contained in:
@@ -26,6 +26,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <bsp/linker-symbols.h>
|
#include <bsp/linker-symbols.h>
|
||||||
#include <rtems/score/riscv-utility.h>
|
#include <rtems/score/riscv-utility.h>
|
||||||
#include <rtems/score/cpu.h>
|
#include <rtems/score/cpu.h>
|
||||||
@@ -40,7 +41,9 @@ PUBLIC(bsp_start_vector_table_begin)
|
|||||||
PUBLIC(bsp_start_vector_table_end)
|
PUBLIC(bsp_start_vector_table_end)
|
||||||
PUBLIC(_start)
|
PUBLIC(_start)
|
||||||
|
|
||||||
.section .bsp_start_text, "wax"
|
.section .bsp_start_text, "ax", @progbits
|
||||||
|
.align 2
|
||||||
|
|
||||||
TYPE_FUNC(_start)
|
TYPE_FUNC(_start)
|
||||||
SYM(_start):
|
SYM(_start):
|
||||||
la t0, ISR_Handler
|
la t0, ISR_Handler
|
||||||
|
|||||||
@@ -33,8 +33,8 @@
|
|||||||
#include <rtems/asm.h>
|
#include <rtems/asm.h>
|
||||||
#include <rtems/score/cpu.h>
|
#include <rtems/score/cpu.h>
|
||||||
|
|
||||||
.section .text, "ax"
|
.section .text, "ax", @progbits
|
||||||
.align 4
|
.align 2
|
||||||
|
|
||||||
PUBLIC(_CPU_Context_switch)
|
PUBLIC(_CPU_Context_switch)
|
||||||
PUBLIC(_CPU_Context_restore)
|
PUBLIC(_CPU_Context_restore)
|
||||||
|
|||||||
@@ -30,8 +30,8 @@
|
|||||||
#include <rtems/asm.h>
|
#include <rtems/asm.h>
|
||||||
#include <rtems/score/cpu.h>
|
#include <rtems/score/cpu.h>
|
||||||
|
|
||||||
.section .text
|
.section .text, "ax", @progbits
|
||||||
|
.align 2
|
||||||
|
|
||||||
PUBLIC(_CPU_Context_validate)
|
PUBLIC(_CPU_Context_validate)
|
||||||
SYM(_CPU_Context_validate):
|
SYM(_CPU_Context_validate):
|
||||||
|
|||||||
@@ -29,7 +29,8 @@
|
|||||||
|
|
||||||
#include <rtems/asm.h>
|
#include <rtems/asm.h>
|
||||||
|
|
||||||
.section .text
|
.section .text, "ax", @progbits
|
||||||
|
.align 2
|
||||||
|
|
||||||
PUBLIC(_CPU_Context_volatile_clobber)
|
PUBLIC(_CPU_Context_volatile_clobber)
|
||||||
SYM(_CPU_Context_volatile_clobber):
|
SYM(_CPU_Context_volatile_clobber):
|
||||||
|
|||||||
@@ -45,8 +45,9 @@ EXTERN(bsp_start_vector_table_begin)
|
|||||||
EXTERN(_Thread_Dispatch)
|
EXTERN(_Thread_Dispatch)
|
||||||
PUBLIC(ISR_Handler)
|
PUBLIC(ISR_Handler)
|
||||||
|
|
||||||
.section .text, "ax"
|
.section .text, "ax", @progbits
|
||||||
.align 4
|
.align 2
|
||||||
|
|
||||||
TYPE_FUNC(ISR_Handler)
|
TYPE_FUNC(ISR_Handler)
|
||||||
SYM(ISR_Handler):
|
SYM(ISR_Handler):
|
||||||
addi sp, sp, -1 * 36 * CPU_SIZEOF_POINTER
|
addi sp, sp, -1 * 36 * CPU_SIZEOF_POINTER
|
||||||
|
|||||||
Reference in New Issue
Block a user