[llvm-commits] [PATCH 4/5] More PPC64 TOC support

Adhemerval Zanella azanella at linux.vnet.ibm.com
Wed Sep 5 09:01:18 PDT 2012


This patch extends my previous work with Roman to add TOC support for PPC64.
Memory references using expressions that might generate fixups now creates
TOC based ones. The function descriptor also now emits the environment pointer.

Following some ARM code, I added a virtual method on MCStremer to handle the
".tc" entries in .toc section for PPC64.

This patch also fixes some symbol name clash when IR file contains symbol named
".LCX". It also adjust some testcases to take in consideration the environment
pointer.

Please review.

-- 
Adhemerval Zanella Netto
  Software Engineer
  Linux Technology Center Brazil
  Toolchain / GLIBC on Power Architecture
  azanella at linux.vnet.ibm.com / azanella at br.ibm.com
  +55 61 8642-9890




More information about the llvm-commits mailing list