This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: RX: Move init functions into .text section


>   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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]