#2298: sptls01 fails on sis
---------------------------+------------------------------
 Reporter:  joel.sherrill  |       Owner:  sebastian.huber
     Type:  defect         |      Status:  new
 Priority:  normal         |   Milestone:  4.11.1
Component:  General        |     Version:  4.11
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+------------------------------

Comment (by jiri):

 This is a problem in the updated sis, which keeps the emulated memory in
 host endian. If a elf section's length is not a multiple of 4, the last
 data does not get correct endian when loaded into the simulator. The
 sptls01 has a section of 1 byte, hence the problem:

 section: .text, addr: 0x2000000, size 96304 bytes
 section: .tdata, addr: 0x2017830, size 1 bytes   <====!
 section: .data, addr: 0x2017840, size 1632 bytes

 I will make a patch for this, but I do not know when it will be merged in
 gdb git repo ...

 Jiri.

--
Ticket URL: <http://devel.rtems.org/ticket/2298#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to