RFA: RX: Move init functions into .text section

DJ Delorie dj@redhat.com
Thu Nov 5 09:07:00 GMT 2015


>   Current the RX linker script in libgloss/rx puts the language
>   initialisation arrays into the .data section.  The patch below moves
>   them into the .text section.  This matters when running on an RX in
>   big-endian-data mode since byte swapping is different for data and
>   code.

The .init section is code.  The .init_array section is data.



More information about the Newlib mailing list