aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/obj-aout.c3
-rw-r--r--gas/config/obj-ecoff.h4
-rw-r--r--gas/config/obj-elf.c5
-rw-r--r--gas/config/obj-elf.h4
-rw-r--r--gas/config/obj-macho.h2
-rw-r--r--gas/config/obj-multi.h4
6 files changed, 10 insertions, 12 deletions
diff --git a/gas/config/obj-aout.c b/gas/config/obj-aout.c
index b602db2..033a098 100644
--- a/gas/config/obj-aout.c
+++ b/gas/config/obj-aout.c
@@ -248,8 +248,7 @@ obj_aout_sec_sym_ok_for_reloc (asection *sec ATTRIBUTE_UNUSED)
}
static void
-obj_aout_process_stab (segT seg ATTRIBUTE_UNUSED,
- int w,
+obj_aout_process_stab (int w,
const char *s,
int t,
int o,
diff --git a/gas/config/obj-ecoff.h b/gas/config/obj-ecoff.h
index 71b6c76..c46329d 100644
--- a/gas/config/obj-ecoff.h
+++ b/gas/config/obj-ecoff.h
@@ -64,8 +64,8 @@ struct ecoff_sy_obj
#define obj_app_file(name) ecoff_new_file (name)
/* At the moment we don't want to do any stabs processing in read.c. */
-#define OBJ_PROCESS_STAB(seg, what, string, type, other, desc) \
- ecoff_stab ((seg), (what), (string), (type), (other), (desc))
+#define OBJ_PROCESS_STAB(what, string, type, other, desc) \
+ ecoff_stab ((what), (string), (type), (other), (desc))
#define EMIT_SECTION_SYMBOLS 0
#define obj_sec_sym_ok_for_reloc(SEC) 1
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
index a9258ce..1c1b60b 100644
--- a/gas/config/obj-elf.c
+++ b/gas/config/obj-elf.c
@@ -3114,8 +3114,7 @@ elf_generate_asm_lineno (void)
}
static void
-elf_process_stab (segT sec ATTRIBUTE_UNUSED,
- int what ATTRIBUTE_UNUSED,
+elf_process_stab (int what ATTRIBUTE_UNUSED,
const char *string ATTRIBUTE_UNUSED,
int type ATTRIBUTE_UNUSED,
int other ATTRIBUTE_UNUSED,
@@ -3123,7 +3122,7 @@ elf_process_stab (segT sec ATTRIBUTE_UNUSED,
{
#ifdef NEED_ECOFF_DEBUG
if (ECOFF_DEBUGGING)
- ecoff_stab (sec, what, string, type, other, desc);
+ ecoff_stab (what, string, type, other, desc);
#endif
}
diff --git a/gas/config/obj-elf.h b/gas/config/obj-elf.h
index e8fc3126..5c8404e 100644
--- a/gas/config/obj-elf.h
+++ b/gas/config/obj-elf.h
@@ -265,9 +265,9 @@ extern void obj_elf_init_stab_section (segT);
((void) (ECOFF_DEBUGGING ? 0 : (obj_elf_init_stab_section (seg), 0)))
#undef OBJ_PROCESS_STAB
-#define OBJ_PROCESS_STAB(seg, what, string, type, other, desc) \
+#define OBJ_PROCESS_STAB(what, string, type, other, desc) \
if (ECOFF_DEBUGGING) \
- ecoff_stab ((seg), (what), (string), (type), (other), (desc))
+ ecoff_stab ((what), (string), (type), (other), (desc))
#endif /* ECOFF_DEBUGGING */
#endif /* SEPARATE_STAB_SECTIONS not defined. */
diff --git a/gas/config/obj-macho.h b/gas/config/obj-macho.h
index 1a9390d..cfce9d9 100644
--- a/gas/config/obj-macho.h
+++ b/gas/config/obj-macho.h
@@ -76,7 +76,7 @@ extern void obj_mach_o_frob_label (symbolS *);
#define obj_frob_symbol(s, punt) punt = obj_mach_o_frob_symbol(s)
extern int obj_mach_o_frob_symbol (struct symbol *);
-#define OBJ_PROCESS_STAB(SEG,W,S,T,O,D) obj_mach_o_process_stab(W,S,T,O,D)
+#define OBJ_PROCESS_STAB(W,S,T,O,D) obj_mach_o_process_stab(W,S,T,O,D)
extern void obj_mach_o_process_stab (int, const char *,int, int, int);
struct obj_mach_o_frag_data
diff --git a/gas/config/obj-multi.h b/gas/config/obj-multi.h
index d4c9479..894b924 100644
--- a/gas/config/obj-multi.h
+++ b/gas/config/obj-multi.h
@@ -145,9 +145,9 @@
? (*this_format->copy_symbol_attributes) (d, s) \
: (void) 0)
-#define OBJ_PROCESS_STAB(SEG,W,S,T,O,D) \
+#define OBJ_PROCESS_STAB(W,S,T,O,D) \
(this_format->process_stab \
- ? (*this_format->process_stab) (SEG,W,S,T,O,D) \
+ ? (*this_format->process_stab) (W,S,T,O,D) \
: (void) 0)
#define SEPARATE_STAB_SECTIONS \