diff options
Diffstat (limited to 'ldso/ldso/cris/dl-startup.h')
| -rw-r--r-- | ldso/ldso/cris/dl-startup.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ldso/ldso/cris/dl-startup.h b/ldso/ldso/cris/dl-startup.h index 832c3528b..66580004e 100644 --- a/ldso/ldso/cris/dl-startup.h +++ b/ldso/ldso/cris/dl-startup.h @@ -10,6 +10,7 @@ __asm__("" \ " .text\n" \ " .globl _start\n" \ " .type _start,@function\n" \ +" .hidden _start\n" \ "_start:\n" \ " move.d $sp,$r10\n" \ " lapc _dl_start,$r9\n" \ @@ -28,6 +29,7 @@ __asm__("" \ " .text\n" \ " .globl _start\n" \ " .type _start,@function\n" \ +" .hidden _start\n" \ "_start:\n" \ " move.d $sp,$r10\n" \ " move.d $pc,$r9\n" \ @@ -43,7 +45,7 @@ __asm__("" \ #endif /* __arch_v32 */ /* Get a pointer to the argv array. On many platforms this can be just - * the address if the first argument, on other platforms we need to + * the address of the first argument, on other platforms we need to * do something a little more subtle here. */ #define GET_ARGV(ARGVP, ARGS) ARGVP = (((unsigned long *) ARGS)+1) @@ -53,11 +55,11 @@ __asm__("" \ /* Handle relocation of the symbols in the dynamic loader. */ -static inline +static __always_inline void PERFORM_BOOTSTRAP_RELOC(ELF_RELOC *rpnt, unsigned long *reloc_addr, unsigned long symbol_addr, unsigned long load_addr, Elf32_Sym *symtab) { - switch (ELF32_R_TYPE(rpnt->r_info)) { + switch (ELF_R_TYPE(rpnt->r_info)) { case R_CRIS_GLOB_DAT: case R_CRIS_JUMP_SLOT: case R_CRIS_32: |
