from coff_make_debug_symbol.
* libcoff.h: Updated accordingly.
+ * Minor cleanups provoked by gcc warnings:
+ * aoutx.h (NAME(aout, reloc_type_lookup)),
+ cpu-h8300.c (local_bfd_reloc_type_lookup),
+ cpu-z8k.c (local_bfd_reloc_type_lookup): Added default case to
+ switches.
+ * archive.c (do_slurp_bsd_armap, do_slurp_coff_armap),
+ ieee.c (ieee_slurp_section_data),
+ elf.c (elf_make_sections, elf_fake_sections,
+ elf_compute_section_file_positions, elf_write_object_contents):
+ Removed unused variables.
+ * archures.c: Removed /* from within comment.
+ * bout.c (b_out_squirt_out_relocs): Initialize r_extern.
+ * oasys.c (oasys_write_data): Initialize i.
+
Mon Feb 22 18:40:06 1993 Per Bothner (bothner@rtl.cygnus.com)
* libcoff.h (obj_raw_syment_coun): New macro.
/* emit a reloc section, and thus strtab and symtab... */
Elf_Internal_Shdr *rela_hdr;
Elf_Internal_Shdr *symtab_hdr;
- Elf_Internal_Shdr *symstrtab_hdr;
Elf_External_Rela *outbound_relocs;
- Elf_External_Sym *outbound_syms;
int rela_section;
- int symstrtab_section;
symtab_hdr = &thunk->i_shdrp[thunk->symtab_section];
/* most of what is in bfd_shdr_from_section goes in here... */
/* and all of these sections generate at *least* one ELF section. */
int this_section;
- int idx;
/* check if we're making a PROGBITS section... */
/* if ((asect->flags & SEC_ALLOC) && (asect->flags & SEC_LOAD)) */
Elf_Internal_Shdr *rela_hdr;
Elf_Internal_Shdr *symtab_hdr;
Elf_Internal_Shdr *symstrtab_hdr;
- Elf_External_Rela *outbound_relocs;
- Elf_External_Sym *outbound_syms;
int rela_section;
int symstrtab_section;
Elf_Internal_Shdr *i_shdrp; /* Section header table, internal form */
struct strtab *shstrtab;
int count, maxsections;
- int outbase;
elf_sect_thunk est;
if (! elf_shstrtab (abfd)) {
{
Elf_External_Ehdr x_ehdr; /* Elf file header, external form */
Elf_Internal_Ehdr *i_ehdrp; /* Elf file header, internal form */
- Elf_External_Phdr *x_phdrp; /* Program header table, external form */
- Elf_Internal_Phdr *i_phdrp; /* Program header table, internal form */
Elf_External_Shdr *x_shdrp; /* Section header table, external form */
Elf_Internal_Shdr *i_shdrp; /* Section header table, internal form */
asection *nsect;
- int maxsections;
elf_sect_thunk est;
int outbase = 0;