This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v6] Remove Linuxism from tst-tls-atexit
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: "Siddhesh Poyarekar" <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org, roland at hack dot frob dot com, carlos at redhat dot com
- Date: Mon, 20 Jul 2015 19:04:55 +0200
- Subject: Re: [PATCH v6] Remove Linuxism from tst-tls-atexit
- Authentication-results: sourceware.org; auth=none
- References: <55ACF201 dot 6010505 at redhat dot com> <1437410196-24683-1-git-send-email-siddhesh at redhat dot com>
"Siddhesh Poyarekar" <siddhesh@redhat.com> writes:
> The tst-tls-atexit test case searches for its module in /proc/PID/maps
> to verify that it is unloaded, which is a Linux-specific test. This
> patch makes the test generic by trying to call foo (the symbol
> obtained from dlsym) and traps SIGSEGV momentarily to see if the crash
> occurred.
This is no longer true. :-)
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."