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.
This commit is contained in:
Frederic Cambus 2021-04-12 15:07:17 +02:00 committed by Alan Modra
parent e3839c100f
commit 0fa29e2dee
2 changed files with 5 additions and 2 deletions

View 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.

View 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",