Commit 638b724c by Michael Meissner

Add FINALIZE_PIC to indicate %ebx needs to be set up if profiling.

From-SVN: r5664
parent 8d4750f1
......@@ -1117,6 +1117,23 @@ while (0)
functions. */
#define INIT_EXPANDERS clear_386_stack_locals ()
/* The `FINALIZE_PIC' macro serves as a hook to emit these special
codes once the function is being compiled into assembly code, but
not before. (It is not done before, because in the case of
compiling an inline function, it would lead to multiple PIC
prologues being included in functions which used inline functions
and were compiled to assembly language.) */
#define FINALIZE_PIC \
do \
{ \
extern int current_function_uses_pic_offset_table; \
\
current_function_uses_pic_offset_table |= profile_flag | profile_block_flag; \
} \
while (0)
/* Specify the machine mode that this machine uses
for the index in the tablejump instruction. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment