From 3575ba9b61600165cb6422d6e6f7c612761171b2 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Tue, 29 Jan 2019 20:06:22 +0000 Subject: [PATCH] process-pt-dynamic: Don't print name of R_386_SIZE32 if undefined This was introduced in 2013, and Ubuntu 12.04's glibc 2.15 doesn't have it. Signed-off-by: Simon McVittie <smcv@collabora.com> --- utils/process-pt-dynamic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/process-pt-dynamic.c b/utils/process-pt-dynamic.c index 9bab20373..445b1a4ed 100644 --- a/utils/process-pt-dynamic.c +++ b/utils/process-pt-dynamic.c @@ -261,7 +261,9 @@ reloc_type_name (int type) CASE( R_386_TLS_DTPMOD32 ) CASE( R_386_TLS_DTPOFF32 ) CASE( R_386_TLS_TPOFF32 ) +#ifdef R_386_SIZE32 CASE( R_386_SIZE32 ) +#endif CASE( R_386_TLS_GOTDESC ) CASE( R_386_TLS_DESC_CALL ) CASE( R_386_TLS_DESC ) -- GitLab