Explorar o código

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 %!s(int64=21) %!d(string=hai) anos
pai
achega
f93b91420d
Modificáronse 2 ficheiros con 0 adicións e 16 borrados
  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:						\
 	case R_SH_NONE:						\
 		break;						\
 		break;						\
 	default:						\
 	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);					\
 		_dl_exit(1);					\
 	}
 	}
 
 

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

@@ -113,14 +113,6 @@ asm("" \
 	case R_SH_NONE:							\
 	case R_SH_NONE:							\
 		break;							\
 		break;							\
 	default:							\
 	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);						\
 		_dl_exit(1);						\
 	}
 	}