mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
From Cary Coutant: Fix mixing PIC and non-PIC relocs in the same
shared library.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user