]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
Makefile.in: add -mtext-section-literals to xtensa ABI
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 30 Mar 2014 17:57:46 +0000 (21:57 +0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 3 Apr 2014 19:35:21 +0000 (21:35 +0200)
commitc6277e4b3130543308222d1ebc9c2916b9eed1a6
tree60c3bcda833db5ae2bf8d98d1c0de3527c5aa15e
parent1b1b8fbca7469faef3d42d662b090722ae1c98bf
Makefile.in: add -mtext-section-literals to xtensa ABI

Collecting literals into separate section can be advantageous if that
section is placed into DTCM at link time. This is applicable for code
running on bare metal, but makes no sense under linux, where userspace
is isolated from the physical memory details. OTOH placing literals into
separate section breaks build of huge source files, because l32r
instruction can only access literals in 256 KBytes range.

Add -mtext-section-literals into xtensa ABI to fix build issues of
packages with huge sources.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Makefile.in