mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
8877b5e517
* 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.
8 lines
69 B
C
8 lines
69 B
C
extern int eight (void);
|
|
|
|
int
|
|
main (void)
|
|
{
|
|
return eight () - 8;
|
|
}
|