Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2014 16:10:04 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r275370 - head/contrib/elftoolchain/size
Message-ID:  <201412011610.sB1GA4Kv015964@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Mon Dec  1 16:10:03 2014
New Revision: 275370
URL: https://svnweb.freebsd.org/changeset/base/275370

Log:
  Temporarily disable non-FreeBSD NT_ note types

Modified:
  head/contrib/elftoolchain/size/size.c

Modified: head/contrib/elftoolchain/size/size.c
==============================================================================
--- head/contrib/elftoolchain/size/size.c	Mon Dec  1 16:07:31 2014	(r275369)
+++ head/contrib/elftoolchain/size/size.c	Mon Dec  1 16:10:03 2014	(r275370)
@@ -269,7 +269,7 @@ handle_core_note(Elf *elf, GElf_Ehdr *el
 	static pid_t pid;
 	uintptr_t ver;
 	Elf32_Nhdr *nhdr, nhdr_l;
-	static int reg_pseudo = 0, reg2_pseudo = 0, regxfp_pseudo = 0;
+	static int reg_pseudo = 0, reg2_pseudo = 0 /*, regxfp_pseudo = 0*/;
 	char buf[BUF_SIZE], *data, *name;
 
  	if (elf == NULL || elfhdr == NULL || phdr == NULL)
@@ -360,6 +360,7 @@ handle_core_note(Elf *elf, GElf_Ehdr *el
 				text_size_total += nhdr_l.n_descsz;
 			}
 			break;
+#if 0
 		case NT_AUXV:
 			if (style == STYLE_SYSV) {
 				tbl_append();
@@ -390,6 +391,7 @@ handle_core_note(Elf *elf, GElf_Ehdr *el
 			}
 			break;
 		case NT_PSINFO:
+#endif
 		case NT_PRPSINFO: {
 			/* FreeBSD 64-bit */
 			if (nhdr_l.n_descsz == 0x78 &&
@@ -415,8 +417,10 @@ handle_core_note(Elf *elf, GElf_Ehdr *el
 			}
 			break;
 		}
+#if 0
 		case NT_PSTATUS:
 		case NT_LWPSTATUS:
+#endif
 		default:
 			break;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412011610.sB1GA4Kv015964>