aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBin Cheng <bin.cheng@arm.com>2014-08-14 02:10:05 +0000
committerBin Cheng <amker@gcc.gnu.org>2014-08-14 02:10:05 +0000
commit0b3a20e31d96b6344daef97cb16540d19723ea0a (patch)
tree5f1bdec042e0edca56196607aeff1fc83e6547f7 /gcc
parentbc54cc9a169b894d1a7a52df0fb0641f8ea0c203 (diff)
downloadgcc-0b3a20e31d96b6344daef97cb16540d19723ea0a.zip
gcc-0b3a20e31d96b6344daef97cb16540d19723ea0a.tar.gz
gcc-0b3a20e31d96b6344daef97cb16540d19723ea0a.tar.bz2
addrtmp.c: Add bind_pic_locally option.
testcases * c-c++-common/addrtmp.c: Add bind_pic_locally option. From-SVN: r213937
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/c-c++-common/addrtmp.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 536485a..e122b50 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2014-08-14 Bin Cheng <bin.cheng@arm.com>
+
+ * c-c++-common/addrtmp.c: Add bind_pic_locally option.
+
2014-08-12 Marek Polacek <polacek@redhat.com>
* gcc.dg/concat.c: Add dg-options.
diff --git a/gcc/testsuite/c-c++-common/addrtmp.c b/gcc/testsuite/c-c++-common/addrtmp.c
index 3b8140c..3de0175e 100644
--- a/gcc/testsuite/c-c++-common/addrtmp.c
+++ b/gcc/testsuite/c-c++-common/addrtmp.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2" } */
+/* { dg-add-options bind_pic_locally } */
typedef struct A { int a,b; } A;
int*g(int*x){return x;}