OSDN Git Service

Link .dynamic to .dynstr
authorDavid Srbecky <dsrbecky@google.com>
Fri, 29 May 2015 15:33:11 +0000 (16:33 +0100)
committerDavid Srbecky <dsrbecky@google.com>
Fri, 29 May 2015 15:59:42 +0000 (15:59 +0000)
commit1a146bfddcac2194a35e3ba33c81bfdf96aad924
tree932b041758127da6a79fdab252da9d5ac4a5b8a4
parent24981a1cd34404c95d822907c48058ef7d25a95a
Link .dynamic to .dynstr

This is what the ELF specification says we should do.
(see Figure 1-13: sh_link and sh_info Interpretation)

Also make the entity size of string sections 0 (i.e. not a table).
Size 1 makes some sense as well but it is not what other tools do.

Bug: 20556771
Change-Id: I780ba2e13c09c33c143fca70b38a35f3b8528fb2
compiler/elf_builder.h