Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Aidan Foster
libglvnd
Commits
c8ee0055
Commit
c8ee0055
authored
Feb 24, 2022
by
Kyle Brenneman
Browse files
Merge branch 'master' into 'master'
Add BTI landing pads for aarch64 See merge request
glvnd/libglvnd!262
parents
b2f8babe
7107f739
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/GLX/glvnd_genentry.c
View file @
c8ee0055
...
...
@@ -90,6 +90,7 @@ extern char glx_entrypoint_end[];
#define STUB_SIZE 16
#define STUB_ASM_ARCH(slot) \
"hint #34\n" \
"adrp x16, entrypointFunctions + " slot "*8\n" \
"ldr x16, [x16, #:lo12:(entrypointFunctions + " slot "*8)]\n" \
"br x16\n"
...
...
src/GLdispatch/vnd-glapi/entry_aarch64_tsd.c
View file @
c8ee0055
...
...
@@ -69,6 +69,7 @@
* table then does a branch without link to the function address.
*/
#define STUB_ASM_CODE(slot) \
"hint #34\n\t" \
"stp x1, x0, [sp, #-16]!\n\t" \
"adrp x0, :got:_glapi_Current\n\t" \
"ldr x0, [x0, #:got_lo12:_glapi_Current]\n\t" \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment