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] Enable unwind info in libc-start.c and backtrace.c


On 08/09/2017 07:46 AM, Wilco Dijkstra wrote:
> After feedback on https://sourceware.org/ml/libc-alpha/2017-07/msg01010.html
> here is the updated patch:
> 
> Add unwind info to __libc_start_main so that unwinding continues one
> extra level to _start.  Similarly add unwind info to backtrace.
> Given many targets require this, do this in a general way and remove
> -funwind-tables (or -fexceptions - which is identical in C) from several
> target makefiles.
> 
> ChangeLog:
> 2017-08-09  Wilco Dijkstra  <wdijkstr@arm.com>
> 
>         * sysdeps/aarch64/Makefile: Build libc-start.c with -fexceptions.
>         * csu/Makefile: Add -funwind-tables to libc-start.c.
>         * debug/Makefile: Add -funwind-tables to backtrace.c.
>         * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
>         * sysdeps/arm/Makefile: Likewise.
>         * sysdeps/i386/Makefile: Likewise.
>         * sysdeps/m68k/Makefile: Likewise.
>         * sysdeps/mips/Makefile: Likewise.
>         * sysdeps/nios2/Makefile: Likewise.
>         * sysdeps/sh/Makefile: Likewise.
>         * sysdeps/sparc/Makefile: Likewise.

This looks god to me, but I'd like to know what machines you've tested on?

If you tested on aarch64, i386, and arm (v7), then I'd say you've done enough
to show it work on 64-bit and 32-bit for relevant machines.

-- 
Cheers,
Carlos.


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