aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-08-31 15:31:56 +0930
committerAlan Modra <amodra@gmail.com>2023-08-31 18:06:10 +0930
commit533300396936dd54adb9e76600c6b567f3fca794 (patch)
tree049178af8ef9d3bd23e0808a079e45aa03b607d1 /gas/config/obj-elf.h
parent959db212304e64751563bcaaacbdd28efd5016a7 (diff)
downloadgdb-533300396936dd54adb9e76600c6b567f3fca794.zip
gdb-533300396936dd54adb9e76600c6b567f3fca794.tar.gz
gdb-533300396936dd54adb9e76600c6b567f3fca794.tar.bz2
gas OBJ_PROCESS_STAB
This macro and the supporting functions have an unused "seg" first argument. Tidy that. * config/obj-aout.c (obj_aout_process_stab): Delete first param. * config/obj-ecoff.h (OBJ_PROCESS_STAB): Likewise. * config/obj-elf.c (elf_process_stab): Likewise. * config/obj-elf.h (OBJ_PROCESS_STAB): Likewise. * config/obj-macho.h (OBJ_PROCESS_STAB): Likewise. * config/obj-multi.h (OBJ_PROCESS_STAB): Likewise. * ecoff.c (ecoff_stab): Likewise. * ecoff.h (ecoff_stab): Likewise. * obj.h (struct format_ops <process_stab>): Likewise. * stabs.c (OBJ_PROCESS_STAB): Likewise.
Diffstat (limited to 'gas/config/obj-elf.h')
-rw-r--r--gas/config/obj-elf.h4
1 files changed, 2 insertions, 2 deletions
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. */