* i386.cc (Target_i386::got_section): If -z now, make .got.plt a
authorIan Lance Taylor <ian@airs.com>
Wed, 13 Jul 2011 22:47:08 +0000 (22:47 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 13 Jul 2011 22:47:08 +0000 (22:47 +0000)
commit9446efde0abc5a3cff716eb2879bf99e3251165f
treebd6e9ba7326f0617dfa3acc50d0dab8d3fef2c0d
parent67f41397ce652a92b8160eb15de66c33b598a376
* i386.cc (Target_i386::got_section): If -z now, make .got.plt a
relro section.
* x86_64.cc (Target_x86_64::got_section): Likewise.
* testsuite/Makefile.am (check_PROGRAMS): Add relro_now_test.
(relro_now_test_SOURCES): New variable.
(relro_now_test_DEPENDENCIES): New variable.
(relro_now_test_LDFLAGS): New variable.
(relro_now_test_LDADD): New variable.
(relro_now_test.so): New target.
* testsuite/Makefile.in: Rebuild.
gold/ChangeLog
gold/i386.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/x86_64.cc