diff options
author | Eric Andersen | 2003-10-21 06:45:29 +0000 |
---|---|---|
committer | Eric Andersen | 2003-10-21 06:45:29 +0000 |
commit | 951df20b7e8f776e71c1063f910c34f5cfd0bec4 (patch) | |
tree | bdf613ba209d44b10ca53fa19a8c59e034bc607b | |
parent | acf6c917e27998af76fd065713f403bb2648252e (diff) | |
download | busybox-951df20b7e8f776e71c1063f910c34f5cfd0bec4.zip busybox-951df20b7e8f776e71c1063f910c34f5cfd0bec4.tar.gz |
Do a better job of dealing with screwy s390 abi changes
-rw-r--r-- | modutils/insmod.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index 07e891f..a30aed9 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c @@ -253,7 +253,7 @@ #ifndef MODUTILS_MODULE_H static const int MODUTILS_MODULE_H = 1; -#ident "$Id: insmod.c,v 1.104 2003/10/20 05:40:40 andersen Exp $" +#ident "$Id: insmod.c,v 1.105 2003/10/21 06:45:29 andersen Exp $" /* This file contains the structures used by the 2.0 and 2.1 kernels. We do not use the kernel headers directly because we do not wish @@ -474,7 +474,7 @@ int delete_module(const char *); #ifndef MODUTILS_OBJ_H static const int MODUTILS_OBJ_H = 1; -#ident "$Id: insmod.c,v 1.104 2003/10/20 05:40:40 andersen Exp $" +#ident "$Id: insmod.c,v 1.105 2003/10/21 06:45:29 andersen Exp $" /* The relocatable object is manipulated using elfin types. */ @@ -954,6 +954,9 @@ arch_apply_relocation(struct obj_file *f, *(unsigned int *) loc += isym->gotent.offset; break; +#ifndef R_390_GOTOFF32 +#define R_390_GOTOFF32 R_390_GOTOFF +#endif case R_390_GOTOFF32: assert(got != 0); *loc += v - got; |