X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gas%2Fmacro.c;h=e00a18bdad48ef369848dea4f4802ebadaa45c52;hb=660df28acfa1b58c978d65d9cb26d37023f791ce;hp=5f41c13cb80fcd80de3ce93fa6076bce88224ad9;hpb=10c172ba93dde7cb7c46982ca217e646565bf938;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/macro.c b/gas/macro.c index 5f41c13cb8..e00a18bdad 100644 --- a/gas/macro.c +++ b/gas/macro.c @@ -223,14 +223,13 @@ buffer_and_nest (const char *from, const char *to, sb *ptr, anyway, there's not an obviously better fix here. */ if (strncasecmp (ptr->ptr + i, "linefile", 8) == 0) { - char *saved_input_line_pointer = input_line_pointer; char saved_eol_char = ptr->ptr[ptr->len]; ptr->ptr[ptr->len] = '\0'; - input_line_pointer = ptr->ptr + i + 8; + temp_ilp (ptr->ptr + i + 8); s_app_line (0); + restore_ilp (); ptr->ptr[ptr->len] = saved_eol_char; - input_line_pointer = saved_input_line_pointer; ptr->len = line_start; } } @@ -375,7 +374,7 @@ get_any_string (size_t idx, sb *in, sb *out) else if (in->ptr[idx] == '%' && macro_alternate) { offsetT val; - char buf[20]; + char buf[64]; /* Turns the next expression into a string. */ /* xgettext: no-c-format */