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
|
||||
|
||||
.align 4
|
||||
.balign 4
|
||||
.global _start
|
||||
_start:
|
||||
/* Initialize stack pointers */
|
||||
|
@ -10,7 +10,6 @@ SECTIONS
|
||||
{
|
||||
. = 0x40000000;
|
||||
.text : ALIGN(0x1000) {
|
||||
obj/s_vectab.o (.text)
|
||||
*(.text)
|
||||
} > m_text
|
||||
.data : ALIGN(0x1000) {
|
||||
|
@ -16,7 +16,7 @@ fiq_msg:
|
||||
.string "FIQ"
|
||||
|
||||
.text
|
||||
.align 4
|
||||
.balign 32
|
||||
.global vectab
|
||||
vectab:
|
||||
ldr pc, =panic
|
||||
|
Loading…
Reference in New Issue
Block a user