aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/riscv
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-11-28 14:36:42 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-12-02 17:14:58 +0000
commit17a43505b36cc174e5ece1b54e629396b66a8767 (patch)
tree51a9460967c4edd3842e5a8e7a855efa6f744f7d /sysdeps/riscv
parentb7d4de086ce7fcc531cdd67a61dc27b5b3eff482 (diff)
downloadglibc-17a43505b36cc174e5ece1b54e629396b66a8767.zip
glibc-17a43505b36cc174e5ece1b54e629396b66a8767.tar.gz
glibc-17a43505b36cc174e5ece1b54e629396b66a8767.tar.bz2
elf: Consolidate stackinfo.h
And use sane default the generic implementation. Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps/riscv')
-rw-r--r--sysdeps/riscv/stackinfo.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/sysdeps/riscv/stackinfo.h b/sysdeps/riscv/stackinfo.h
deleted file mode 100644
index a786d4f..0000000
--- a/sysdeps/riscv/stackinfo.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Stack environment definitions for RISC-V.
- Copyright (C) 2011-2024 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
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library. If not, see
- <https://www.gnu.org/licenses/>. */
-
-/* This file contains a bit of information about the stack allocation
- of the processor. */
-
-#ifndef _STACKINFO_H
-#define _STACKINFO_H 1
-
-#include <elf.h>
-
-/* On RISC-V the stack grows down. */
-#define _STACK_GROWS_DOWN 1
-
-/* Default to a non-executable stack. */
-#define DEFAULT_STACK_PERMS (PF_R | PF_W)
-
-#endif /* stackinfo.h */