aboutsummaryrefslogtreecommitdiff
path: root/gas/ecoff.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/ecoff.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/ecoff.h')
-rw-r--r--gas/ecoff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/ecoff.h b/gas/ecoff.h
index b2bb8d5..b649ab6 100644
--- a/gas/ecoff.h
+++ b/gas/ecoff.h
@@ -82,7 +82,7 @@ extern void ecoff_directive_type (int);
extern void ecoff_directive_val (int);
/* Handle stabs. */
-extern void ecoff_stab (segT sec, int what, const char *string,
+extern void ecoff_stab (int what, const char *string,
int type, int other, int desc);
/* Set the GP prologue size. */