Skip to content

Commit 6965ad3

Browse files
authored
Merge pull request #298 from NixOS/cleanups
Cleanups
2 parents 59d529f + 2982586 commit 6965ad3

File tree

6 files changed

+12
-5
lines changed

6 files changed

+12
-5
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,9 @@ Makefile
2323
/tests/no-rpath
2424
/tests/no-rpath-*.sh
2525
/tests/*.so
26+
/tests/scratch
27+
/tests/main
28+
/tests/simple
29+
/tests/too-many-strtab
30+
/tests/big-dynstr*
31+
/tests/main-scoped

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
patchelf-new = final.stdenv.mkDerivation {
2828
name = "patchelf-${self.hydraJobs.tarball.version}";
2929
src = "${self.hydraJobs.tarball}/tarballs/*.tar.bz2";
30+
nativeBuildInputs = [ pkgs.autoreconfHook ];
3031
doCheck = true;
3132
};
3233

tests/Makefile.am

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
LIBS =
22

3-
check_PROGRAMS = simple main too-many-strtab main-scoped big-dynstr no-rpath contiguous_note_sections
3+
check_PROGRAMS = simple main too-many-strtab main-scoped big-dynstr no-rpath contiguous-note-sections
44

55
no_rpath_arch_TESTS = \
66
no-rpath-amd64.sh \
@@ -30,7 +30,7 @@ src_TESTS = \
3030
build-id.sh \
3131
invalid-elf.sh \
3232
endianness.sh \
33-
contiguous_note_sections.sh \
33+
contiguous-note-sections.sh \
3434
no-gnu-hash.sh
3535

3636
build_TESTS = \
@@ -114,6 +114,6 @@ no_rpath_SOURCES = no-rpath.c
114114
# no -fpic for no-rpath.o
115115
no_rpath_CFLAGS =
116116

117-
contiguous_note_sections_SOURCES = contiguous_note_sections.s contiguous_note_sections.ld
118-
contiguous_note_sections_LDFLAGS = -nostdlib -T contiguous_note_sections.ld
117+
contiguous_note_sections_SOURCES = contiguous-note-sections.s contiguous-note-sections.ld
118+
contiguous_note_sections_LDFLAGS = -nostdlib -T contiguous-note-sections.ld
119119
contiguous_note_sections_CFLAGS = -pie
File renamed without changes.
File renamed without changes.

tests/contiguous_note_sections.sh renamed to tests/contiguous-note-sections.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Running --set-interpreter on this binary should not produce the following
44
# error:
55
# patchelf: cannot normalize PT_NOTE segment: non-contiguous SHT_NOTE sections
6-
../src/patchelf --set-interpreter ld-linux-x86-64.so.2 contiguous_note_sections
6+
../src/patchelf --set-interpreter ld-linux-x86-64.so.2 contiguous-note-sections

0 commit comments

Comments
 (0)