}
static void
-obj_aout_process_stab (segT seg ATTRIBUTE_UNUSED,
- int w,
+obj_aout_process_stab (int w,
const char *s,
int t,
int o,
#define obj_app_file(name) ecoff_new_file (name)
/* At the moment we don't want to do any stabs processing in read.c. */
-#define OBJ_PROCESS_STAB(seg, what, string, type, other, desc) \
- ecoff_stab ((seg), (what), (string), (type), (other), (desc))
+#define OBJ_PROCESS_STAB(what, string, type, other, desc) \
+ ecoff_stab ((what), (string), (type), (other), (desc))
#define EMIT_SECTION_SYMBOLS 0
#define obj_sec_sym_ok_for_reloc(SEC) 1
}
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,
{
#ifdef NEED_ECOFF_DEBUG
if (ECOFF_DEBUGGING)
- ecoff_stab (sec, what, string, type, other, desc);
+ ecoff_stab (what, string, type, other, desc);
#endif
}
((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. */
#define obj_frob_symbol(s, punt) punt = obj_mach_o_frob_symbol(s)
extern int obj_mach_o_frob_symbol (struct symbol *);
-#define OBJ_PROCESS_STAB(SEG,W,S,T,O,D) obj_mach_o_process_stab(W,S,T,O,D)
+#define OBJ_PROCESS_STAB(W,S,T,O,D) obj_mach_o_process_stab(W,S,T,O,D)
extern void obj_mach_o_process_stab (int, const char *,int, int, int);
struct obj_mach_o_frag_data
? (*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 \
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,
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. */
void (*s_set_type) (symbolS *, int);
void (*copy_symbol_attributes) (symbolS *, symbolS *);
void (*generate_asm_lineno) (void);
- void (*process_stab) (segT, int, const char *, int, int, int);
+ void (*process_stab) (int, const char *, int, int, int);
int (*separate_stab_sections) (void);
void (*init_stab_section) (segT);
int (*sec_sym_ok_for_reloc) (asection *);
#ifdef AOUT_STABS
#ifndef OBJ_PROCESS_STAB
-#define OBJ_PROCESS_STAB(SEG,W,S,T,O,D) aout_process_stab(W,S,T,O,D)
+#define OBJ_PROCESS_STAB(W,S,T,O,D) aout_process_stab(W,S,T,O,D)
#endif
/* Here instead of obj-aout.c because other formats use it too. */
}
#ifdef OBJ_PROCESS_STAB
- OBJ_PROCESS_STAB (seg, what, string, type, other, desc);
+ OBJ_PROCESS_STAB (what, string, type, other, desc);
#endif
subseg_set (saved_seg, saved_subseg);
obstack_free (¬es, stab_secname);
}
#ifdef OBJ_PROCESS_STAB
- OBJ_PROCESS_STAB (0, what, string, type, other, desc);
+ OBJ_PROCESS_STAB (what, string, type, other, desc);
#else
abort ();
#endif