* nlmconv.c (main): For PowerPC, call powerpc_build_stubs and
authorIan Lance Taylor <ian@airs.com>
Sat, 12 Mar 1994 03:26:12 +0000 (03:26 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 12 Mar 1994 03:26:12 +0000 (03:26 +0000)
commit4bd7a65f5fec2c2272b86ae72b839ba7ba357200
treed01c0b3aebfc04caf258a5cd2daf5e5118435715
parent0a6ffe9cfd8ac65b9125cf1f81f18661ade0e635
* nlmconv.c (main): For PowerPC, call powerpc_build_stubs and
powerpc_resolve_stubs.  Use __GOT0, not __toc_start.  Handle it if
the start and end symbols are not in the text section.
(struct powerpc_stub): New struct definition.
(powerpc_stubs, powerpc_stub_insns): New static variables.
(powerpc_initial_got_size): New static variable.
(powerpc_build_stubs): New function.
(powerpc_resolve_stubs): New function.
(powerpc_mangle_relocs): Clear extraneous data in .got section.
Rearrange reloc handling to handle ELF relocs that are not
partial_inplace.  Resolve PC relative relocs.
binutils/ChangeLog
binutils/nlmconv.c