diff options
author | Frederic Cambus <fred@statdns.com> | 2023-03-23 15:19:38 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-03-23 15:19:38 +0000 |
commit | 80251d4185048c6391b74abe96c754e8a536b35f (patch) | |
tree | e4e560f3665261b4160b5542aa7cb83775698f65 /include | |
parent | 91ffa03af1cc32515190c3b52d7b964f5abead5f (diff) | |
download | gdb-80251d4185048c6391b74abe96c754e8a536b35f.zip gdb-80251d4185048c6391b74abe96c754e8a536b35f.tar.gz gdb-80251d4185048c6391b74abe96c754e8a536b35f.tar.bz2 |
Add support to readelf for the PT_OPENBSD_MUTABLE segment type.
binutils * readelf.c (get_segment_type): Handle PT_OPENBSD_MUTABLE segment type.
include * elf/common.h (PT_OPENBSD_MUTABLE): Define.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/elf/common.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index f694007..b157251 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2023-03-23 Frederic Cambus <fred@statdns.com> + + * elf/common.h (PT_OPENBSD_MUTABLE): Define. + 2023-01-03 Luis Machado <luis.machado@arm.com> * elf/common.h (NT_ARM_SSVE): Define. diff --git a/include/elf/common.h b/include/elf/common.h index 630d212..6f64f05 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -492,6 +492,7 @@ #define PT_GNU_SFRAME (PT_LOOS + 0x474e554) /* SFrame stack trace information */ /* OpenBSD segment types. */ +#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_WXNEEDED (PT_LOOS + 0x5a3dbe7) /* Program does W^X violations. */ #define PT_OPENBSD_BOOTDATA (PT_LOOS + 0x5a41be6) /* Section for boot arguments. */ |