Last change
on this file since 1973 was 1973, checked in by Silvan Scherrer, 8 years ago |
binutils: update trunk to version 2.27
|
File size:
358 bytes
|
Line | |
---|
1 | .section my_section,"aw",@progbits
|
---|
2 | .long 0x12345678
|
---|
3 | .text
|
---|
4 | .globl foo
|
---|
5 | .type foo, @function
|
---|
6 | foo:
|
---|
7 | ret
|
---|
8 | .size foo, .-foo
|
---|
9 | .globl _start
|
---|
10 | .type _start, @function
|
---|
11 | _start:
|
---|
12 | movl foo@GOT(%ecx), %eax
|
---|
13 | movl bar@GOT(%ecx), %eax
|
---|
14 | movl __start_my_section@GOT(%ecx), %eax
|
---|
15 | movl __stop_my_section@GOT(%ecx), %eax
|
---|
16 | .size _start, .-_start
|
---|
17 | .comm pad,4,4
|
---|
18 | .comm bar,4,4
|
---|
Note:
See
TracBrowser
for help on using the repository browser.