Add support to readelf for the PT_OPENBSD_NOBTCFI segment type.
This commit is contained in:
parent
6136093c0d
commit
73b22419ed
@ -1,3 +1,8 @@
|
|||||||
|
2023-09-28 Frederic Cambus <fred@statdns.com>
|
||||||
|
|
||||||
|
* readelf.c (get_segment_type): Handle PT_OPENBSD_NOBTCFI segment
|
||||||
|
type.
|
||||||
|
|
||||||
2023-09-26 Nick Clifton <nickc@redhat.com>
|
2023-09-26 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* testsuite/binutils-all/ar.exp: Remove assumption of the setting
|
* testsuite/binutils-all/ar.exp: Remove assumption of the setting
|
||||||
|
@ -5082,6 +5082,7 @@ get_segment_type (Filedata * filedata, unsigned long p_type)
|
|||||||
case PT_OPENBSD_MUTABLE: return "OPENBSD_MUTABLE";
|
case PT_OPENBSD_MUTABLE: return "OPENBSD_MUTABLE";
|
||||||
case PT_OPENBSD_RANDOMIZE: return "OPENBSD_RANDOMIZE";
|
case PT_OPENBSD_RANDOMIZE: return "OPENBSD_RANDOMIZE";
|
||||||
case PT_OPENBSD_WXNEEDED: return "OPENBSD_WXNEEDED";
|
case PT_OPENBSD_WXNEEDED: return "OPENBSD_WXNEEDED";
|
||||||
|
case PT_OPENBSD_NOBTCFI: return "OPENBSD_NOBTCFI";
|
||||||
case PT_OPENBSD_BOOTDATA: return "OPENBSD_BOOTDATA";
|
case PT_OPENBSD_BOOTDATA: return "OPENBSD_BOOTDATA";
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2023-09-28 Frederic Cambus <fred@statdns.com>
|
||||||
|
|
||||||
|
* elf/common.h (PT_OPENBSD_NOBTCFI): Define.
|
||||||
|
|
||||||
2023-08-02 Tom Tromey <tromey@adacore.com>
|
2023-08-02 Tom Tromey <tromey@adacore.com>
|
||||||
|
|
||||||
* coff/x86_64.h (COFF_X86_64_H): Add include guard.
|
* coff/x86_64.h (COFF_X86_64_H): Add include guard.
|
||||||
|
@ -495,6 +495,7 @@
|
|||||||
#define PT_OPENBSD_MUTABLE (PT_LOOS + 0x5a3dbe5) /* Like bss, but not immutable. */
|
#define PT_OPENBSD_MUTABLE (PT_LOOS + 0x5a3dbe5) /* Like bss, but not immutable. */
|
||||||
#define PT_OPENBSD_RANDOMIZE (PT_LOOS + 0x5a3dbe6) /* Fill with random data. */
|
#define PT_OPENBSD_RANDOMIZE (PT_LOOS + 0x5a3dbe6) /* Fill with random data. */
|
||||||
#define PT_OPENBSD_WXNEEDED (PT_LOOS + 0x5a3dbe7) /* Program does W^X violations. */
|
#define PT_OPENBSD_WXNEEDED (PT_LOOS + 0x5a3dbe7) /* Program does W^X violations. */
|
||||||
|
#define PT_OPENBSD_NOBTCFI (PT_LOOS + 0x5a3dbe8) /* No branch target CFI. */
|
||||||
#define PT_OPENBSD_BOOTDATA (PT_LOOS + 0x5a41be6) /* Section for boot arguments. */
|
#define PT_OPENBSD_BOOTDATA (PT_LOOS + 0x5a41be6) /* Section for boot arguments. */
|
||||||
|
|
||||||
/* Mbind segments */
|
/* Mbind segments */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user