mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 19:03:59 +08:00
sjlj.S: Adjust to use PIC vs normal code to avoid absolute relocation in a shared library.
* config/sh/sjlj.S: Adjust to use PIC vs normal code to avoid absolute relocation in a shared library. From-SVN: r263299
This commit is contained in:
parent
bc31a87ac7
commit
f6a9dfd369
@ -1,3 +1,8 @@
|
||||
2018-08-03 Sergei Trofimovich <slyfox@gentoo.org>
|
||||
|
||||
* config/sh/sjlj.S: Adjust to use PIC vs normal code to avoid
|
||||
absolute relocation in a shared library.
|
||||
|
||||
2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR libitm/85988
|
||||
|
BIN
libitm/config/sh/.sjlj.S.swp
Normal file
BIN
libitm/config/sh/.sjlj.S.swp
Normal file
Binary file not shown.
@ -53,7 +53,7 @@ _ITM_beginTransaction:
|
||||
#else
|
||||
cfi_def_cfa_offset (4*10)
|
||||
#endif
|
||||
#if defined HAVE_ATTRIBUTE_VISIBILITY || !defined __PIC__
|
||||
#if !defined __PIC__
|
||||
mov.l .Lbegin, r1
|
||||
jsr @r1
|
||||
mov r15, r5
|
||||
@ -78,7 +78,7 @@ _ITM_beginTransaction:
|
||||
|
||||
.align 2
|
||||
.Lbegin:
|
||||
#if defined HAVE_ATTRIBUTE_VISIBILITY || !defined __PIC__
|
||||
#if !defined __PIC__
|
||||
.long GTM_begin_transaction
|
||||
#else
|
||||
.long GTM_begin_transaction@PCREL-(.Lbegin0-.)
|
||||
|
Loading…
Reference in New Issue
Block a user