diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2011-05-07 01:05:31 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2011-05-07 01:05:31 +0000 |
| commit | 9b2a96cc0410d247dbfad35cfef16351b888788a (patch) | |
| tree | ed859674e81264f55de2412db17619c8de1fee86 /lib/libelf | |
| parent | 0b96ba12be71c56972f9c205807ec5f91236cf25 (diff) | |
Notes
Diffstat (limited to 'lib/libelf')
| -rw-r--r-- | lib/libelf/Makefile | 2 | ||||
| -rw-r--r-- | lib/libelf/libelf_data.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile index fc70d9d865c7..fe921cbe674b 100644 --- a/lib/libelf/Makefile +++ b/lib/libelf/Makefile @@ -57,7 +57,7 @@ INCS= libelf.h gelf.h GENSRCS= libelf_fsize.c libelf_msize.c libelf_convert.c CLEANFILES= ${GENSRCS} -CFLAGS+= -I. -I${.CURDIR} +CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../sys SHLIB_MAJOR= 1 diff --git a/lib/libelf/libelf_data.c b/lib/libelf/libelf_data.c index 67388b6a4a31..ee2d57a4cb79 100644 --- a/lib/libelf/libelf_data.c +++ b/lib/libelf/libelf_data.c @@ -84,6 +84,8 @@ _libelf_xlate_shtype(uint32_t sht) case SHT_SUNW_dof: return (ELF_T_BYTE); #endif + case SHT_MIPS_DWARF: + /* FALLTHROUGH */ case SHT_AMD64_UNWIND: /* == SHT_IA_64_UNWIND */ return (ELF_T_BYTE); default: |
