[RTEMS Project] #4881: powerpc gas and ld warnings
RTEMS trac
trac at rtems.org
Tue Mar 21 06:57:19 UTC 2023
#4881: powerpc gas and ld warnings
---------------------------+---------------------
Reporter: Chris Johns | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 6.1
Component: tool/binutils | Version: 6
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: |
---------------------------+---------------------
Comment (by Chris Johns):
This diff removes the warning:
{{{
diff --git a/bsps/powerpc/shared/start/vectors_entry.S
b/bsps/powerpc/shared/start/vectors_entry.S
index 07b17a48af..9140c55121 100644
--- a/bsps/powerpc/shared/start/vectors_entry.S
+++ b/bsps/powerpc/shared/start/vectors_entry.S
@@ -10,6 +10,7 @@
#include <rtems/score/cpu.h>
PUBLIC_VAR (__rtems_start)
+ .section .note.GNU-stack,"", at progbits
.section .entry_point_section,"awx", at progbits
/*
* Entry point information used by bootloader code
}}}
however it moves to another object file:
{{{
/opt/work/6/lib/gcc/powerpc-rtems6/12.2.1/../../../../powerpc-
rtems6/bin/ld: warning: /opt/work/6/lib/gcc/powerpc-
rtems6/12.2.1/m604/ecrtn.o: missing .note.GNU-stack section implies
executable stack
/opt/work/6/lib/gcc/powerpc-rtems6/12.2.1/../../../../powerpc-
rtems6/bin/ld: NOTE: This behaviour is deprecated and will be removed in a
future version of the linker
}}}
This time it is in the gcc build object files.
--
Ticket URL: <http://devel.rtems.org/ticket/4881#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list