ld_script_modern: minor fixes for gcc 11

This commit is contained in:
Michael Panzlaff 2021-05-05 00:49:42 +02:00
parent 2859fa60cb
commit 783a167b76

View file

@ -27,8 +27,8 @@ SECTIONS {
/* .bss starts at 0x3000000 */ /* .bss starts at 0x3000000 */
src/*.o(.bss); src/*.o(.bss);
gflib/*.o(.bss); gflib/*.o(.bss);
*libc.a:*.o(.bss); *libc.a:*.o(.bss*);
*libnosys.a:*.o(.bss); *libnosys.a:*.o(.bss*);
/* .bss.code starts at 0x3001AA8 */ /* .bss.code starts at 0x3001AA8 */
src/m4a.o(.bss.code); src/m4a.o(.bss.code);
@ -47,19 +47,10 @@ SECTIONS {
.text : .text :
ALIGN(4) ALIGN(4)
{ {
src/crt0.o(.text); src/crt0.o(.text*);
src/*.o(.text); src/*.o(.text*);
gflib/*.o(.text); gflib/*.o(.text*);
asm/*.o(.text); asm/*.o(.text*);
} =0
.text.unlikely :
ALIGN(4)
{
src/crt0.o(.text.unlikely);
src/*.o(.text.unlikely);
gflib/*.o(.text.unlikely);
asm/*.o(.text.unlikely);
} =0 } =0
script_data : script_data :