Auto-alignment of vector table
And discovered fundamental difference between .align and .balign on ARM ftp://ftp.gnu.org/old-gnu/Manuals/gas/html_chapter/as_7.html
This commit is contained in:
parent
660771a06b
commit
d3152ca2ad
@ -4,7 +4,7 @@ godot_msg:
|
|||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
.align 4
|
.balign 4
|
||||||
.global _start
|
.global _start
|
||||||
_start:
|
_start:
|
||||||
/* Initialize stack pointers */
|
/* Initialize stack pointers */
|
||||||
|
@ -10,7 +10,6 @@ SECTIONS
|
|||||||
{
|
{
|
||||||
. = 0x40000000;
|
. = 0x40000000;
|
||||||
.text : ALIGN(0x1000) {
|
.text : ALIGN(0x1000) {
|
||||||
obj/s_vectab.o (.text)
|
|
||||||
*(.text)
|
*(.text)
|
||||||
} > m_text
|
} > m_text
|
||||||
.data : ALIGN(0x1000) {
|
.data : ALIGN(0x1000) {
|
||||||
|
@ -16,7 +16,7 @@ fiq_msg:
|
|||||||
.string "FIQ"
|
.string "FIQ"
|
||||||
|
|
||||||
.text
|
.text
|
||||||
.align 4
|
.balign 32
|
||||||
.global vectab
|
.global vectab
|
||||||
vectab:
|
vectab:
|
||||||
ldr pc, =panic
|
ldr pc, =panic
|
||||||
|
Loading…
Reference in New Issue
Block a user