]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - posix/_exit.c
elf: Refuse to dlopen PIE objects [BZ #24323]
[thirdparty/glibc.git] / posix / _exit.c
index a8f1b58e418499f54d03b3bb916396e631cff3ea..028618d5b26b2fe3ddf293cccdafe334c36e64dd 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,94,95,96,97,99,2002 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
    terminate program execution, using the low-order 8 bits of the
    given integer as status.  */
 void
-_exit (status)
-     int status;
+_exit (int status)
 {
   status &= 0xff;
   abort ();
 }
 libc_hidden_def (_exit)
+rtld_hidden_def (_exit)
 weak_alias (_exit, _Exit)
 
 stub_warning (_exit)
-#include <stub-tag.h>