bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/20815] throw errors for invalid load segment


From: ma.jiang at zte dot com.cn
Subject: [Bug ld/20815] throw errors for invalid load segment
Date: Mon, 21 Nov 2016 08:24:20 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20815

--- Comment #18 from ma.jiang at zte dot com.cn ---
(In reply to Nick Clifton from comment #17)

  Hi Nick,
  I have tested  the proposed patch. And yes, it does print error messages as
expected, thanks! I only have two small question about the details.
  Firstly, the patch seem to agree with  "the PHDR segment should be in the
first load segment, if existed."  in logic. But the comments and error messages
are somewhat obscure.
  Secondly, the final error reason "File format not recognized" looks strange.
should we add a "bfd_set_error (bfd_error_bad_value)"?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]