Only build PowerPC stubs if we are converting a PowerPC object file.
This commit is contained in:
parent
8f24553567
commit
0397592594
@ -383,7 +383,8 @@ main (argc, argv)
|
|||||||
which must be at the same location as other entries in the TOC
|
which must be at the same location as other entries in the TOC
|
||||||
section, we must do this before determining where the TOC section
|
section, we must do this before determining where the TOC section
|
||||||
goes in setup_sections. */
|
goes in setup_sections. */
|
||||||
powerpc_build_stubs (inbfd, &symbols, &symcount);
|
if (bfd_get_arch (inbfd) == bfd_arch_powerpc)
|
||||||
|
powerpc_build_stubs (inbfd, &symbols, &symcount);
|
||||||
/* end-sanitize-powerpc-netware */
|
/* end-sanitize-powerpc-netware */
|
||||||
|
|
||||||
/* Set up the sections. */
|
/* Set up the sections. */
|
||||||
@ -857,7 +858,8 @@ main (argc, argv)
|
|||||||
/* start-sanitize-powerpc-netware */
|
/* start-sanitize-powerpc-netware */
|
||||||
|
|
||||||
/* Resolve the stubs we build for PowerPC NetWare. */
|
/* Resolve the stubs we build for PowerPC NetWare. */
|
||||||
powerpc_resolve_stubs (inbfd, outbfd);
|
if (bfd_get_arch (inbfd) == bfd_arch_powerpc)
|
||||||
|
powerpc_resolve_stubs (inbfd, outbfd);
|
||||||
/* end-sanitize-powerpc-netware */
|
/* end-sanitize-powerpc-netware */
|
||||||
|
|
||||||
/* Copy over the sections. */
|
/* Copy over the sections. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user