]> git.wh0rd.org Git - elf2flt.git/commit
The .note.ABI-tag section exists to indicate to other projects (like gdb
authorDavid McCullough <davidm@snapgear.com>
Thu, 16 Dec 2010 01:37:41 +0000 (01:37 +0000)
committerDavid McCullough <davidm@snapgear.com>
Thu, 16 Dec 2010 01:37:41 +0000 (01:37 +0000)
commit1ed805eb9cedc68bfef53ab00c3b0448ee80f613
tree701d40851b22c3a14ac42ff6ccacc9202875bb05
parent5b93746b59c57c20334a90e07412361e2853bffe
The .note.ABI-tag section exists to indicate to other projects (like gdb
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>
elf2flt.ld.in