diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-01-25 13:33:13 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-01-26 08:57:47 -0300 |
commit | e4ba8fee1a8feea62f9f06099a116163848338db (patch) | |
tree | 3190fab7d82a66e03feabd0a7671acb907fb6182 /elf/tst-p_alignmod2-edit.c | |
parent | 4f20a1dc5242fb4bb8763e0451df898fa48e740c (diff) | |
download | glibc-e4ba8fee1a8feea62f9f06099a116163848338db.tar glibc-e4ba8fee1a8feea62f9f06099a116163848338db.tar.gz glibc-e4ba8fee1a8feea62f9f06099a116163848338db.tar.bz2 glibc-e4ba8fee1a8feea62f9f06099a116163848338db.zip |
elf: Replace tst-p_alignmod1-editX with a python script
This avoid the cross-compiling breakage when the test should not run
($(run-built-tests) equal to no).
Checked on x86_64-linux-gnu and i686-linux-gnu as well with a cross
compile to aarch64-linux-gnu and powerpc64-linux-gnu.
Diffstat (limited to 'elf/tst-p_alignmod2-edit.c')
-rw-r--r-- | elf/tst-p_alignmod2-edit.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/elf/tst-p_alignmod2-edit.c b/elf/tst-p_alignmod2-edit.c deleted file mode 100644 index 4c2ae65b4e..0000000000 --- a/elf/tst-p_alignmod2-edit.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Set p_align of the first PT_LOAD segment to 1. - Copyright (C) 2022 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/>. */ - -#include "tst-elf-edit.h" - -/* Set p_align to 1. */ - -static size_t -update_p_align (size_t p_align __attribute__ ((unused))) -{ - return 1; -} |