]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Split the top level .gitignore file
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 20 Dec 2020 08:00:00 +0000 (08:00 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 20 Dec 2020 08:00:00 +0000 (08:00 +0000)
Move subdirectory parts of the top level .gitignore into appropriate
subdirectories.  This would be consistent with ChangeLog files,
currently one has to update the top level ChangeLog file when
the top level .gitignore file is changed in a way that affects
a specific subdirectory only.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
14 files changed:
.gitignore
ChangeLog
config/.gitignore [new file with mode: 0644]
config/ChangeLog
debuginfod/.gitignore [new file with mode: 0644]
debuginfod/ChangeLog
libcpu/.gitignore [new file with mode: 0644]
libcpu/ChangeLog
libdw/.gitignore [new file with mode: 0644]
libdw/ChangeLog
src/.gitignore [new file with mode: 0644]
src/ChangeLog
tests/.gitignore [new file with mode: 0644]
tests/ChangeLog

index b9061e75f799c12d1a711f57670a7f416a447381..9bf350c1354e86ab515c4475166bcfe2f262e6dd 100644 (file)
@@ -25,162 +25,7 @@ Makefile.in
 /config.h.in
 /config.log
 /config.status
-/config/ar-lib
-/config/compile
-/config/config.guess
-/config/config.rpath
-/config/config.sub
-/config/depcomp
-/config/install-sh
-/config/libdw.pc
-/config/libelf.pc
-/config/libdebuginfod.pc
-/config/missing
-/config/profile.csh
-/config/profile.sh
-/config/test-driver
-/config/ylwrap
 /configure
 /elfutils.spec
-/libcpu/*_dis.h
-/libcpu/*.mnemonics
-/libcpu/*_gendis
-/libcpu/*_lex.c
-/libcpu/*_parse.[ch]
-/debuginfod/debuginfod
-/debuginfod/debuginfod-find
-/debuginfod/debuginfod.h
-/libdw/known-dwarf.h
-/src/addr2line
-/src/ar
-/src/elfclassify
-/src/elfcmp
-/src/elfcompress
-/src/elflint
-/src/findtextrel
-/src/make-debug-archive
-/src/nm
-/src/objdump
-/src/ranlib
-/src/readelf
-/src/size
-/src/stack
-/src/strings
-/src/strip
-/src/unstrip
 /stamp-h1
-/tests/*.log
-/tests/*.trs
-/tests/addrcfi
-/tests/addrscopes
-/tests/addsections
-/tests/aggregate_size
-/tests/alldts
-/tests/all-dwarf-ranges
-/tests/allfcts
-/tests/allregs
-/tests/arextract
-/tests/arls
-/tests/arsymtest
-/tests/asm-tst1
-/tests/asm-tst2
-/tests/asm-tst3
-/tests/asm-tst4
-/tests/asm-tst5
-/tests/asm-tst6
-/tests/asm-tst7
-/tests/asm-tst8
-/tests/asm-tst9
-/tests/attr-integrate-skel
-/tests/backtrace
-/tests/backtrace-child
-/tests/backtrace-child-biarch
-/tests/backtrace-data
-/tests/backtrace-dwarf
-/tests/buildid
-/tests/core-dump-backtrace.lock
-/tests/debugaltlink
-/tests/debuginfod_build_id_find
-/tests/debuglink
-/tests/deleted
-/tests/dwarfcfi
-/tests/dwarf_default_lower_bound
-/tests/dwarf-die-addr-die
-/tests/dwarf-getmacros
-/tests/dwarf-getstring
-/tests/dwarf-ranges
-/tests/dwelf_elf_e_machine_string
-/tests/dwelfgnucompressed
-/tests/dwfl-addr-sect
-/tests/dwfl-bug-addr-overflow
-/tests/dwfl-bug-fd-leak
-/tests/dwfl-bug-getmodules
-/tests/dwfl-bug-report
-/tests/dwfllines
-/tests/dwflmodtest
-/tests/dwfl-proc-attach
-/tests/dwfl-report-elf-align
-/tests/dwfl-report-segment-contiguous
-/tests/dwflsyms
-/tests/early-offscn
-/tests/ecp
-/tests/elfcopy
-/tests/elfgetchdr
-/tests/elfgetzdata
-/tests/elfputzdata
-/tests/elfrdwrnop
-/tests/elfshphehdr
-/tests/elfstrmerge
-/tests/elfstrtab
-/tests/emptyfile
-/tests/fillfile
-/tests/find-prologues
-/tests/funcretval
-/tests/funcscopes
-/tests/get-aranges
-/tests/get-files
-/tests/get-lines
-/tests/getphdrnum
-/tests/get-pubnames
-/tests/getsrc_die
-/tests/get-units-invalid
-/tests/get-units-split
-/tests/hash
-/tests/leb128
-/tests/line2addr
-/tests/low_high_pc
-/tests/msg_tst
-/tests/newdata
-/tests/newfile
-/tests/newscn
-/tests/next_cfi
-/tests/next-files
-/tests/next-lines
-/tests/peel_type
-/tests/rdwrmmap
-/tests/read_unaligned
-/tests/rerequest_tag
-/tests/saridx
-/tests/scnnames
-/tests/sectiondump
-/tests/show-abbrev
-/tests/show-die-info
-/tests/showptable
-/tests/strptr
-/tests/system-elf-libelf-test
-/tests/test-elf_cntl_gelf_getshdr
-/tests/test-flag-nobits
-/tests/test-nlist
-/tests/typeiter
-/tests/typeiter2
-/tests/unit-info
-/tests/update1
-/tests/update2
-/tests/update3
-/tests/update4
-/tests/varlocs
-/tests/vdsosyms
-/tests/vendorelf
-/tests/xlate_notes
-/tests/zstrptr
 /version.h
index 28ac1f910f2b9de60f423ee10b6b1dee97885721..03c90b6b0d5dabd6b9e267b6a35c2ba5e2509a43 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2020-12-20  Dmitry V. Levin  <ldv@altlinux.org>
 
+       * .gitignore: Move subdirectory patterns to separate .gitignore files.
+
        * .gitignore: Update.
 
 2020-12-15  Dmitry V. Levin  <ldv@altlinux.org>
diff --git a/config/.gitignore b/config/.gitignore
new file mode 100644 (file)
index 0000000..8cd8ccd
--- /dev/null
@@ -0,0 +1,15 @@
+/ar-lib
+/compile
+/config.guess
+/config.rpath
+/config.sub
+/depcomp
+/install-sh
+/libdebuginfod.pc
+/libdw.pc
+/libelf.pc
+/missing
+/profile.csh
+/profile.sh
+/test-driver
+/ylwrap
index f0305985b0c8e368634b57be13e0c9adb8d6e9a2..441a36f8c6ae632eb88ef5c7e46a25154fc6916b 100644 (file)
@@ -1,3 +1,7 @@
+2020-12-20  Dmitry V. Levin  <ldv@altlinux.org>
+
+       * .gitignore: New file.
+
 2020-12-12  Dmitry V. Levin  <ldv@altlinux.org>
 
        * 10-default-yama-scope.conf: Fix spelling typo in comment.
diff --git a/debuginfod/.gitignore b/debuginfod/.gitignore
new file mode 100644 (file)
index 0000000..e0ff668
--- /dev/null
@@ -0,0 +1,3 @@
+/debuginfod
+/debuginfod-find
+/debuginfod.h
index 379af2872a5a1b5421881dcf6a33a7665ec37b60..43a3b9a379320c7f780e5773f386afa24031ecef 100644 (file)
@@ -1,3 +1,7 @@
+2020-12-20  Dmitry V. Levin  <ldv@altlinux.org>
+
+       * .gitignore: New file.
+
 2020-12-12  Dmitry V. Levin  <ldv@altlinux.org>
 
        * debuginfod-client.c (debuginfod_query_server): Fix spelling typos in
diff --git a/libcpu/.gitignore b/libcpu/.gitignore
new file mode 100644 (file)
index 0000000..9390e5b
--- /dev/null
@@ -0,0 +1,5 @@
+/*.mnemonics
+/*_dis.h
+/*_gendis
+/*_lex.c
+/*_parse.[ch]
index af7ea96c9ab55dbfc76222e0cf0cab9a7531c7b5..7cca94197290dbc0157caa606192af7cdfdfec9d 100644 (file)
@@ -1,3 +1,7 @@
+2020-12-20  Dmitry V. Levin  <ldv@altlinux.org>
+
+       * .gitignore: New file.
+
 2020-12-16  Érico Nogueira  <ericonr@disroot.org>
 
        * Makefile.am (i386_gendis_LDADD): Add obstack_LIBS.
diff --git a/libdw/.gitignore b/libdw/.gitignore
new file mode 100644 (file)
index 0000000..d5fe053
--- /dev/null
@@ -0,0 +1 @@
+/known-dwarf.h
index 20fec60253d550373b6cbe8aa9c076fefe3c1098..b8038f0021a5d8c85159c90d518830825dfbadf7 100644 (file)
@@ -1,3 +1,7 @@
+2020-12-20  Dmitry V. Levin  <ldv@altlinux.org>
+
+       * .gitignore: New file.
+
 2020-12-16  Dmitry V. Levin  <ldv@altlinux.org>
 
        * libdwP.h (_): Remove.
diff --git a/src/.gitignore b/src/.gitignore
new file mode 100644 (file)
index 0000000..f7252a4
--- /dev/null
@@ -0,0 +1,17 @@
+/addr2line
+/ar
+/elfclassify
+/elfcmp
+/elfcompress
+/elflint
+/findtextrel
+/make-debug-archive
+/nm
+/objdump
+/ranlib
+/readelf
+/size
+/stack
+/strings
+/strip
+/unstrip
index 2e428e0bc681ccdbf075ff70b1a050c8b51e8662..46f6c4ee66aed0a969af0eb1046cda5e650f84e3 100644 (file)
@@ -1,3 +1,7 @@
+2020-12-20  Dmitry V. Levin  <ldv@altlinux.org>
+
+       * .gitignore: New file.
+
 2020-12-12  Mark Wielaard  <mark@klomp.org>
 
        * elflint.c (check_sections): Handle SHF_GNU_RETAIN.
diff --git a/tests/.gitignore b/tests/.gitignore
new file mode 100644 (file)
index 0000000..d0e83da
--- /dev/null
@@ -0,0 +1,114 @@
+/*.log
+/*.trs
+/addrcfi
+/addrscopes
+/addsections
+/aggregate_size
+/all-dwarf-ranges
+/alldts
+/allfcts
+/allregs
+/arextract
+/arls
+/arsymtest
+/asm-tst1
+/asm-tst2
+/asm-tst3
+/asm-tst4
+/asm-tst5
+/asm-tst6
+/asm-tst7
+/asm-tst8
+/asm-tst9
+/attr-integrate-skel
+/backtrace
+/backtrace-child
+/backtrace-child-biarch
+/backtrace-data
+/backtrace-dwarf
+/buildid
+/core-dump-backtrace.lock
+/debugaltlink
+/debuginfod_build_id_find
+/debuglink
+/deleted
+/dwarf-die-addr-die
+/dwarf-getmacros
+/dwarf-getstring
+/dwarf-ranges
+/dwarf_default_lower_bound
+/dwarfcfi
+/dwelf_elf_e_machine_string
+/dwelfgnucompressed
+/dwfl-addr-sect
+/dwfl-bug-addr-overflow
+/dwfl-bug-fd-leak
+/dwfl-bug-getmodules
+/dwfl-bug-report
+/dwfl-proc-attach
+/dwfl-report-elf-align
+/dwfl-report-segment-contiguous
+/dwfllines
+/dwflmodtest
+/dwflsyms
+/early-offscn
+/ecp
+/elfcopy
+/elfgetchdr
+/elfgetzdata
+/elfputzdata
+/elfrdwrnop
+/elfshphehdr
+/elfstrmerge
+/elfstrtab
+/emptyfile
+/fillfile
+/find-prologues
+/funcretval
+/funcscopes
+/get-aranges
+/get-files
+/get-lines
+/get-pubnames
+/get-units-invalid
+/get-units-split
+/getphdrnum
+/getsrc_die
+/hash
+/leb128
+/line2addr
+/low_high_pc
+/msg_tst
+/newdata
+/newfile
+/newscn
+/next-files
+/next-lines
+/next_cfi
+/peel_type
+/rdwrmmap
+/read_unaligned
+/rerequest_tag
+/saridx
+/scnnames
+/sectiondump
+/show-abbrev
+/show-die-info
+/showptable
+/strptr
+/system-elf-libelf-test
+/test-elf_cntl_gelf_getshdr
+/test-flag-nobits
+/test-nlist
+/typeiter
+/typeiter2
+/unit-info
+/update1
+/update2
+/update3
+/update4
+/varlocs
+/vdsosyms
+/vendorelf
+/xlate_notes
+/zstrptr
index b9edd24902c49881ed9caf2b681771502f2b1e92..4688b50ad9556fa90b2908d5c88915368a8ffc5e 100644 (file)
@@ -1,3 +1,7 @@
+2020-12-20  Dmitry V. Levin  <ldv@altlinux.org>
+
+       * .gitignore: New file.
+
 2020-12-12  Mark Wielaard  <mark@klomp.org>
 
        * testfile-retain.o.bz2: New test file.