[RTEMS Project] #2576: arm/lpc176x: linker script update (add KEEP() sections)

RTEMS trac trac at rtems.org
Thu Mar 17 20:12:26 UTC 2016


#2576: arm/lpc176x: linker script update (add KEEP() sections)
---------------------------+-------------------
 Reporter:  joel.sherrill  |       Owner:
     Type:  defect         |      Status:  new
 Priority:  normal         |   Milestone:  4.12
Component:  bsps           |     Version:  4.12
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+-------------------

Comment (by marcos.diaz):

 I looked into the linkerscript and it uses the shared for all arm's, which
 uses KEEP directives. Then I tested this BSP enabling the flags, and
 samples work ok:

 hello.exe  :
 section              size        addr
 .start                772           0
 .text               79136         776
 .rodata              4152       79936
 .vector              1256   268435456
 .data                1656   268436712
 .bss                 5656   268438368

 With flags:
 hello.exe  :
 section              size        addr
 .start                772           0
 .text               61424         776
 .rodata              3512       62224
 .vector              1256   268435456
 .data                1604   268436712
 .bss                 5592   268438336



 And the same for the other samples.

--
Ticket URL: <http://devel.rtems.org/ticket/2576#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list