2002-02-05 07:45:16 +01:00
|
|
|
#source: keepdot.s
|
2002-10-12 17:40:13 +02:00
|
|
|
#ld: --gc-sections -Bstatic -e _start -T keepdot0.ld
|
2002-02-05 07:45:16 +01:00
|
|
|
#name: Preserve explicit . = 0
|
|
|
|
#objdump: -h
|
|
|
|
|
|
|
|
# Check that GC:ing does not mess up the value for dot when specified
|
|
|
|
# as 0.
|
|
|
|
|
|
|
|
#...
|
|
|
|
[ ]+.[ ]+\.myinit[ ]+0+[48][ ]+0+[ ]+0+ .*
|
|
|
|
#pass
|