New Warning For Old linkcmds

Joel Sherrill joel.sherrill@gmail.com
Sat May 3 15:37:38 GMT 2025


Hi

I am in the middle of doing a git bisect for a gcc breakage on a Coldfire
CPU. Every RTEMS BSP has its own linker script. Our normal binutils version
is 2.43 but for the bisect I am using the git master for binutils, gdb, and
newlib. Linking is now giving this message:

/home/joel/test-gcc/install-bisect/lib/gcc/m68k-rtems7/14.0.0/../../../../m68k-rtems7/bin/ld:
warning:
/home/joel/rtems-work/rtems/build/m68k/uC5282/testsuites/sptests/sp01.exe
has a LOAD segment with RWX permissions

I have Googled and see where this has happened to others but I am not
seeing the same causes in the linkcmds. I am hoping for a hint as to what
to fix. This is the linkcmds in the RTEMS GitLab.

https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/bsps/m68k/uC5282/start/linkcmds?ref_type=heads

Hints would be appreciated. I am really hoping this isn't something that
turns up in a lot of BSP linkcmds.

Thanks.

--joel sherrill
RTEMS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20250503/347a41f9/attachment.htm>


More information about the Binutils mailing list