summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-12-20 08:00:00 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-12-20 08:00:00 +0000
commit05c232f7fd5498f1ed6d8c641231a1db83b47727 (patch)
tree9747a9cd721e30473f034367a9ce59acb6d413f8
parent32ba0acfbc4ea937e00e617da96f449adb04ebc7 (diff)
downloadelfutils-05c232f7fd5498f1ed6d8c641231a1db83b47727.tar.gz
Split the top level .gitignore file
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>
-rw-r--r--.gitignore155
-rw-r--r--ChangeLog2
-rw-r--r--config/.gitignore15
-rw-r--r--config/ChangeLog4
-rw-r--r--debuginfod/.gitignore3
-rw-r--r--debuginfod/ChangeLog4
-rw-r--r--libcpu/.gitignore5
-rw-r--r--libcpu/ChangeLog4
-rw-r--r--libdw/.gitignore1
-rw-r--r--libdw/ChangeLog4
-rw-r--r--src/.gitignore17
-rw-r--r--src/ChangeLog4
-rw-r--r--tests/.gitignore114
-rw-r--r--tests/ChangeLog4
14 files changed, 181 insertions, 155 deletions
diff --git a/.gitignore b/.gitignore
index b9061e75..9bf350c1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/ChangeLog b/ChangeLog
index 28ac1f91..03c90b6b 100644
--- 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
index 00000000..8cd8ccdb
--- /dev/null
+++ b/config/.gitignore
@@ -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
diff --git a/config/ChangeLog b/config/ChangeLog
index f0305985..441a36f8 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -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
index 00000000..e0ff6687
--- /dev/null
+++ b/debuginfod/.gitignore
@@ -0,0 +1,3 @@
+/debuginfod
+/debuginfod-find
+/debuginfod.h
diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog
index 379af287..43a3b9a3 100644
--- a/debuginfod/ChangeLog
+++ b/debuginfod/ChangeLog
@@ -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
index 00000000..9390e5b9
--- /dev/null
+++ b/libcpu/.gitignore
@@ -0,0 +1,5 @@
+/*.mnemonics
+/*_dis.h
+/*_gendis
+/*_lex.c
+/*_parse.[ch]
diff --git a/libcpu/ChangeLog b/libcpu/ChangeLog
index af7ea96c..7cca9419 100644
--- a/libcpu/ChangeLog
+++ b/libcpu/ChangeLog
@@ -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
index 00000000..d5fe053f
--- /dev/null
+++ b/libdw/.gitignore
@@ -0,0 +1 @@
+/known-dwarf.h
diff --git a/libdw/ChangeLog b/libdw/ChangeLog
index 20fec602..b8038f00 100644
--- a/libdw/ChangeLog
+++ b/libdw/ChangeLog
@@ -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
index 00000000..f7252a4a
--- /dev/null
+++ b/src/.gitignore
@@ -0,0 +1,17 @@
+/addr2line
+/ar
+/elfclassify
+/elfcmp
+/elfcompress
+/elflint
+/findtextrel
+/make-debug-archive
+/nm
+/objdump
+/ranlib
+/readelf
+/size
+/stack
+/strings
+/strip
+/unstrip
diff --git a/src/ChangeLog b/src/ChangeLog
index 2e428e0b..46f6c4ee 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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
index 00000000..d0e83da2
--- /dev/null
+++ b/tests/.gitignore
@@ -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
diff --git a/tests/ChangeLog b/tests/ChangeLog
index b9edd249..4688b50a 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -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.