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

--- Comment #3 from Vladimir Kondratyev <vladimir at kondratyev dot su> ---
(In reply to Cary Coutant from comment #2)
> Why the check for valid offset and length? Gold always passes 0 for offset
> and a positive value for length (if not, that's a bug, I think).
If so those checks might be removed or converted to asserts.

> Also, I'd think we should also fall through if either posix_fallocate or
> fallocate returns EINVAL, ENOSYS, or EOPNOTSUPP.
Sounds reasonable. lld from FreeBSD LLVM does that already:
https://lists.freebsd.org/pipermail/svn-src-head/2017-November/105832.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to