Browse Source

ldso: ARC whitespace tweaks

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Vineet Gupta 11 years ago
parent
commit
35556e0803

+ 1 - 1
ldso/ldso/arc/dl-startup.h

@@ -31,7 +31,7 @@ __asm__(
     "   mov_s   r0, sp          ; pass ptr to aux vector tbl    \n"
 
     "   ; If ldso ran as cmd with executable file nm as arg     \n"
-    "   ; as arg, skip the extra args calc by dl_start()        \n"
+    "   ; skip the extra args calc by dl_start()                \n"
     "   ld_s    r1, [sp]       ; orig argc from aux-vec Tbl     \n"
 #ifdef STAR_9000535888_FIXED
     "   ld      r12, [pcl, _dl_skip_args-.+(.&2)]               \n"

+ 2 - 0
ldso/ldso/arc/dl-syscalls.h

@@ -3,3 +3,5 @@
  *
  * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
  */
+
+/* stub for arch-specific syscall issues */

+ 1 - 1
ldso/ldso/arc/dl-sysdep.h

@@ -87,7 +87,7 @@ extern unsigned __udivmodsi4(unsigned, unsigned) attribute_hidden;
 	__extension__ ({						\
 		register unsigned r1 __asm__ ("r1") = (base);		\
 									\
-		__asm("bl.d @__udivmodsi4` mov r0,%1"			\
+		__asm__("bl.d @__udivmodsi4` mov r0,%1"			\
 		: "=r" (r1)						\
 	        : "r" (n), "r" (r1)					\
 	        : "r0", "r2", "r3", "r4", "lp_count", "blink", "cc");	\

+ 2 - 2
ldso/ldso/arc/elfinterp.c

@@ -148,7 +148,7 @@ _dl_do_reloc(struct elf_resolve *tpnt, struct r_scope_elem *scope,
 
 log_entry:
 #if defined __SUPPORT_LD_DEBUG__
-	if(_dl_debug_detail)
+	if (_dl_debug_detail)
 		_dl_dprintf(_dl_debug_file,"\tpatched: %lx ==> %lx @ %pl: addend %x ",
 				old_val, *reloc_addr, reloc_addr, rpnt->r_addend);
 #endif
@@ -263,7 +263,7 @@ _dl_parse_lazy_relocation_information(struct dyn_elf *rpnt,
 	 * On ARC, the loadaddr of dyn exec is zero, thus elfaddr == loadaddr
 	 * Thus there is no point in adding "0" to values and un-necessarily
 	 * stir up the caches and TLB.
-	 * For lsdo processing busybox binary, this skips over 380 relo entries
+	 * For ldso processing busybox binary, this skips over 380 relo entries
 	 */
 	if (rpnt->dyn->loadaddr != 0)
 		_dl_parse(rpnt->dyn, NULL, rel_addr, rel_size, ___DO_LAZY);