This change introduces basic support for adding .dynamic entries to an ELF binary produced with yaml2obj without having to rely on the raw `Contents`adds functionality to yaml2obj that allows dynamic entries to have string values via the `String` field. The old `Contents` method is still supported.In this change, This is a refined subset of D56569using a section name in the `String` field tells yaml2obj to use that section's address (pulled from the section header).
This is the first patch seeking to implement the associated RFC here: http://lists.llvm.org/pipermail/llvm-dev/2019-January/129231.html
- YAML traits for .dynamic section contents.
- yaml2obj writes .dynamic entries.
- d_tag can be populated by using the names of the tags.
- Values can be numbers, or- `String` values treated as section names that are converted to addresses.