diff options
Diffstat (limited to 'libgcc/config/rl78/vregs.h')
-rw-r--r-- | libgcc/config/rl78/vregs.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/libgcc/config/rl78/vregs.h b/libgcc/config/rl78/vregs.h index d5209e20fa5..f1bc5c24761 100644 --- a/libgcc/config/rl78/vregs.h +++ b/libgcc/config/rl78/vregs.h @@ -55,17 +55,25 @@ r23 = 0xffeef #endif +.macro START_ANOTHER_FUNC name + .global \name + .type \name , @function +\name: +.endm + /* Start a function in its own section, so that it can be subject to linker garbage collection. */ .macro START_FUNC name .pushsection .text.\name,"ax",@progbits - .global \name - .type \name , @function -\name: + START_ANOTHER_FUNC \name +.endm + +.macro END_ANOTHER_FUNC name + .size \name , . - \name .endm /* End the function. Set the size. */ .macro END_FUNC name - .size \name , . - \name + END_ANOTHER_FUNC \name .popsection .endm |