John Darrington cffc205c9e GAS: Replace macro LITERAL_PREFIXDOLLAR_HEX with a runtime value.
In an upcoming commit, I need to be able to set the prefix used
to introduce hexadecimal literal constants using a command line
flag.   This is not currently possible, because the switch which
determines this (LITERAL_PREFIXDOLLAR_HEX) is a macro set at
build time.

This change substitutes it for a variable to be set at start up.

gas/ChangeLog:
* expr.c (literal_prefix_dollar_hex): New variable.
(operand)[case '$']: Use the new variable instead of the old macro.
* expr.h (literal_prefix_dollar_hex): Declare it.
* config/tc-epiphany.c (md_begin): Assign literal_prefix_dollar_hex.
* config/tc-ip2k.c:      ditto
* config/tc-mt.c:        ditto
* config/tc-epiphany.h (LITERAL_PREFIXDOLLAR_HEX): Remove macro definition.
* config/tc-ip2k.h:      ditto
* config/tc-mt.h:        ditto
2019-05-20 19:54:31 +02:00
..
2019-03-18 22:39:16 +10:30
2019-01-31 14:45:01 +10:30
2019-04-16 17:12:09 +09:30
2019-02-10 04:34:22 -08:00
2019-05-15 16:41:22 +09:30
2019-04-10 13:27:29 +09:30
2019-02-10 04:34:22 -08:00
2019-05-04 17:23:18 +09:30
2019-02-10 04:34:22 -08:00
2019-02-10 04:34:22 -08:00
2019-04-16 17:12:09 +09:30
2019-02-10 04:34:22 -08:00
2019-05-15 16:25:18 +02:00
2019-02-10 04:34:22 -08:00
2019-04-16 17:13:04 +09:30
2019-02-10 04:34:22 -08:00
2019-05-15 16:28:14 +09:30
2019-04-10 13:27:29 +09:30