aboutsummaryrefslogtreecommitdiff
path: root/gas/ecoff.c
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/ecoff.c
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/ecoff.c')
-rw-r--r--gas/ecoff.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gas/ecoff.c b/gas/ecoff.c
index 1c01911..5076bbc 100644
--- a/gas/ecoff.c
+++ b/gas/ecoff.c
@@ -3402,8 +3402,7 @@ ecoff_directive_weakext (int ignore ATTRIBUTE_UNUSED)
value a numeric value or an address. */
void
-ecoff_stab (segT sec ATTRIBUTE_UNUSED,
- int what,
+ecoff_stab (int what,
const char *string,
int type,
int other,