diff options
author | Cary Coutant <ccoutant@google.com> | 2010-09-12 19:58:02 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2010-09-12 19:58:02 +0000 |
commit | d89051bdb1e0cf96b89a41c1e0bda50ee1bc288a (patch) | |
tree | ac956adca25f822cb2d6b8d51438e2ce2309a39b /gold/testsuite/Makefile.am | |
parent | e866c49707d6b97b6763baddaa2773e4ee893102 (diff) | |
download | gdb-d89051bdb1e0cf96b89a41c1e0bda50ee1bc288a.zip gdb-d89051bdb1e0cf96b89a41c1e0bda50ee1bc288a.tar.gz gdb-d89051bdb1e0cf96b89a41c1e0bda50ee1bc288a.tar.bz2 |
* symtab.h (Symbol::needs_dynamic_reloc): Non-PIC calls from
position-independent executables to shared libraries need dynamic
relocations.
(Symbol::may_need_copy_reloc): Do not generate COPY relocs in
position-independent executables.
* testsuite/Makefile.am (two_file_mixed_pie_test): New test.
* testsuite/Makefile.in: Regenerate.
Diffstat (limited to 'gold/testsuite/Makefile.am')
-rw-r--r-- | gold/testsuite/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index c79c856..064f44d 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -461,6 +461,11 @@ two_file_mixed_2_shared_test_DEPENDENCIES = gcctestdir/ld two_file_shared_mixed_ two_file_mixed_2_shared_test_LDFLAGS = -Bgcctestdir/ -Wl,-R,. two_file_mixed_2_shared_test_LDADD = two_file_shared_mixed_1.so two_file_shared_2.so +check_PROGRAMS += two_file_mixed_pie_test +two_file_mixed_pie_test: two_file_test_1.o two_file_test_1b_pie.o \ + two_file_test_main_pie.o two_file_shared_2.so gcctestdir/ld + $(CXXLINK) -Bgcctestdir/ -Wl,-R,. -pie two_file_test_1.o two_file_test_1b_pie.o two_file_test_main_pie.o two_file_shared_2.so + endif FN_PTRS_IN_SO_WITHOUT_PIC check_PROGRAMS += two_file_strip_test |