base-linux: Drop parentheses from .cfi_undefined.

According to GNU as manual the syntax of this directive is:
  .cfi_undefined register

The manual does not mention the register should be in parentheses.
This works in GNU as even when those are present, but unfortunately
clang integrated-as does not parse this correctly. Both GNU and
clang's integrated assembler work fine when the extra parentheses
are omitted.

Fixes #3986
This commit is contained in:
Piotr Tworek 2020-11-19 00:41:01 +01:00 committed by Norman Feske
parent 8b172bf22e
commit e6a9e06f62

View File

@ -50,7 +50,7 @@ L(pseudo_end):
L(thread_start):
.cfi_startproc
/* Clearing frame pointer is insufficient, use CFI. */
.cfi_undefined (%rip);
.cfi_undefined %rip;
/* Clear the frame pointer. The ABI suggests this be done, to mark
the outermost frame obviously. */