This is the mail archive of the
mailing list for the binutils project.
Re: [PATCH] Fix distinction of 32/64bit addresses in MIPS gas
- To: mrg at cygnus dot com
- Subject: Re: [PATCH] Fix distinction of 32/64bit addresses in MIPS gas
- From: cgd at broadcom dot com
- Date: 03 Sep 2001 23:18:02 -0700
- cc: binutils at sources dot redhat dot com,thorpej at wasabisystems dot com,simonb at wasabisystems dot com
- References: <20010831190655.B8746@lucon.org><firstname.lastname@example.org><email@example.com>
firstname.lastname@example.org ("matthew green") writes:
> sure, there are bugs, but there's no ignoring the fact that these
> tools have been used by a whole lot of people for a number of years
> quite successfullly. it's simply true.
I don't believe the current versions will, even disregarding
unintentional issues which have cropped up over the past couple of
weeks or months.
I'm using a version of binutils a couple of months old to generate
(dynamically-linked) NetBSD/mips binaries, but alas there is an
intentional change in the ABI of the binaries generated by binutils,
which breaks compatibility with existing NetBSD/mips ELF binaries and
the existing NetBSD/mips shared loader (which, AFAICT, would have
worked with minimal configury tweaking, previously).
To go back through my notes, it was caused by one or the combination
2000-10-13 Ulf Carlsson <email@example.com>
From Ralf Baechle <firstname.lastname@example.org>
* elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
local_p. Add symbol value only for non-R_MIPS_REL32 relocations
against local symbols.
(_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
2001-01-18 Maciej W. Rozycki <email@example.com>
* elf32-mips.c (mips_elf_create_dynamic_relocation): Undo patch
from 2000-10-13. Do not add the symbol's value for R_MIPS_REL32
relocations against dynsym symbols.
but it's been a couple of months since I looked into it, and I don't
have all of my notes and source trees handy to tell which it was. (I
pointed it out to a few NetBSD folks back in early July.)