1 arm-none-eabi-gcc
-c debug_handler.S
-o debug_handler.o
2 arm-none-eabi-ld
-EL -n -Tdebug_handler.cmd debug_handler.o
-o debug_handler.out
3 arm-none-eabi-objcopy
-O binary debug_handler.out debug_handler.bin
5 #arm-none-eabi-gcc -mbig-endian -c debug_handler.S -o debug_handler_be.o
6 #arm-none-eabi-ld -EB -n -Tdebug_handler.cmd debug_handler_be.o -o debug_handler_be.out
7 #arm-none-eabi-objcopy -O binary debug_handler_be.out debug_handler_be.bin