This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mips n32 vs gdb


This little addition means gdb can't open n32 binaries.

2002-04-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>

	...
        (mips_elf32_object_p): Rename from _bfd_mips_elf_object_p and made
        static. Let it refuse n32 objects.


I've reverted this fragment.


r~


Index: elf32-mips.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-mips.c,v
retrieving revision 1.149
diff -c -p -d -r1.149 elf32-mips.c
*** elf32-mips.c	4 Apr 2002 07:01:20 -0000	1.149
--- elf32-mips.c	16 Apr 2002 00:51:08 -0000
*************** mips_elf32_object_p (abfd)
*** 1730,1738 ****
    mach = _bfd_elf_mips_mach (elf_elfheader (abfd)->e_flags);
    bfd_default_set_arch_mach (abfd, bfd_arch_mips, mach);
  
-   if (ABI_N32_P (abfd))
-     return false;
- 
    return true;
  }
  
--- 1730,1735 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]