Remove now unneeded #ifdef check for NT_NETBSD_PAX.
authorFrederic Cambus <fred@statdns.com>
Mon, 12 Apr 2021 13:07:17 +0000 (15:07 +0200)
committerAlan Modra <amodra@gmail.com>
Tue, 13 Apr 2021 06:41:39 +0000 (16:11 +0930)
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.

binutils/ChangeLog
binutils/readelf.c

index 1dbb038fda6f0328c24e7480ce286da91ec77019..ef0e868e1a01e593b20bfb4ca151b9a99b20cd7d 100644 (file)
@@ -1,3 +1,8 @@
+2021-04-13  Frederic Cambus  <fred@statdns.com>
+
+       * readelf.c (process_netbsd_elf_note): Remove now unneeded #ifdef
+       check for NT_NETBSD_PAX.
+
 2021-04-12  Alan Modra  <amodra@gmail.com>
 
        * configure.ac (--enable-checking): Add support.
index 840a160ae82a62aaba9fa941410262644966ec24..9d0104d979172b4fba7d041d71f1eb28d5fe237c 100644 (file)
@@ -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",
This page took 0.047732 seconds and 4 git commands to generate.