diff options
| author | rafal <rafal@NetBSD.org> | 2001-12-13 21:41:58 +0000 |
|---|---|---|
| committer | rafal <rafal@NetBSD.org> | 2001-12-13 21:41:58 +0000 |
| commit | b8f0be70740d4381c1102474b0e1d1a4b135e9e3 (patch) | |
| tree | 2b2ca36779b011f04b2ecae4349058f9ce2052cf /sys/dev/microcode/isp | |
| parent | cbadc6e3d32e2bed34593f60fdd6a6d0729b63b9 (diff) | |
Check in workaround for BFD ABI change on MIPS: the new MIPS BFD generates
relocs for local symbols as section-relative REL32 relocs with values based
at 0, whereas previously BFD generated those relocs with values based at the
start address of the section.
This code adjusts all STT_SECTION REL32 relocs which have values less than
the start of the section by adding in the base address of the section. This
may limit section sizes to 2GB, but that shouldn't be a problem for now.
XXX: Needs to be followed-up with binutils list to get closure on which
interpretation is correct (the new ABI or the old one), I just haven't
yet had the time to chase that.
Diffstat (limited to 'sys/dev/microcode/isp')
0 files changed, 0 insertions, 0 deletions
