aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config/pa
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2016-06-18 17:49:58 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2016-06-18 17:49:58 +0000
commit85d37f5ca408ad4071ee0299d409fa6e4ab38a2d (patch)
treeab3377fe7110af9cd87960fc12ed25f2aa323c61 /libgcc/config/pa
parent44e9fe3f5c6aaa047ee840b4c7af7ffda8293a91 (diff)
* config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
least-significant bit in function pointer for fixup. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@237574 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config/pa')
-rw-r--r--libgcc/config/pa/fptr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/config/pa/fptr.c b/libgcc/config/pa/fptr.c
index 3febc9062db..7a5ea7b00f5 100644
--- a/libgcc/config/pa/fptr.c
+++ b/libgcc/config/pa/fptr.c
@@ -113,7 +113,7 @@ __canonicalize_funcptr_for_compare (fptr_t fptr)
/* Build a plabel for an indirect call to _dl_fixup. */
fixup_plabel[0] = (unsigned int) iptr + 8; /* address of fixup */
fixup_plabel[1] = got[-1]; /* ltp for fixup */
- fixup = (fixup_t) ((int) fixup_plabel | 3);
+ fixup = (fixup_t) ((int) fixup_plabel | 2);
/* Call fixup to resolve the function address. got[1] contains the
link_map pointer and plabel[1] the relocation offset. */