diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2016-06-18 17:49:58 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2016-06-18 17:49:58 +0000 |
commit | 9f92937bdca6dcddba0fc2de5a5218e01881b0a7 (patch) | |
tree | ab3377fe7110af9cd87960fc12ed25f2aa323c61 /libgcc/config | |
parent | 81d8cd9b33d6913c3a484289ac15f3d75b113155 (diff) | |
download | gcc-9f92937bdca6dcddba0fc2de5a5218e01881b0a7.zip gcc-9f92937bdca6dcddba0fc2de5a5218e01881b0a7.tar.gz gcc-9f92937bdca6dcddba0fc2de5a5218e01881b0a7.tar.bz2 |
fptr.c (__canonicalize_funcptr_for_compare): Don't set least-significant bit in function pointer for fixup.
* config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
least-significant bit in function pointer for fixup.
From-SVN: r237574
Diffstat (limited to 'libgcc/config')
-rw-r--r-- | libgcc/config/pa/fptr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/config/pa/fptr.c b/libgcc/config/pa/fptr.c index 3febc90..7a5ea7b 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. */ |