Error: can't resolve `0' {*UND* section} - `__DTOR_LIST__' {.dtors section}
William Tambe
tambewilliam@gmail.com
Sat Jul 6 21:57:00 GMT 2019
I have a gcc port that yield the following assembly to negate a
register by an immediate:
inc %11, -__DTOR_LIST__
In the above assembly example, register %11 is to be decremented by
__DTOR_LIST__ where __DTOR_LIST__ is a label.
To parse the immediate portion of the above assembly, the
corresponding gas port use the function parse_exp_save_ilp(); however
it yields the following error:
Error: can't resolve `0' {*UND* section} - `__DTOR_LIST__' {.dtors section}
parse_exp_save_ilp() is not able to evaluate an expression in which
the negation operator precede a symbol.
Any idea whether there is a different function that could be used to
parse such an expression ?
Sincerely,
William Tambe
More information about the Binutils
mailing list