glibc/sysdeps/aarch64
Wang Boshi 6cd380dd36 AArch64: use movz/movk instead of literal pools in start.S
eXecute-Only Memory (XOM) is a protection mechanism against some ROP
attacks. XOM sets the code as executable and unreadable, so the access
to any data, like literal pools, in the code section causes the fault
with XOM. The compiler can disable literal pools for C source files,
but not for assembly files, so I use movz/movk instead of literal pools
in start.S for XOM.

I add MOVL macro with movz/movk instructions like movl pseudo-instruction
in armasm, and use the macro instead of literal pools.

	* sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
	* sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
2017-09-18 18:15:47 +01:00
..
bits Remove bits/string.h. 2017-06-20 08:21:24 -04:00
fpu ILP32 math changes 2017-08-31 13:38:11 -07:00
multiarch memcpy_falkor: Fix code style in comments 2017-08-09 12:57:59 +05:30
nptl Optimize generic spinlock code and use C11 like atomic macros. 2017-06-06 09:41:56 +02:00
soft-fp
__longjmp.S
abort-instr.h
atomic-machine.h Optimize generic spinlock code and use C11 like atomic macros. 2017-06-06 09:41:56 +02:00
backtrace.c
bsd-_setjmp.S
bsd-setjmp.S
configure
configure.ac
crti.S
crtn.S
dl-irel.h Change argument type passed to ifunc resolvers 2017-08-31 10:34:55 -07:00
dl-link.sym
dl-machine.h [AArch64] Use hidden __GI__dl_argv in rtld startup code 2017-06-21 14:54:11 +01:00
dl-sysdep.h
dl-tls.h
dl-tlsdesc.h elf: Remove internal_function attribute 2017-08-31 16:59:37 +02:00
dl-tlsdesc.S aarch64: Use PTR_REG macro to fix ILP32 bug and make code consistent 2017-08-22 16:22:05 -07:00
dl-trampoline.S
dl-tunables.list tunables, aarch64: New tunable to override cpu 2017-06-30 22:58:39 +05:30
Implies
jmpbuf-offsets.h
jmpbuf-unwind.h
ldsodefs.h
libc-tls.c
libm-test-ulps Obsolete pow10 functions. 2017-09-01 21:13:18 +00:00
libm-test-ulps-name
linkmap.h
machine-gmon.h
Makefile
math-tests.h
mcount.c
memchr.S
memcmp.S [AArch64] Optimized memcmp. 2017-08-10 17:00:38 +01:00
memcpy.S
memmove.S
memset.S
memusage.h
preconfigure
rawmemchr.S
setjmp.S
sotruss-lib.c
stackinfo.h
start.S AArch64: use movz/movk instead of literal pools in start.S 2017-09-18 18:15:47 +01:00
stpcpy.S
strchr.S
strchrnul.S
strcmp.S
strcpy.S
string_private.h
strlen.S
strncmp.S
strnlen.S
strrchr.S
sysdep.h AArch64: use movz/movk instead of literal pools in start.S 2017-09-18 18:15:47 +01:00
tls-macros.h
tlsdesc.c elf: Remove internal_function attribute 2017-08-31 16:59:37 +02:00
tlsdesc.sym
tst-audit.h
Versions