aboutsummaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-17 16:28:10 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-17 16:28:10 +0000
commit9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e (patch)
tree94c3c0678d1349497abe2db6004e9331e50f6d37 /modutils/insmod.c
parenta6127aacef047ed7661722705b052811fbe7f467 (diff)
downloadbusybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.gz
busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.bz2
busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.zip
whitespace cleanup
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r--modutils/insmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 249563435..2b2e3637d 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -981,7 +981,7 @@ arch_apply_relocation(struct obj_file *f,
981 /* dot is the address of the current instruction. 981 /* dot is the address of the current instruction.
982 * v is the target symbol address. 982 * v is the target symbol address.
983 * So we need to extract the offset in the code, 983 * So we need to extract the offset in the code,
984 * adding v, then subtrating the current address 984 * adding v, then subtrating the current address
985 * of this instruction. 985 * of this instruction.
986 * Ex: "IMM 0xFFFE bralid 0x0000" = "bralid 0xFFFE0000" 986 * Ex: "IMM 0xFFFE bralid 0x0000" = "bralid 0xFFFE0000"
987 */ 987 */
@@ -990,7 +990,7 @@ arch_apply_relocation(struct obj_file *f,
990 unsigned int temp = (loc[0] & 0xFFFF) << 16 | 990 unsigned int temp = (loc[0] & 0xFFFF) << 16 |
991 (loc[1] & 0xFFFF); 991 (loc[1] & 0xFFFF);
992 992
993 /* Adjust relative offset. -4 adjustment required 993 /* Adjust relative offset. -4 adjustment required
994 * because dot points to the IMM insn, but branch 994 * because dot points to the IMM insn, but branch
995 * is computed relative to the branch instruction itself. 995 * is computed relative to the branch instruction itself.
996 */ 996 */