#2790: Linker sets broken with GCC 7
-----------------------------+-----------------------------
 Reporter:  sebastian.huber  |      Owner:  sebastian.huber
     Type:  defect           |     Status:  new
 Priority:  normal           |  Milestone:  4.12
Component:  cpukit           |    Version:  4.12
 Severity:  normal           |   Keywords:
-----------------------------+-----------------------------
 See also:

 https://gcc.gnu.org/ml/gcc/2016-09/msg00114.html

 The

 #define MAKEGCCNOTKNOWTHEADDRESS(ptr) asm("":"+r"(ptr))

 is probably the best option.  It works probably also with link-time
 optimization.

--
Ticket URL: <http://devel.rtems.org/ticket/2790>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to