[llvm-commits] [PATCH, PowerPC] Generate TPREL relocations with the internal assembler
Hal Finkel
hfinkel at anl.gov
Tue Nov 13 11:10:45 PST 2012
----- Original Message -----
> From: "Ulrich Weigand" <Ulrich.Weigand at de.ibm.com>
> To: llvm-commits at cs.uiuc.edu
> Sent: Monday, November 12, 2012 1:25:14 PM
> Subject: [llvm-commits] [PATCH, PowerPC] Generate TPREL relocations with the internal assembler
>
>
> Hello,
>
> if the instruction encoding patches are applied, the one remaining
> problem
> in running the test-suite with the integrated assembler is that it
> doesn't
> generate TPREL relocations when accessing thread-local variables.
> The
> attached patch fixes this by adding the relocation numbers to ELF.h
> and
> generating them from PPCELFObjectWriter::getRelocTypeInner when
> indicated
> by the symbol kind.
>
> This makes test-suite cases using TLS also pass when using the
> integrated
> assembler.
>
> OK to commit?
LGTM.
-Hal
>
> Bye,
> Ulrich
> (See attached file: diff-llvm-mc-tprel)
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
--
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory
More information about the llvm-commits
mailing list