[uClibc-cvs] svn commit: trunk/uClibc/ldso/ldso: sh sh64

lethal at uclibc.org lethal at uclibc.org
Wed Apr 27 12:46:58 UTC 2005


Author: lethal
Date: 2005-04-27 06:46:57 -0600 (Wed, 27 Apr 2005)
New Revision: 10189

Log:
Simplify PERFORM_BOOTSTRAP_RELOC() default path.

This makes sh and sh64 get more in line with what the other
architectures are doing. Also fixes up some build failures.



Modified:
   trunk/uClibc/ldso/ldso/sh/dl-startup.h
   trunk/uClibc/ldso/ldso/sh64/dl-startup.h


Changeset:
Modified: trunk/uClibc/ldso/ldso/sh/dl-startup.h
===================================================================
--- trunk/uClibc/ldso/ldso/sh/dl-startup.h	2005-04-27 11:44:11 UTC (rev 10188)
+++ trunk/uClibc/ldso/ldso/sh/dl-startup.h	2005-04-27 12:46:57 UTC (rev 10189)
@@ -50,14 +50,6 @@
 	case R_SH_NONE:						\
 		break;						\
 	default:						\
-		SEND_STDERR("BOOTSTRAP_RELOC: unhandled reloc type "); \
-		SEND_NUMBER_STDERR(ELF32_R_TYPE((RELP)->r_info), 1); \
-		SEND_STDERR("REL, SYMBOL, LOAD: ");		\
-		SEND_ADDRESS_STDERR(REL, 0);			\
-		SEND_STDERR(", ");				\
-		SEND_ADDRESS_STDERR(SYMBOL, 0);			\
-		SEND_STDERR(", ");				\
-		SEND_ADDRESS_STDERR(LOAD, 1);			\
 		_dl_exit(1);					\
 	}
 

Modified: trunk/uClibc/ldso/ldso/sh64/dl-startup.h
===================================================================
--- trunk/uClibc/ldso/ldso/sh64/dl-startup.h	2005-04-27 11:44:11 UTC (rev 10188)
+++ trunk/uClibc/ldso/ldso/sh64/dl-startup.h	2005-04-27 12:46:57 UTC (rev 10189)
@@ -113,14 +113,6 @@
 	case R_SH_NONE:							\
 		break;							\
 	default:							\
-		SEND_STDERR("BOOTSTRAP_RELOC: unhandled reloc type ");	\
-		SEND_NUMBER_STDERR(ELF32_R_TYPE((RELP)->r_info), 1);	\
-		SEND_STDERR("REL, SYMBOL, LOAD: ");			\
-		SEND_ADDRESS_STDERR(REL, 0);				\
-		SEND_STDERR(", ");					\
-		SEND_ADDRESS_STDERR(SYMBOL, 0);				\
-		SEND_STDERR(", ");					\
-		SEND_ADDRESS_STDERR(LOAD, 1);				\
 		_dl_exit(1);						\
 	}
 




More information about the uClibc-cvs mailing list