#1109175 binutils_2.44:ld: LOAD segment with RWX permissions with DEFAULT linker script (shared)

Package:
binutils
Source:
binutils
Description:
GNU assembler, linker and binary utilities
Submitter:
Johannes Krottmayer
Date:
2025-07-13 08:07:02 UTC
Severity:
normal
#1109175#5
Date:
2025-07-13 08:04:22 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?

   It seems that the DEFAULT linker script, doesn't setups the LOAD sections
   correctly (with READONLY as example). This leads in the warning with the
   message 'LOAD segment with RWX permissions', when linking a shared library.

   The message can be suppressed with the linker option '--no-warn-rwx-segments'
   too, or to use another (custom) linker script.

   IMHO it's not really a bug, therefore I used the severity minor.