2002-09-30 07:25:20 +02:00
|
|
|
# Test that orphan reloc sections are placed before .rela.plt even when
|
|
|
|
# .rela.plt is the only reloc section. Also tests that orphan non-alloc
|
|
|
|
# reloc sections go after alloc sections.
|
|
|
|
|
|
|
|
#source: reloc.s
|
2002-10-10 04:53:17 +02:00
|
|
|
#ld: -shared -z nocombreloc
|
2002-09-30 07:25:20 +02:00
|
|
|
#objdump: -hw
|
|
|
|
|
|
|
|
.*: +file format elf.*
|
|
|
|
#...
|
|
|
|
.*\.relaplatypus.*
|
|
|
|
#...
|
|
|
|
.*\.rela\.plt.*
|
|
|
|
#...
|
|
|
|
.*\.relaechidna.*
|
|
|
|
#pass
|