| 1 |
#source: keepdot.s |
| 2 |
#ld: --gc-sections -Bstatic -e _start -T keepdot0.ld |
| 3 |
#name: Preserve explicit . = 0 |
| 4 |
#objdump: -h |
| 5 |
|
| 6 |
# Check that GC:ing does not mess up the value for dot when specified |
| 7 |
# as 0. |
| 8 |
|
| 9 |
#... |
| 10 |
[ ]+.[ ]+\.myinit[ ]+0+[48][ ]+0+[ ]+0+ .* |
| 11 |
#pass |