X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Faoutx.h;h=0e0bab087582aa6714aa1b211b61f92cef920814;hb=dc12032bca08554cf0a72d224e44f755f7789ff3;hp=7809facbdf23a61b56ed1d749b62618f7d31f7ed;hpb=a8eb42a8b7d48ff6bd12ac83b0e31967b4f5abf1;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/aoutx.h b/bfd/aoutx.h index 7809facbdf..0e0bab0875 100644 --- a/bfd/aoutx.h +++ b/bfd/aoutx.h @@ -39,8 +39,7 @@ DESCRIPTION This information is further split out into more specific files for each machine, including @file{sunos.c} for sun3 and sun4, - @file{newsos3.c} for the Sony NEWS, and @file{demo64.c} for a - demonstration of a 64 bit a.out format. + and @file{demo64.c} for a demonstration of a 64 bit a.out format. The base file @file{aoutx.h} defines general mechanisms for reading and writing records to and from disk and various @@ -468,10 +467,7 @@ NAME (aout, some_aout_object_p) (bfd *abfd, oldrawptr = abfd->tdata.aout_data; abfd->tdata.aout_data = rawptr; - /* Copy the contents of the old tdata struct. - In particular, we want the subformat, since for hpux it was set in - hp300hpux.c:swap_exec_header_in and will be used in - hp300hpux.c:callback. */ + /* Copy the contents of the old tdata struct. */ if (oldrawptr != NULL) *abfd->tdata.aout_data = *oldrawptr; @@ -752,17 +748,6 @@ NAME (aout, machine_type) (enum bfd_architecture arch, arch_flags = M_SPARCLET; break; - case bfd_arch_m68k: - switch (machine) - { - case 0: arch_flags = M_68010; break; - case bfd_mach_m68000: arch_flags = M_UNKNOWN; *unknown = FALSE; break; - case bfd_mach_m68010: arch_flags = M_68010; break; - case bfd_mach_m68020: arch_flags = M_68020; break; - default: arch_flags = M_UNKNOWN; break; - } - break; - case bfd_arch_i386: if (machine == 0 || machine == bfd_mach_i386_i386 @@ -841,10 +826,6 @@ NAME (aout, machine_type) (enum bfd_architecture arch, arch_flags = M_CRIS; break; - case bfd_arch_m88k: - *unknown = FALSE; - break; - default: arch_flags = M_UNKNOWN; } @@ -5502,8 +5483,7 @@ NAME (aout, final_link) (bfd *abfd, FIXME: At this point we do not know how much space the symbol table will require. This will not work for any (nonstandard) a.out target that needs to know the symbol table size before it - can compute the relocation file positions. This may or may not - be the case for the hp300hpux target, for example. */ + can compute the relocation file positions. */ (*callback) (abfd, &aout_info.treloff, &aout_info.dreloff, &aout_info.symoff); obj_textsec (abfd)->rel_filepos = aout_info.treloff;