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

            Bug ID: 32751
           Summary: --warn-rwx-segments always triggers RWX warning on
                    32-bit hppa
           Product: binutils
           Version: 2.44
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---

The plt section needs to executable because of the plt_stub code
used for lazy binding.  As a result, most links generate a
"LOAD segment with RWX permissions" warning.

This disturbs gcc test results and causes some Debian packages
to fail to build due to the warning.

See:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098970

It doesn't appear easy to rework the plt_stub placement to avoid
this warning, so I think we need to do something similar to ppc32
(commit 84789002905d6db444ee76431705c86cbcde5616).

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

Reply via email to