blob: d4b66aab5e69d60e3ab9c2588660fd13a693ede1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* Check that pointing into padding zeros of string sections works. */
.section .rodata.str1.1,"aMS",@progbits,1
.string ""
.LC0:
.string "foobar"
1:
.string ""
.string "whatever"
.section .data
.globl addr_of_str
.type addr_of_str, @object
addr_of_str:
.dc.a str
.globl addr_of_str2
.type addr_of_str2, @object
addr_of_str2:
.dc.a 1b
.section .rodata
.type str, @object
.size str, 7
str:
.string "foobar"
.section .note.GNU-stack,"",@progbits
|