diff options
author | Frederic Cambus <fred@statdns.com> | 2023-09-28 13:39:01 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-09-28 13:39:01 +0100 |
commit | 73b22419edd563cf26bc8688c3f04fb3cf414cb0 (patch) | |
tree | ac34dd29127dcd7cd42394f190877ff6fa1ecd1a /binutils | |
parent | 6136093c0d009e3118abb08344e156d91144a046 (diff) | |
download | gdb-73b22419edd563cf26bc8688c3f04fb3cf414cb0.zip gdb-73b22419edd563cf26bc8688c3f04fb3cf414cb0.tar.gz gdb-73b22419edd563cf26bc8688c3f04fb3cf414cb0.tar.bz2 |
Add support to readelf for the PT_OPENBSD_NOBTCFI segment type.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 88f8373..07194aa 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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> * testsuite/binutils-all/ar.exp: Remove assumption of the setting diff --git a/binutils/readelf.c b/binutils/readelf.c index e9935c0..be2f385 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -5082,6 +5082,7 @@ get_segment_type (Filedata * filedata, unsigned long p_type) case PT_OPENBSD_MUTABLE: return "OPENBSD_MUTABLE"; case PT_OPENBSD_RANDOMIZE: return "OPENBSD_RANDOMIZE"; case PT_OPENBSD_WXNEEDED: return "OPENBSD_WXNEEDED"; + case PT_OPENBSD_NOBTCFI: return "OPENBSD_NOBTCFI"; case PT_OPENBSD_BOOTDATA: return "OPENBSD_BOOTDATA"; default: |