• Max Filippov's avatar
    xtensa: build kernel with text-section-literals · f8f02ca7
    Max Filippov authored
    vmlinux.lds.S doesn't do anything special with literals, so instead of
    keeping them separate put them into the corresponding text sections.
    Drop explicit .literal sections from the vmlinux.lds.S, use standard
    section macros. Mark literal pool locations in the assembly sources.
    Unfortunately assembler doesn't put literals into .init sections and
    external libgcc may still have .literal sections, so sed transformation
    to the linker script is still needed.
    Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
    f8f02ca7
bootstrap.S 4.55 KB