aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-mips.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-07-11 06:37:34 +0000
committerAndrew Cagney <cagney@redhat.com>2000-07-11 06:37:34 +0000
commit23e2c83b83cf07b348412eddafa930d7dc7666e9 (patch)
tree6ce4cce0ea3ecd0e5257007a1c0b871f02590caa /bfd/elf32-mips.c
parent448cafa4004a254978455418e866347a29b5de5c (diff)
downloadgdb-23e2c83b83cf07b348412eddafa930d7dc7666e9.zip
gdb-23e2c83b83cf07b348412eddafa930d7dc7666e9.tar.gz
gdb-23e2c83b83cf07b348412eddafa930d7dc7666e9.tar.bz2
The MIPS thinks that addresses are signed. Sign extend MIPS ECOFF
addresses.
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r--bfd/elf32-mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index a0512ac..85f20b7 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -40,7 +40,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "coff/internal.h"
#include "coff/ecoff.h"
#include "coff/mips.h"
-#define ECOFF_32
+#define ECOFF_SIGNED_32
#include "ecoffswap.h"
/* This structure is used to hold .got information when linking. It