Static executable segfaults if location counter is initialized as too small or too large in linker script

前端 未结 0 1930
夕颜
夕颜 2021-01-13 06:50

I\'m trying to generate a static executable for this program (with musl):

main.asm:

.section .text
    .global main

main:
    mov $msg1, %rdi
    mov          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题