Ver código fonte

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 anos atrás
pai
commit
f93b91420d
2 arquivos alterados com 0 adições e 16 exclusões
  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);						\
 	}