[PATCH] gas/symbols: introduce md_resolve_symbol
Dmitry Selyutin
ghostmansd@gmail.com
Wed Jul 20 13:21:09 GMT 2022
On Wed, Jul 20, 2022 at 6:06 AM Alan Modra <amodra@gmail.com> wrote:
> Applied to mainline with a small tweak.
Thanks for tweaking this! It appears I could not apply O_md1
(O_vector, used to mark vector registers) correctly unless I also tune
the segment appropriately.
.set VREG, *%r11
sv.extsw VREG, 2
as-new: unable to find equivalent output section for symbol 'VREG'
from section '*GAS `expr' section*'
I tuned the section so that the O_md1 is considered to belong to a
register section, but I'm not sure if I did it right and if this is
not a hack.
https://git.libre-soc.org/?p=binutils-gdb.git;a=commit;h=9ce9a1af040b22c844fa5312d583e6d30cd5dadb
Alan, could you, please, take a look? The main changes are at tc-ppc.c.
--
Best regards,
Dmitry Selyutin
More information about the Binutils
mailing list