aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/expr.c b/gas/expr.c
index 1cdd081..e8d553d 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -515,6 +515,14 @@ integer_constant (int radix, expressionS *expressionP)
if (tc_allow_U_suffix && (c == 'U' || c == 'u'))
c = * input_line_pointer++;
+#ifndef tc_allow_L_suffix
+#define tc_allow_L_suffix 1
+#endif
+ /* PR 20732: Look for, and ignore, a L or LL suffix to the number. */
+ if (tc_allow_L_suffix)
+ while (c == 'L' || c == 'l')
+ c = * input_line_pointer++;
+
if (small)
{
/* Here with number, in correct radix. c is the next char.