http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889
--- Comment #17 from David Edelsohn <dje at gcc dot gnu.org> 2013-01-21 15:37:48 UTC --- AIX 5.3 does not support TLS, so there are pieces not implemented in config/rs6000/aix53.h. Jakub's configuration probably will not work. Also, GNU Binutils does not support AIX TLS or AIX 6.1/7.1, but you should not need Binutils to reproduce. rs6000_delegitimize_address() assumes the symbol is in the constant pool because all TOC symbols are in the constant pool. I thought that I associated the LCM symbol with the matching LC symbol, but that was in a different iteration of the patches. It probably needs a check for CONSTANT_POOL_ADDRESS_P().