[crosstool-ng/crosstool-ng] 8ad4a8: build/internals.sh: Handle pie executables

Alexey Neyman <[email protected]> Tue, 01 Oct 2019 21:15:07 -0700
Newsgroups gmane.comp.gcc.cross-compiling
Message-ID <crosstool-ng/crosstool-ng/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/crosstool-ng/crosstool-ng
  Commit: 8ad4a8b83f3de8b7b283a845c5744147ba819c9d
      https://github.com/crosstool-ng/crosstool-ng/commit/8ad4a8b83f3de8b7b283a845c5744147ba819c9d
  Author: Chris Packham <[email protected]>
  Date:   2019-09-14 (Sat, 14 Sep 2019)

  Changed paths:
    M scripts/build/internals.sh

  Log Message:
  -----------
  build/internals.sh: Handle pie executables

Fixes: #887

On some systems the file command identifies a pie executable as a shared
object. Update do_finish() to handle this case so that they are stripped
as well.

Signed-off-by: Chris Packham <[email protected]>


  Commit: b01fbcb8b05b4a42ff79a4f60bb2495fb9078083
      https://github.com/crosstool-ng/crosstool-ng/commit/b01fbcb8b05b4a42ff79a4f60bb2495fb9078083
  Author: Alexey Neyman <[email protected]>
  Date:   2019-10-01 (Tue, 01 Oct 2019)

  Changed paths:
    M scripts/build/internals.sh

  Log Message:
  -----------
  Merge pull request #1244 from cpackham/executable-pie

build/internals.sh: Handle pie executables


Compare: https://github.com/crosstool-ng/crosstool-ng/compare/b18ce512f568...b01fbcb8b05b