internal relocation not fixed up
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: i recently started assembler programming for arm cores. My first little demos, only with the .text section, ran without any problems. As a logical extension i wanted to structure the assembler code into the usual sections: .text, .data, .bss . So i wrote the following simple program: .globl _start .section .text _start: b main b . b . b . b . b . b . b . main: ldr r0, x nop .section .data x: .word 0xf0f0f0f0 .end But /opt/arm/bin/arm-as -ggdb -mcpu=arm7tdmi demo.s -o demo.o exits with the error prog.s: Assembler messages: prog.s:17: Error: