From 8877b5e517baa355c68568e7c5e3ed01d277254a Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 20 Mar 2013 03:44:56 +0000 Subject: 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. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-elf/rel.c | 9 +++++++++ ld/testsuite/ld-elf/relmain.c | 7 +++++++ ld/testsuite/ld-elf/relmain.out | 0 ld/testsuite/ld-elf/shared.exp | 6 ++++++ 5 files changed, 27 insertions(+) create mode 100644 ld/testsuite/ld-elf/rel.c create mode 100644 ld/testsuite/ld-elf/relmain.c create mode 100644 ld/testsuite/ld-elf/relmain.out (limited to 'ld/testsuite') diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 9d2fe1b..3dfdfa2 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,4 +1,9 @@ 2013-03-20 Alan Modra + + * 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 Alan Modra Will Newton