[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/27973] ld x86: Allow direct access to protected function symbols
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/27973] ld x86: Allow direct access to protected function symbols |
Date: |
Thu, 17 Jun 2021 17:26:41 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27973
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b6b42983720c2d88f680ef7679f41c3ff95daae1
commit b6b42983720c2d88f680ef7679f41c3ff95daae1
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Jun 17 10:19:29 2021 -0700
x86-64: Test protected function pointers
On x86-64, function pointers in executable for external funtions may be
resolved to their PLT entries in executable. If it happens, function
pointers of protected funtions in shared libraries must be resolved to
the PLT entries in executable, not addresses of protected funtions in
shared libraries.
PR ld/27973
* testsuite/ld-x86-64/x86-64.exp: Run protected function tests.
* testsuite/ld-x86-64/protected-func-1.h: New file.
* testsuite/ld-x86-64/protected-func-1a.s: Likewise.
* testsuite/ld-x86-64/protected-func-1b.c: Likewise.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/27973] New: ld x86: Allow direct access to protected function symbols, i at maskray dot me, 2021/06/10
- [Bug ld/27973] ld x86: Allow direct access to protected function symbols, i at maskray dot me, 2021/06/10
- [Bug ld/27973] ld x86: Allow direct access to protected function symbols, i at maskray dot me, 2021/06/12
- [Bug ld/27973] ld x86: Allow direct access to protected function symbols,
cvs-commit at gcc dot gnu.org <=
- [Bug ld/27973] ld x86: Allow direct access to protected function symbols, cvs-commit at gcc dot gnu.org, 2021/06/17
- [Bug ld/27973] ld x86: Allow direct access to protected function symbols, hjl.tools at gmail dot com, 2021/06/17
- [Bug ld/27973] ld x86: Allow direct access to protected function symbols, hjl.tools at gmail dot com, 2021/06/17