public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Adhemerval Zanella <azanella@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc/azanella/clang] elf: Use libsupport on unload4 test
Date: Fri, 13 May 2022 14:24:10 +0000 (GMT)	[thread overview]
Message-ID: <20220513142410.86E20396E411@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f5fbaa5e8e89c4d6d238331bf56b0f8dd3fc88af

commit f5fbaa5e8e89c4d6d238331bf56b0f8dd3fc88af
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 28 21:19:24 2022 +0000

    elf: Use libsupport on unload4 test

Diff:
---
 elf/unload4.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/elf/unload4.c b/elf/unload4.c
index 6e171a22e0..8d3bb89c70 100644
--- a/elf/unload4.c
+++ b/elf/unload4.c
@@ -2,8 +2,8 @@
 #include <stdio.h>
 #include <malloc.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
 #ifdef M_PERTURB
   mallopt (M_PERTURB, 0xaa);
@@ -46,3 +46,5 @@ main (void)
   dlclose (h);
   return 0;
 }
+
+#include <support/test-driver.c>


             reply	other threads:[~2022-05-13 14:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-13 14:24 Adhemerval Zanella [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-06-09 21:24 Adhemerval Zanella
2022-06-09 13:21 Adhemerval Zanella
2022-06-03 14:10 Adhemerval Zanella
2022-05-12 19:37 Adhemerval Zanella
2022-05-10 18:28 Adhemerval Zanella
2022-04-29 14:08 Adhemerval Zanella
2022-04-04 12:58 Adhemerval Zanella
2022-03-31 19:10 Adhemerval Zanella
2022-03-29 20:35 Adhemerval Zanella

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220513142410.86E20396E411@sourceware.org \
    --to=azanella@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).