diff options
author | Mark Johnston <markj@FreeBSD.org> | 2021-12-06 15:37:49 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2021-12-06 15:37:49 +0000 |
commit | dbf05458e3bd8c46f5e49918593557293a29d41a (patch) | |
tree | c8a496a55cead1be680039093e8eb834477670d8 /lib | |
parent | dadbc042500b57cb2ceb25bc0ec39583142e0c45 (diff) | |
download | src-dbf05458e3bd8c46f5e49918593557293a29d41a.tar.gz src-dbf05458e3bd8c46f5e49918593557293a29d41a.zip |
libdwarf: Support consumption of compressed ELF sections
Automatically decompress zlib-compressed debug sections when loading
them. This lets ctfcovert work on userland code after commit
c910570e7573 ("Use compressed debug in standalone userland debug files
by default").
Reported by: avg
Reviewed by: avg, emaste
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33139
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libdwarf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdwarf/Makefile b/lib/libdwarf/Makefile index 03f40cdd85ee..a3ef95b2572a 100644 --- a/lib/libdwarf/Makefile +++ b/lib/libdwarf/Makefile @@ -98,7 +98,7 @@ sys/elf32.h sys/elf64.h sys/elf_common.h: ${SRCTOP}/sys/${.TARGET} .NOMETA mkdir -p ${.OBJDIR}/sys ln -sf ${.ALLSRC} ${.TARGET} -LIBADD+= elf +LIBADD+= elf z SHLIB_MAJOR= 4 |