< prev index next >

src/cpu/ppc/vm/assembler_ppc.hpp

Print this page
rev 8389 : 8080684: PPC64: Fix little-endian build after "8077838: Recent developments for ppc"

*** 1132,1150 **** inline void emit_data(int, relocInfo::relocType rtype); // Emit an address. inline address emit_addr(const address addr = NULL); - #if !defined(ABI_ELFv2) // Emit a function descriptor with the specified entry point, TOC, // and ENV. If the entry point is NULL, the descriptor will point // just past the descriptor. // Use values from friend functions as defaults. inline address emit_fd(address entry = NULL, address toc = (address) FunctionDescriptor::friend_toc, address env = (address) FunctionDescriptor::friend_env); - #endif ///////////////////////////////////////////////////////////////////////////////////// // PPC instructions ///////////////////////////////////////////////////////////////////////////////////// --- 1132,1150 ---- inline void emit_data(int, relocInfo::relocType rtype); // Emit an address. inline address emit_addr(const address addr = NULL); // Emit a function descriptor with the specified entry point, TOC, // and ENV. If the entry point is NULL, the descriptor will point // just past the descriptor. // Use values from friend functions as defaults. + // If we are running in a little-endian environment (i.e. if ABI_ELFv2 is + // defined) this function will emit no code and simply return the current PC) inline address emit_fd(address entry = NULL, address toc = (address) FunctionDescriptor::friend_toc, address env = (address) FunctionDescriptor::friend_env); ///////////////////////////////////////////////////////////////////////////////////// // PPC instructions /////////////////////////////////////////////////////////////////////////////////////
< prev index next >