or library loaders) information about the target OS. It doesn't actually
contain anything that is used at runtime. So while the current linker
script gathers this into the .data section, the final FLAT doesn't include
anything from it. But tools expect to find a dedicated section in ELFs
which the current section merge prevents.^M
So give .note.ABI-tag its own output section so gdb can locate and use it.
This shouldn't change the FLAT files produced in any way.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
*(__libc_atexit)
*(__libc_subinit)
*(__libc_subfreeres)
- *(.note.ABI-tag)
/* microblaze-specific read-only small data area
and associated locating symbols */
PROVIDE (@SYMBOL_PREFIX@__fini_array_end = .);
} > flatmem :data
+ .note.ABI-tag : { *(.note.ABI-tag) } > flatmem
.eh_frame_hdr : { *(.eh_frame_hdr) } > flatmem
.eh_frame : { KEEP(*(.eh_frame)) } > flatmem
.gcc_except_table : {