ath9k: fix antenna gain calculation
[openwrt.git] / toolchain / uClibc / patches-0.9.32 / 480-powerpc_rel24_support.patch
1 --- a/ldso/ldso/powerpc/elfinterp.c
2 +++ b/ldso/ldso/powerpc/elfinterp.c
3 @@ -293,22 +293,17 @@ _dl_do_reloc (struct elf_resolve *tpnt,s
4 break;
5 #endif
6 case R_PPC_REL24:
7 -#if 0
8 {
9 Elf32_Sword delta = finaladdr - (Elf32_Word)reloc_addr;
10 if (unlikely(delta<<6>>6 != delta)) {
11 _dl_dprintf(2, "%s: symbol '%s' R_PPC_REL24 is out of range.\n\t"
12 "Compile shared libraries with -fPIC!\n",
13 _dl_progname, symname);
14 - _dl_exit(1);
15 + return -1;
16 }
17 *reloc_addr = (*reloc_addr & 0xfc000003) | (delta & 0x3fffffc);
18 break;
19 }
20 -#else
21 - _dl_dprintf(2,"R_PPC_REL24: Compile shared libraries with -fPIC!\n");
22 - return -1;
23 -#endif
24 case R_PPC_NONE:
25 goto out_nocode; /* No code code modified */
26 default:
This page took 0.053505 seconds and 5 git commands to generate.