[PATCH] Add CFI to x86_64 RTLD_START
Andreas Schwab
schwab@linux-m68k.org
Mon Jul 4 18:23:00 GMT 2016
Keno Fischer <keno@juliacomputing.com> writes:
> diff --git a/sysdeps/x86_64/dl-machine.h b/sysdeps/x86_64/dl-machine.h
> index ed0c1a8..7a246d4 100644
> --- a/sysdeps/x86_64/dl-machine.h
> +++ b/sysdeps/x86_64/dl-machine.h
> @@ -141,10 +141,15 @@ elf_machine_runtime_setup (struct link_map *l,
> int lazy, int profile)
> .align 16\n\
> .globl _start\n\
> .globl _dl_start_user\n\
> -_start:\n\
> +_start:\n"\
> +CFI_STARTPROC "\n"\
> +CFI_UNDEFINED(%rip) "\n\
No need for backslash continuation outside of the string literals.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libc-alpha
mailing list