Re: [PATCH] Fix gdb.dwarf2/clztest.exp with Clang

Rainer Orth
2020-11-02T19:31:20Z

Andreas Schwab <schwab@linux-m68k.org> writes:

> On Nov 02 2020, Gary Benson wrote:
>
>> A comment in that .S file indicated it was originally generated
>> using GCC (via gcc -dA -S -g -O2 clztest.c -o clztest.S) but that
>> was 2011, so maybe things changed.
>
> Modern compilers don't emit .eh_frame contents manually, but use cfi
> directives.

... if the assembler used supports those, which isn't always the case.

Rainer

--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University