binutils-gdb/ld/testsuite/ld-elf/relmain.c
Alan Modra 8877b5e517 bfd/
* elflink.c (_bfd_elf_make_dynamic_reloc_section): Override
	sh_type according to is_rela.
ld/testsuite/
	* ld-elf/rel.c, ld-elf/relmain.c, ld-elf/relmain.out: New test.
	* ld-elf/shared.exp: Build and run it.
2013-03-20 03:44:56 +00:00

8 lines
69 B
C

extern int eight (void);
int
main (void)
{
return eight () - 8;
}