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-multi.h | |
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-multi.h')
-rw-r--r-- | gas/config/obj-multi.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 \ |