aboutsummaryrefslogtreecommitdiff
path: root/gas/macro.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2023-03-17 10:05:32 +0100
committerJan Beulich <jbeulich@suse.com>2023-03-17 10:05:32 +0100
commit6786a0211c9d3c005cd25893ede37e986b69cb49 (patch)
tree975072a3d3636df4a70ec4f56f7e370b5ba50712 /gas/macro.c
parent3da593e8de13861b637c50dc9c291a229bac6b2f (diff)
downloadgdb-6786a0211c9d3c005cd25893ede37e986b69cb49.zip
gdb-6786a0211c9d3c005cd25893ede37e986b69cb49.tar.gz
gdb-6786a0211c9d3c005cd25893ede37e986b69cb49.tar.bz2
gas: isolate macro_strip_at to macro.c
This removes a leftover from i960 support; with that nothing is left which would set macro_strip_at to non-zero, so the variable is converted to a #define (retaining the logic in case a new user would appear) and macro_init()'s respective parameter is dropped.
Diffstat (limited to 'gas/macro.c')
-rw-r--r--gas/macro.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gas/macro.c b/gas/macro.c
index fec806d..25ce962 100644
--- a/gas/macro.c
+++ b/gas/macro.c
@@ -60,7 +60,7 @@ static int macro_mri;
/* Whether we should strip '@' characters. */
-static int macro_strip_at;
+#define macro_strip_at false
/* Number of macro expansions that have been done. */
@@ -78,14 +78,13 @@ macro_del_f (void *ent)
/* Initialize macro processing. */
void
-macro_init (int alternate, int mri, int strip_at)
+macro_init (int alternate, int mri)
{
macro_hash = htab_create_alloc (16, hash_string_tuple, eq_string_tuple,
macro_del_f, notes_calloc, NULL);
macro_defined = 0;
macro_alternate = alternate;
macro_mri = mri;
- macro_strip_at = strip_at;
}
void