From 86c2982568de1ad4d4cc12a65b19231331484405 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Thu, 10 Feb 2022 18:00:59 -0800 Subject: Run patches thru `manage-packages -P` This refreshes the line numbers, removes any fuzz (which would make any future forward ports easier) and standardizes the patch/file headers (which makes them easier to read). Signed-off-by: Alexey Neyman --- ...28540-segmentation-fault-on-NULL-byte_get.patch | 30 ---------------------- 1 file changed, 30 deletions(-) delete mode 100644 packages/binutils/2.37/0017-pr28540-segmentation-fault-on-NULL-byte_get.patch (limited to 'packages/binutils/2.37/0017-pr28540-segmentation-fault-on-NULL-byte_get.patch') diff --git a/packages/binutils/2.37/0017-pr28540-segmentation-fault-on-NULL-byte_get.patch b/packages/binutils/2.37/0017-pr28540-segmentation-fault-on-NULL-byte_get.patch deleted file mode 100644 index f7f26a7a..00000000 --- a/packages/binutils/2.37/0017-pr28540-segmentation-fault-on-NULL-byte_get.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 96eb21265ebffbc28f767bed9a2b7650ecb9818d Mon Sep 17 00:00:00 2001 -From: Alan Modra -Date: Thu, 4 Nov 2021 14:11:02 +1030 -Subject: [PATCH] PR28540, segmentation fault on NULL byte_get - - PR 28540 - * objdump.c (dump_bfd): Don't attempt load_separate_debug_files - when byte_get is NULL. - -(cherry picked from commit f2f105f518413ea3e4c212f89585f9a8a5dddcdd) ---- - binutils/objdump.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/binutils/objdump.c b/binutils/objdump.c -index a7b8303b992..50317b3d48f 100644 ---- a/binutils/objdump.c -+++ b/binutils/objdump.c -@@ -4869,7 +4869,7 @@ dump_bfd (bfd *abfd, bool is_mainfile) - - The test on is_mainfile is there because the chain of separate debug - info files is a global variable shared by all invocations of dump_bfd. */ -- if (is_mainfile) -+ if (byte_get != NULL && is_mainfile) - { - load_separate_debug_files (abfd, bfd_get_filename (abfd)); - --- -2.27.0 - -- cgit v1.2.3