oops, an extra PT_ snuck in; spotted by guenther
authorderaadt <deraadt@openbsd.org>
Thu, 6 Jul 2023 16:45:30 +0000 (16:45 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 6 Jul 2023 16:45:30 +0000 (16:45 +0000)
gnu/usr.bin/binutils-2.17/bfd/elf.c

index feb9a27..01d3b34 100644 (file)
@@ -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;