24 Commits

Author SHA1 Message Date
zhanghaibo 4120cecb42 add files generated from source code
Signed-off-by: zhanghaibo <zhanghaibo0@huawei.com>
2023-02-25 10:46:51 +08:00
Dmitry V. Levin 2a16a0fc7e Add coverage target
Implement a target for capturing code coverage using lcov.
It is available when elfutils is configured using --enable-gcov.

Tested with
autoreconf -if && ./configure --enable-maintainer-mode --enable-gcov &&
make && make check && make coverage

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-01-12 09:09:25 +00:00
Dmitry V. Levin 05c232f7fd 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>
2020-12-20 08:00:00 +00:00
Dmitry V. Levin 32ba0acfbc .gitignore: update
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2020-12-20 08:00:00 +00:00
Dmitry V. Levin dd52d2abaf Modernize gettext infrastructure
Switch to use AM_GNU_GETTEXT, AM_GNU_GETTEXT_VERSION, and
AM_GNU_GETTEXT_REQUIRE_VERSION, this allows to stop bundling gettext
infrastructure files and let autoreconf invoke autopoint which will set
the gettext infrastructure up.

Use this opportunity to create separate .gitignore files for m4/ and po/
directories.

Tested with
autoreconf -if && ./configure --enable-maintainer-mode && make && make distcheck

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2020-12-16 10:01:52 +00:00
Tom Tromey 70343f4844 Fix leb128 reading
PR 26773 points out that some sleb128 values are decoded incorrectly.

This version of the fix only examines the sleb128 conversion.
Overlong encodings are not handled, and the uleb128 decoders are not
touched.  The approach taken here is to do the work in an unsigned
type, and then rely on an implementation-defined cast to convert to
signed.

Signed-off-by: Tom Tromey <tom@tromey.com>
2020-10-29 23:59:25 +01:00
Mark Wielaard a2bc0214a5 Prepare for 0.180
Set version to 0.180.
Update NEWS and elfutils.spec.in.
Set copyright year in printversion.
Regenerate po/*.po files.
Update .gitignore.

Signed-off-by: Mark Wielaard <mark@klomp.org>
2020-06-11 16:09:03 +02:00
Omar Sandoval 2e75c987d5 libdwfl: remove broken coalescing logic in dwfl_report_segment
dwfl_report_segment has some logic that detects when a segment is
contiguous with the previously reported segment, in which case it's
supposed to coalesce them. However, in this case, it actually returns
without updating the segment array at all. As far as I can tell, this
has always been broken. It appears that no one uses the coalescing logic
anyways, as they pass IDENT as NULL. Let's just get rid of the logic and
add a test case.

Signed-off-by: Omar Sandoval <osandov@fb.com>
2019-12-18 21:18:59 +01:00
Omar Sandoval 4d98640d13 Add elfclassify to .gitignore
The tool was just added, but it's missing the ignore entry.

Signed-off-by: Omar Sandoval <osandov@fb.com>
2019-08-28 20:24:26 +02:00
Mark Wielaard a5c72418f5 lib: Remove md5 and sha1 implementations.
Only the testcase md5-sha1-test used them. So also remove that testcase.

Signed-off-by: Mark Wielaard <mark@klomp.org>
2017-10-20 13:51:02 +02:00
Ulf Hermann 5c3badb671 Add missing entries to .gitignore
Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
2017-04-26 17:13:16 +02:00
Ulf Hermann 7370f91fd8 Add missing tests to .gitignore
Some test binaries were missing and showed up in "git status".

Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
2017-02-14 10:24:36 +01:00
Mark Wielaard e6ca75ddcf Remove eu-ld and unused code.
Nobody has hacked on eu-ld in a very long time. It didn't really work.
And we didn't install it by default in the spec file. Remove sources,
the build rules and any (now) unused code.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
2016-08-03 17:26:06 +02:00
Mike Frysinger 7f036dd381 gitignore: update
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2016-01-14 23:56:58 +01:00
Mike Frysinger 3496992ae6 ignore more generated files
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2015-07-29 18:18:23 +02:00
Pino Toscano 5686dede3f Fix/improve .gitignore
Fill the .gitignore with more generated files, such as:
- test executables
- results of the automake testing framework (*.log and *.trs)
- sources generated by flex and bison
- generated *.mnemonics files in libcpu
- the helper libcpu/i386_gendis tool
- *.so.1 symlinks

Also, anchor existing filenames to their location when
builddir==srcdir.

Signed-off-by: Pino Toscano <toscano.pino@tiscali.it>
2015-07-11 21:56:07 +02:00
Josh Stone f5c340b174 Add config/compile as installed by automake 1.14
Signed-off-by: Josh Stone <jistone@redhat.com>
2014-12-15 11:05:11 -08:00
Josh Stone 8b10aaa3dd Add config/ar-lib to .gitignore
Signed-off-by: Josh Stone <jistone@redhat.com>
2013-12-12 13:39:52 -08:00
Mark Wielaard cdaaf2153a Updates for Automake 1.13.
autoreconf will install config/test-driver, ignore it.
Update gettext m4 and po files to version 0.18.2.
Use AM_CPPFLAGS instead of INCLUDES.
All changes are backward compatible with Automake 1.11.
2013-04-26 10:06:08 +02:00
Roland McGrath a9cefae36d Include *_dis.h headers in dist; generate them only for --enable-maintainer-mode. 2011-10-16 09:24:27 -07:00
Roland McGrath df63ac9a98 Ignore files generated by building in the source directory. 2011-10-08 14:58:24 -07:00
Ulrich Drepper 51f4ddfb01 Prepare 0.146 release. 2010-04-21 08:00:40 -07:00
Roland McGrath 3bf7a0989c Put known-dwarf.h in the dist so every build need not have a recent gawk. 2009-01-23 16:34:07 -08:00
Roland McGrath 5d3bd4f85e Add .gitignore file. 2008-12-10 14:30:51 -08:00