This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add CFI to x86_64 RTLD_START


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]