summaryrefslogtreecommitdiffstats
path: root/board/AtmarkTechno/suzaku/suzaku.c
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-11-25 11:09:59 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-12-02 08:46:14 +0100
commitcbb5ef3d18ba7dfed9324985ea70b6bd9203622f (patch)
treedacdbf3c231b8e5762c48a988f9046af36f5b4fa /board/AtmarkTechno/suzaku/suzaku.c
parentff311b972cfebcb7082bb45d098753b517ec0f70 (diff)
downloadbarebox-master.tar.gz
barebox-master.tar.xz
ARM64: asm: mark __barebox_arm64_head as functionHEADmaster
Calling objdump -d on the PBL ELF file will not disassemble the instructions comprising __barebox_arm64_head and instead will just print a hexdump. This is because we use linker magic to get the section in front of the text segment and GAS fails to detect that __barebox_arm64_head too is of function type. This is no longer the case with ENDPROC as it uses the GAS .type directive to explicitly mark a symbol as being a function: #define ENDPROC(name) \ .type name, @function; \ END(name) This only has effect on the ELF and introduces no functional change for the objcopied image. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20221125100959.3981619-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'board/AtmarkTechno/suzaku/suzaku.c')
0 files changed, 0 insertions, 0 deletions