2002-09-30 05:35:18 +02:00
|
|
|
# Test that orphan reloc sections are placed before .rel.plt even when
|
|
|
|
# .rel.plt is the only reloc section.
|
|
|
|
#source: reloc.s
|
|
|
|
#as: --32
|
2002-10-10 04:53:17 +02:00
|
|
|
#ld: -shared -melf_i386 -z nocombreloc
|
2002-09-30 05:35:18 +02:00
|
|
|
#objdump: -hw
|
|
|
|
#target: i?86-*-*
|
|
|
|
|
|
|
|
.*: +file format elf32-i386
|
|
|
|
#...
|
|
|
|
.*\.relplatypus.*
|
|
|
|
#...
|
|
|
|
.*\.rel\.plt.*
|
|
|
|
# x86 ld doesn't output non-alloc reloc sections to shared libs, so disable
|
|
|
|
# the following two lines for the time being.
|
|
|
|
# #...
|
|
|
|
# .*\.relechidna.*
|
|
|
|
#pass
|