]> git.pld-linux.org Git - packages/gcc.git/blob - gcc-amd64-thunk.patch
- R: jpackage-utils for %{_javadir}; rel 6
[packages/gcc.git] / gcc-amd64-thunk.patch
1 PR target/16092 fix backport from gcc 3.4.0
2 --- gcc-3.3.4/gcc/config/i386/i386.c.orig       2004-05-18 07:07:52.000000000 +0200
3 +++ gcc-3.3.4/gcc/config/i386/i386.c    2004-06-20 19:17:22.244016950 +0200
4 @@ -14676,12 +14676,12 @@
5    xops[0] = XEXP (DECL_RTL (function), 0);
6    if (TARGET_64BIT)
7      {
8 +      xops[0] = XEXP (xops[0], 0);
9        if (!flag_pic || (*targetm.binds_local_p) (function))
10         output_asm_insn ("jmp\t%P0", xops);
11        else
12         {
13 -         tmp = XEXP (xops[0], 0);
14 -         tmp = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, tmp), UNSPEC_GOTPCREL);
15 +         tmp = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, xops[0]), UNSPEC_GOTPCREL);
16           tmp = gen_rtx_CONST (Pmode, tmp);
17           tmp = gen_rtx_MEM (QImode, tmp);
18           xops[0] = tmp;
This page took 0.020897 seconds and 3 git commands to generate.