53 address start = pc(); |
53 address start = pc(); |
54 emit_address(addr); |
54 emit_address(addr); |
55 return start; |
55 return start; |
56 } |
56 } |
57 |
57 |
|
58 #if !defined(ABI_ELFv2) |
58 // Emit a function descriptor with the specified entry point, TOC, and |
59 // Emit a function descriptor with the specified entry point, TOC, and |
59 // ENV. If the entry point is NULL, the descriptor will point just |
60 // ENV. If the entry point is NULL, the descriptor will point just |
60 // past the descriptor. |
61 // past the descriptor. |
61 inline address Assembler::emit_fd(address entry, address toc, address env) { |
62 inline address Assembler::emit_fd(address entry, address toc, address env) { |
62 FunctionDescriptor* fd = (FunctionDescriptor*)pc(); |
63 FunctionDescriptor* fd = (FunctionDescriptor*)pc(); |