Patch for ppc _SDA_BASE_ value

Geoff Keating geoffk@cygnus.com
Thu Mar 23 15:43:00 GMT 2000


> Date: Thu, 23 Mar 2000 00:45:10 +0200
> From: Momchil Velikov <velco@fadata.bg>

> Please, consider the attached patch. It adds near the
> beginning of ppc_elf_relocate_section() a few lines, which
> adjust the values of _SDA_BASE_ and _SDA2_BASE_ if these symbols
> are not absolute (i.e. they are not set by a linker script, is that
> correct?).

That bit's certainly wrong.  Absolute symbols are just symbols that do
not move if the code moves.

> Also, the checks for the output section names are removed.

That bit's OK.  Can you cut it out and submit it separately, with a
ChangeLog entry?

-- 
- Geoffrey Keating <geoffk@cygnus.com>


More information about the Binutils mailing list