| OLD | NEW |
| 1 TEMPLATE_NAME=elf32 | 1 TEMPLATE_NAME=elf32 |
| 2 EXTRA_EM_FILE=ppc64elf | 2 EXTRA_EM_FILE=ppc64elf |
| 3 ELFSIZE=64 | 3 ELFSIZE=64 |
| 4 GENERATE_SHLIB_SCRIPT=yes | 4 GENERATE_SHLIB_SCRIPT=yes |
| 5 GENERATE_PIE_SCRIPT=yes | 5 GENERATE_PIE_SCRIPT=yes |
| 6 SCRIPT_NAME=elf | 6 SCRIPT_NAME=elf |
| 7 OUTPUT_FORMAT="elf64-powerpc" | 7 OUTPUT_FORMAT="elf64-powerpc" |
| 8 NO_REL_RELOCS=yes | 8 NO_REL_RELOCS=yes |
| 9 TEXT_START_ADDR=0x10000000 | 9 TEXT_START_ADDR=0x10000000 |
| 10 #SEGMENT_SIZE=0x10000000 | 10 #SEGMENT_SIZE=0x10000000 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 .rela.tocbss ${RELOCATING-0} : { *(.rela.tocbss) }" | 21 .rela.tocbss ${RELOCATING-0} : { *(.rela.tocbss) }" |
| 22 | 22 |
| 23 if test x${RELOCATING+set} = xset; then | 23 if test x${RELOCATING+set} = xset; then |
| 24 GOT=" | 24 GOT=" |
| 25 .got : ALIGN(8) { *(.got .toc) }" | 25 .got : ALIGN(8) { *(.got .toc) }" |
| 26 else | 26 else |
| 27 GOT=" | 27 GOT=" |
| 28 .got 0 : { *(.got) } | 28 .got 0 : { *(.got) } |
| 29 .toc 0 : { *(.toc) }" | 29 .toc 0 : { *(.toc) }" |
| 30 fi | 30 fi |
| 31 # Put .opd relocs first so ld.so will process them before any ifunc relocs. |
| 32 INITIAL_RELOC_SECTIONS=" |
| 33 .rela.opd ${RELOCATING-0} : { *(.rela.opd) }" |
| 31 OTHER_GOT_RELOC_SECTIONS=" | 34 OTHER_GOT_RELOC_SECTIONS=" |
| 32 .rela.toc ${RELOCATING-0} : { *(.rela.toc) } | 35 .rela.toc ${RELOCATING-0} : { *(.rela.toc) } |
| 33 .rela.opd ${RELOCATING-0} : { *(.rela.opd) } | |
| 34 .rela.branch_lt ${RELOCATING-0} : { *(.rela.branch_lt) }" | 36 .rela.branch_lt ${RELOCATING-0} : { *(.rela.branch_lt) }" |
| 35 OTHER_READWRITE_SECTIONS=" | 37 OTHER_READWRITE_SECTIONS=" |
| 36 .toc1 ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.toc1) } | 38 .toc1 ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.toc1) } |
| 37 .opd ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { KEEP (*(.opd)) } | 39 .opd ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { KEEP (*(.opd)) } |
| 38 .branch_lt ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.branch_lt) }" | 40 .branch_lt ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.branch_lt) }" |
| 39 | 41 |
| 40 # Treat a host that matches the target with the possible exception of "64" | 42 # Treat a host that matches the target with the possible exception of "64" |
| 41 # in the name as if it were native. | 43 # in the name as if it were native. |
| 42 if test `echo "$host" | sed -e s/64//` = `echo "$target" | sed -e s/64//`; then | 44 if test `echo "$host" | sed -e s/64//` = `echo "$target" | sed -e s/64//`; then |
| 43 case " $EMULATION_LIBPATH " in | 45 case " $EMULATION_LIBPATH " in |
| 44 *" ${EMULATION_NAME} "*) | 46 *" ${EMULATION_NAME} "*) |
| 45 NATIVE=yes | 47 NATIVE=yes |
| 46 ;; | 48 ;; |
| 47 esac | 49 esac |
| 48 fi | 50 fi |
| 49 | 51 |
| 50 # Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first. | 52 # Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first. |
| 51 case "$EMULATION_NAME" in | 53 case "$EMULATION_NAME" in |
| 52 *64*) LIBPATH_SUFFIX=64 ;; | 54 *64*) LIBPATH_SUFFIX=64 ;; |
| 53 esac | 55 esac |
| OLD | NEW |