2002-09-30 05:25:20 +00: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 02:53:17 +00:00
|
|
|
#ld: -shared -z nocombreloc
|
2002-09-30 05:25:20 +00:00
|
|
|
#objdump: -hw
|
|
|
|
|
|
|
|
.*: +file format elf.*
|
|
|
|
#...
|
|
|
|
.*\.relaplatypus.*
|
|
|
|
#...
|
|
|
|
.*\.rela\.plt.*
|
|
|
|
#...
|
|
|
|
.*\.relaechidna.*
|
|
|
|
#pass
|