diff options
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/bfin/dl-startup.h | 13 | ||||
-rw-r--r-- | ldso/ldso/bfin/dl-sysdep.h | 6 |
2 files changed, 8 insertions, 11 deletions
diff --git a/ldso/ldso/bfin/dl-startup.h b/ldso/ldso/bfin/dl-startup.h index 57a8ec80c..550b9bcba 100644 --- a/ldso/ldso/bfin/dl-startup.h +++ b/ldso/ldso/bfin/dl-startup.h @@ -21,10 +21,7 @@ USA. */ /* Any assembly language/system dependent hacks needed to setup * boot1.c so it will work as expected and cope with whatever platform * specific wierdness is needed for this architecture. - - * We override the default _dl_boot function, and replace it with a - * bit of asm. Then call the real _dl_boot function, which is now - * named _dl_boot2. */ + */ /* At program start-up, p0 contains a pointer to a elf32_fdpic_loadmap that describes how the executable was loaded @@ -41,9 +38,9 @@ USA. */ __asm__( " .text\n" \ - " .global __dl_boot\n" \ - " .type __dl_boot,@function\n" \ - "__dl_boot:\n" \ + " .global __start\n" \ + " .type __start,@function\n" \ + "__start:\n" \ " call .Lcall\n" \ ".Lcall:\n" \ " R4 = RETS;\n" \ @@ -83,7 +80,7 @@ __asm__( " P0 = R5;\n" \ " SP += 32;\n" \ " JUMP (P4);\n" \ - " .size __dl_boot,.-__dl_boot\n" + " .size __start,.-__start\n" ); #undef DL_START diff --git a/ldso/ldso/bfin/dl-sysdep.h b/ldso/ldso/bfin/dl-sysdep.h index 89483ae00..50c750990 100644 --- a/ldso/ldso/bfin/dl-sysdep.h +++ b/ldso/ldso/bfin/dl-sysdep.h @@ -137,10 +137,10 @@ struct funcdesc_ht; /* * Compute the GOT address. On several platforms, we use assembly - * here. on FR-V FDPIC, there's no way to compute the GOT address, + * here. on FDPIC, there's no way to compute the GOT address, * since the offset between text and data is not fixed, so we arrange - * for the assembly _dl_boot to pass this value as an argument to - * _dl_boot. */ + * for the ldso assembly entry point to pass this value as an argument + * to _dl_start. */ #define DL_BOOT_COMPUTE_GOT(got) ((got) = dl_boot_got_pointer) #define DL_BOOT_COMPUTE_DYN(dpnt, got, load_addr) \ |