Changeset 1c6ac88 in rtems

Timestamp:
07/19/22 16:34:42 (21 months ago)
Author:
Ryan Long <ryan.long@…>
Branches:
master
Children:
4d77f725
Parents:
2ea37e8
git-author:
Ryan Long <ryan.long@…> (07/19/22 16:34:42)
git-committer:
Joel Sherrill <joel@…> (07/29/22 13:32:47)
Message:

cpukit/libdl/rtl-sym.c: Fix increment of variable

In rtems_rtl_symbol_global_add() the loop that gets to the end of the symbol
table used "unsigned long" to increment the index for the table. For most
architectures this resulted in 4, but with AArch64, it results in 8. This
resulted in the symbols being read in wrong. Changing this to void* along with
changing the RISC-V specific code for 8 byte pointers in rtems-tools to work
independent of the architecture.

Updates #4673
Closes #4682

(No files)

Note: See TracChangeset for help on using the changeset viewer.