diff options
author | Nick Clifton <nickc@redhat.com> | 2015-02-03 10:10:51 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-02-03 10:10:51 +0000 |
commit | 6d012254d46550b0930705b132ad9a49479573b6 (patch) | |
tree | a448708eb523bc7dbdad146dbfd86a9dd39cd0c4 /gas/config | |
parent | 43fbf91ff858af23fa03371b7bf84d4bd2cd82d2 (diff) | |
download | gdb-6d012254d46550b0930705b132ad9a49479573b6.zip gdb-6d012254d46550b0930705b132ad9a49479573b6.tar.gz gdb-6d012254d46550b0930705b132ad9a49479573b6.tar.bz2 |
Fix use of uninitialised memory by the RL78 port of GAS.
* config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-rl78.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-rl78.h b/gas/config/tc-rl78.h index 7962846..e2b9699 100644 --- a/gas/config/tc-rl78.h +++ b/gas/config/tc-rl78.h @@ -82,3 +82,6 @@ extern void rl78_handle_align (fragS *); #define elf_tc_final_processing rl78_elf_final_processing extern void rl78_elf_final_processing (void); + +#define TC_PARSE_CONS_EXPRESSION(EXP, NBYTES) \ + ((EXP)->X_md = 0, expression (EXP), TC_PARSE_CONS_RETURN_NONE) |