瀏覽代碼

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.
Paul Mundt 21 年之前
父節點
當前提交
f93b91420d
共有 2 個文件被更改,包括 0 次插入16 次删除
  1. 0 8
      ldso/ldso/sh/dl-startup.h
  2. 0 8
      ldso/ldso/sh64/dl-startup.h

+ 0 - 8
ldso/ldso/sh/dl-startup.h

@@ -50,14 +50,6 @@ asm(
 	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);					\
 	}
 

+ 0 - 8
ldso/ldso/sh64/dl-startup.h

@@ -113,14 +113,6 @@ asm("" \
 	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);						\
 	}