sym->sy_value is not valid for struct local_symbol
authorAlan Modra <amodra@gmail.com>
Mon, 6 May 2019 05:08:24 +0000 (14:38 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 6 May 2019 06:53:33 +0000 (16:23 +0930)
commitbe0d3bbbcdbdba83f74d8ad1be6c4c759255af0b
tree56bf4e50f72b54a05cc825dab7431f35665408cd
parent5a56d6a65f8406f1aadb4569fbb8ff00a6e92d02
sym->sy_value is not valid for struct local_symbol

Fixes this mep-elf error:
gas/elf/dwarf2-19.s: Error: Unknown expression operator (enum 0)
gas/elf/dwarf2-19.s: Error: cannot convert expression symbol .L2 to complex relocation

* symbols.c (symbol_relc_make_sym): Do not access sym->sy_value
directly.
gas/ChangeLog
gas/symbols.c
This page took 0.036514 seconds and 4 git commands to generate.