summaryrefslogtreecommitdiff
path: root/libc/misc/elf/dl-iterate-phdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/elf/dl-iterate-phdr.c')
-rw-r--r--libc/misc/elf/dl-iterate-phdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/elf/dl-iterate-phdr.c b/libc/misc/elf/dl-iterate-phdr.c
index 27a92544b..e21e88cbc 100644
--- a/libc/misc/elf/dl-iterate-phdr.c
+++ b/libc/misc/elf/dl-iterate-phdr.c
@@ -58,7 +58,7 @@ dl_iterate_phdr (int (*callback) (struct dl_phdr_info *info,
/* This entry describes this statically-linked program itself. */
struct dl_phdr_info info;
int ret;
-#if defined(__FRV_FDPIC__) || defined(__BFIN_FDPIC__)
+#if defined(__FRV_FDPIC__) || defined(__BFIN_FDPIC__) || defined(__FDPIC__)
info.dlpi_addr.map = NULL;
info.dlpi_addr.got_value = NULL;
#elif defined(__DSBT__)