aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorFrederic Cambus <fred@statdns.com>2021-04-12 15:07:17 +0200
committerAlan Modra <amodra@gmail.com>2021-04-13 16:11:39 +0930
commit0fa29e2deea19a33fec7f1e5a5cf49b94f93b2f8 (patch)
tree2d1a198a21aa239251b639de8ca8054e99119b8a /binutils/readelf.c
parente3839c100fdb15d05e6a2fd44557ffdd6fb921b8 (diff)
downloadgdb-0fa29e2deea19a33fec7f1e5a5cf49b94f93b2f8.zip
gdb-0fa29e2deea19a33fec7f1e5a5cf49b94f93b2f8.tar.gz
gdb-0fa29e2deea19a33fec7f1e5a5cf49b94f93b2f8.tar.bz2
Remove now unneeded #ifdef check for NT_NETBSD_PAX.
NT_NETBSD_PAX was defined in commit be3b926d8d2dde16a55e9e303fadf95164e13ebf. binutils/ChangeLog: * readelf.c (process_netbsd_elf_note): Remove now unneeded #ifdef check for NT_NETBSD_PAX.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 840a160..9d0104d 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -19522,7 +19522,6 @@ process_netbsd_elf_note (Elf_Internal_Note * pnote)
pnote->descdata);
return true;
-#ifdef NT_NETBSD_PAX
case NT_NETBSD_PAX:
if (pnote->descsz < 1)
break;
@@ -19535,7 +19534,6 @@ process_netbsd_elf_note (Elf_Internal_Note * pnote)
((version & NT_NETBSD_PAX_ASLR) ? "+ASLR" : ""),
((version & NT_NETBSD_PAX_NOASLR) ? "-ASLR" : ""));
return true;
-#endif
}
printf (" NetBSD\t0x%08lx\tUnknown note type: (0x%08lx)\n",