From 4994896c099347f80ff0769d1c0c9f8e64a37e0d Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 6 Jul 2023 16:45:30 +0000 Subject: [PATCH] oops, an extra PT_ snuck in; spotted by guenther --- gnu/usr.bin/binutils-2.17/bfd/elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/usr.bin/binutils-2.17/bfd/elf.c b/gnu/usr.bin/binutils-2.17/bfd/elf.c index feb9a2725b6..01d3b3445b3 100644 --- a/gnu/usr.bin/binutils-2.17/bfd/elf.c +++ b/gnu/usr.bin/binutils-2.17/bfd/elf.c @@ -1102,7 +1102,7 @@ get_segment_type (unsigned int p_type) case PT_GNU_RELRO: pt = "RELRO"; break; case PT_OPENBSD_RANDOMIZE: pt = "OPENBSD_RANDOMIZE"; break; case PT_OPENBSD_WXNEEDED: pt = "OPENBSD_WXNEEDED"; break; - case PT_OPENBSD_NOBTCFI: pt = "PT_OPENBSD_NOBTCFI"; break; + case PT_OPENBSD_NOBTCFI: pt = "OPENBSD_NOBTCFI"; break; case PT_OPENBSD_BOOTDATA: pt = "OPENBSD_BOOTDATA"; break; case PT_OPENBSD_MUTABLE: pt = "OPENBSD_MUTABLE"; break; default: pt = NULL; break; -- 2.20.1