This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][AArch64] Add unwind info to __libc_start_main
- From: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, nd <nd at arm dot com>
- Date: Mon, 31 Jul 2017 16:10:37 +0000
- Subject: Re: [PATCH][AArch64] Add unwind info to __libc_start_main
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Wilco dot Dijkstra at arm dot com;
- Nodisclaimer: True
- References: <DB6PR0801MB205372EB7CB30BC3564DE1C083B20@DB6PR0801MB2053.eurprd08.prod.outlook.com>,<mvmzibkr7kc.fsf@suse.de>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Andreas Schwab wrote:
> > * sysdeps/aarch64/Makefile: Build libc-start.c with -fexceptions.
> In which way is that specific to aarch64? Why do you need exception
> support for unwinding (and not just -funwind-tables)?
It probably isn't - I just copied the code from ARM. But we could make
backtrace.c and libc-start.c always emit unwind tables on all targets.
I suppose -funwind-tables is sufficient in C code.
Wilco