317316abcd 发表于 2008-03-29 17:07

请教一个小小的GAS汇编的问题

1 # gas command test
2 .section .data
3   value:
4   .int 1, 2, 3, 4, 5, 6
5   valu:
6   .quad 1, 2, 3, 4, 5, 6
7 .section .bss
8   .lcomm buffer,100
9 .section .text
10   .equ LINUX, 5
11 .globl _start
12_start:
13      nop
14      pushl $0
15      call exit
16
~
我用GDB调试后 x/6gd &valu它说没有定义这个符号 这是怎么回事?
页: [1]
查看完整版本: 请教一个小小的GAS汇编的问题