Don't use multi-line string literals.

This commit is contained in:
Ulrich Drepper 2002-06-20 06:23:14 +00:00
parent 280f4c0dc2
commit 1474b1c6c5

View File

@ -407,40 +407,40 @@ asm ( \
#define TRAMPOLINE_TEMPLATE(tramp_name, fixup_name) \ #define TRAMPOLINE_TEMPLATE(tramp_name, fixup_name) \
extern void tramp_name (void); \ extern void tramp_name (void); \
asm ( "\ asm ( "\
/* Trampoline for " #tramp_name " */ /* Trampoline for " #tramp_name " */ \n\
.globl " #tramp_name " .globl " #tramp_name " \n\
.type " #tramp_name ",@function .type " #tramp_name ",@function \n\
" #tramp_name ": " #tramp_name ": \n\
/* Save return pointer */ /* Save return pointer */ \n\
stw %r2,-20(%sp) stw %r2,-20(%sp) \n\
/* Save argument registers in the call stack frame. */ /* Save argument registers in the call stack frame. */ \n\
stw %r26,-36(%sp) stw %r26,-36(%sp) \n\
stw %r25,-40(%sp) stw %r25,-40(%sp) \n\
stw %r24,-44(%sp) stw %r24,-44(%sp) \n\
stw %r23,-48(%sp) stw %r23,-48(%sp) \n\
/* Build a call frame. */ /* Build a call frame. */ \n\
stwm %sp,64(%sp) stwm %sp,64(%sp) \n\
\n\
/* Set up args to fixup func. */ /* Set up args to fixup func. */ \n\
ldw 8+4(%r20),%r26 /* got[1] == struct link_map * */ ldw 8+4(%r20),%r26 /* got[1] == struct link_map * */ \n\
copy %r19,%r25 /* reloc offset */ copy %r19,%r25 /* reloc offset */ \n\
\n\
/* Call the real address resolver. */ /* Call the real address resolver. */ \n\
bl " #fixup_name ",%r2 bl " #fixup_name ",%r2 \n\
copy %r21,%r19 /* delay slot, set fixup func ltp */ copy %r21,%r19 /* delay slot, set fixup func ltp */ \n\
\n\
ldwm -64(%sp),%sp ldwm -64(%sp),%sp \n\
/* Arguments. */ /* Arguments. */ \n\
ldw -36(%sp),%r26 ldw -36(%sp),%r26 \n\
ldw -40(%sp),%r25 ldw -40(%sp),%r25 \n\
ldw -44(%sp),%r24 ldw -44(%sp),%r24 \n\
ldw -48(%sp),%r23 ldw -48(%sp),%r23 \n\
/* Return pointer. */ /* Return pointer. */ \n\
ldw -20(%sp),%r2 ldw -20(%sp),%r2 \n\
/* Call the real function. */ /* Call the real function. */ \n\
ldw 0(%r28),%r22 ldw 0(%r28),%r22 \n\
bv %r0(%r22) bv %r0(%r22) \n\
ldw 4(%r28),%r19 ldw 4(%r28),%r19 \n\
"); ");
#ifndef PROF #ifndef PROF
@ -567,13 +567,13 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
probably haven't relocated the necessary values by this probably haven't relocated the necessary values by this
point so we have to find them ourselves. */ point so we have to find them ourselves. */
asm ("bl 0f,%0 asm ("bl 0f,%0 \n\
depi 0,31,2,%0 depi 0,31,2,%0 \n\
0: addil L'__boot_ldso_fptr - ($PIC_pcrel$0 - 8),%0 0: addil L'__boot_ldso_fptr - ($PIC_pcrel$0 - 8),%0 \n\
ldo R'__boot_ldso_fptr - ($PIC_pcrel$0 - 12)(%%r1),%1 ldo R'__boot_ldso_fptr - ($PIC_pcrel$0 - 12)(%%r1),%1 \n\
addil L'__fptr_root - ($PIC_pcrel$0 - 16),%0 addil L'__fptr_root - ($PIC_pcrel$0 - 16),%0 \n\
ldo R'__fptr_root - ($PIC_pcrel$0 - 20)(%%r1),%2 ldo R'__fptr_root - ($PIC_pcrel$0 - 20)(%%r1),%2 \n\
addil L'__fptr_count - ($PIC_pcrel$0 - 24),%0 addil L'__fptr_count - ($PIC_pcrel$0 - 24),%0 \n\
ldo R'__fptr_count - ($PIC_pcrel$0 - 28)(%%r1),%3" ldo R'__fptr_count - ($PIC_pcrel$0 - 28)(%%r1),%3"
: :
"=r" (dot), "=r" (dot),