Issue created by Sebastian Huber: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5714



`rtems_rtl_elf_relocate_rel()` reads the addend of every relocation with an
aligned load before it knows the type. `R_MIPS_32` is the only data relocation
of that file and may target any byte offset, while every other one targets an
instruction and is aligned by construction. The processor takes an address error
exception for an unaligned load, so an object with such a relocation fails to
load.

Found while running the full test suite on the GDB simulator. This description
was created with Claude Code assistance.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5714
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/sent_notifications/5-c3z2afo4yddfkdjvbve1toyh4-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to