| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
I wasn't paying enough attention, it's better to just fold the needed
bits into porting.h.
This reverts commit ffedc60fa41d307bda28fd108e6ff1b8da1fc2ee.
This reverts commit f8287200aec0ca33ef07fafcdd5aef0aa6eb1306.
This reverts commit aa907a42d89ddfd5a7e64d8182a1da35277f2f6e.
Bug: https://github.com/gentoo/pax-utils/pull/11#issuecomment-1407566344
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
| |
Separate from the first commit as this one was done programmatically with
dev-util/include-what-you-use.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Glibc has supported a "new" cache format for a while now (almost 20
years), but since it generated both, we didn't bother to implement
it, only relying on the old cache format. With glibc-2.32+ though,
it now only outputs the new format.
Rework the code so we support the old, new, and compat cache formats
(where the new format is appended to the old one).
Bug: https://bugs.gentoo.org/739014
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Add a hack so we can build individual objects as standalone programs.
This way we can more easily poke internal static funcs to aid in the
overall debugging/development process.
Bug: https://bugs.gentoo.org/739014
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
| |
|
|
|
|
|
|
|
| |
This fixes building when ldso config logic is unavailable since consumers
(like scanelf) always attempt to walk the array. Changing the code to be
an empty array by default so it won't suck up too much space when support
isn't available.
|
| |
|
|
|
|
|
| |
This fixes handling of multiple ABIs for a single arch like x86/x86_64/x32
or mips o32/n32/n64. It also fixes decoding of arm float libs.
|
|
|
|
|
|
|
|
| |
Use the same types (unsigned-vs-signed) as glibc's cache code, and move
relevant variables down into the scope where they're used rather than
putting all of them in the top func scope.
Should be no real functional changes here.
|
|
|
|
|
|
| |
We keep the buffer around to avoid the malloc overhead between calls,
and we should really only need to grow it once or twice. This way we
work with an sized lib path and not just the static limit.
|
|
|
|
|
|
| |
This doesn't actually parse the cache file, it walks the registered
ld.so.conf paths. Since common code takes care of that via with the
--use-ldpaths option, delete the duplicate ldpath logic.
|
|
These are getting a bit big & unwieldy for keeping inlined in scanelf.
Split them out to a dedicated file instead.
|