Fixed layout problem

Fixed the problem that only one file passing to rtems-ld