diff options
author | Ken Raeburn <raeburn@cygnus> | 1993-09-03 22:19:09 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1993-09-03 22:19:09 +0000 |
commit | 6a54ad639f7c596cf16663c3d381ac55908dc2f6 (patch) | |
tree | af403a9aca6f5d22fe4f86bfe70319e9ba796fa9 | |
parent | bbf1ff10ad0ef1cca9116c87f3e13c2cb2ca65fa (diff) | |
download | gdb-6a54ad639f7c596cf16663c3d381ac55908dc2f6.zip gdb-6a54ad639f7c596cf16663c3d381ac55908dc2f6.tar.gz gdb-6a54ad639f7c596cf16663c3d381ac55908dc2f6.tar.bz2 |
(elf_symbol): Fixed name of elf_symbol_type.
No longer conditionalized on sparcv9.
-rw-r--r-- | gas/config/obj-elf.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gas/config/obj-elf.h b/gas/config/obj-elf.h index ff0800b..70f8f4e 100644 --- a/gas/config/obj-elf.h +++ b/gas/config/obj-elf.h @@ -33,7 +33,6 @@ #define TARGET_SYMBOL_FIELDS int local:1; unsigned long sy_name_offset; -#include "struc-symbol.h" #include "targ-cpu.h" #ifndef FALSE @@ -42,11 +41,7 @@ #endif /* should be conditional on address size! */ -#ifdef sparcv9 -#define elf_symbol(asymbol) ((elf64_symbol_type *)(&(asymbol)->the_bfd)) /*v9*/ -#else /* not v9 */ -#define elf_symbol(asymbol) ((elf32_symbol_type *)(&(asymbol)->the_bfd)) -#endif /* v9? */ +#define elf_symbol(asymbol) ((elf_symbol_type *)(&(asymbol)->the_bfd)) #define S_SET_OTHER(S,V) (elf_symbol((S)->bsym)->other = (V)) #define S_SET_TYPE(S,T) (elf_symbol((S)->bsym)->type = (T)) @@ -59,14 +54,20 @@ extern asection *gdb_section; -#define tc_frob_symbol(S,PUNT) if ( obj_elf_frob_symbol (S, &PUNT) ) { i++; continue; } +#if 0 /* This should not reference i!! + If it's really needed, fix it, and the call site if necessary. */ +#define obj_frob_symbol(S,PUNT) if ( obj_elf_frob_symbol (S, &PUNT) ) { i++; continue; } +#endif #define obj_write_symbol(S) obj_elf_write_symbol (S) #define obj_frob_file() elf_frob_file() -extern int obj_elf_frob_symbol PARAMS ((symbolS *, int *)); +extern int obj_elf_frob_symbol PARAMS ((struct symbol *, int *)); extern void elf_frob_file PARAMS ((void)); extern void elf_file_symbol PARAMS ((char *)); +extern void obj_elf_section PARAMS ((int)); +extern void obj_elf_previous PARAMS ((void)); + #endif /* _OBJ_ELF_H */ |