It looks to me like your fix ignores the following comment, and will
therefore cause problems with other loaders.

              /* We shouldn't need to align the segment on disk since
                 the segment doesn't need file space, but the gABI
                 arguably requires the alignment and glibc ld.so
                 checks it.  So to comply with the alignment
                 requirement but not waste file space, we adjust
                 p_offset for just this segment.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1843479

Title:
  gzip in Ubuntu Eoan results in Exec format error on WSL1

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/1843479/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to