diff options
author | Alan Modra <amodra@gmail.com> | 2023-08-31 15:31:56 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-08-31 18:06:10 +0930 |
commit | 533300396936dd54adb9e76600c6b567f3fca794 (patch) | |
tree | 049178af8ef9d3bd23e0808a079e45aa03b607d1 /gas/config/obj-elf.c | |
parent | 959db212304e64751563bcaaacbdd28efd5016a7 (diff) | |
download | gdb-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.c')
-rw-r--r-- | gas/config/obj-elf.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 } |