From Cary Coutant: Fix mixing PIC and non-PIC relocs in the same

shared library.
This commit is contained in:
Ian Lance Taylor
2008-01-23 07:15:59 +00:00
parent 7bf81d6302
commit 0700cf329e
8 changed files with 105 additions and 32 deletions

View File

@@ -33,6 +33,12 @@ t1_2()
return 123;
}
bool
t1a()
{
return t1_2() == 123;
}
// 2 Code in file 1 refers to global data in file 2.
int v2 = 456;