summaryrefslogtreecommitdiff
path: root/src/target/image.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:39:18 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:39:18 +0000
commitd61714f4d5d72f9f39fbccbb1c3ba5f3d8982020 (patch)
tree9da1225902da0c661ac9880f17c30d753d99bc17 /src/target/image.c
parent53d605e12c3765aeedabf2bfe0c5cc338dc95d5a (diff)
downloadopenocd+libswd-d61714f4d5d72f9f39fbccbb1c3ba5f3d8982020.tar.gz
openocd+libswd-d61714f4d5d72f9f39fbccbb1c3ba5f3d8982020.tar.bz2
openocd+libswd-d61714f4d5d72f9f39fbccbb1c3ba5f3d8982020.tar.xz
openocd+libswd-d61714f4d5d72f9f39fbccbb1c3ba5f3d8982020.zip
- Fixes '[+]=' whitespace
- Replace '\(\w\)\([+]=\)(' with '\1 \2 ('. - Replace '\(\w\)\([+]=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2364 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/image.c')
-rw-r--r--src/target/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/image.c b/src/target/image.c
index 66bcc95f..45107b48 100644
--- a/src/target/image.c
+++ b/src/target/image.c
@@ -764,7 +764,7 @@ int image_open(image_t *image, char *url, char *type_string)
int section;
for (section=0; section < image->num_sections; section++)
{
- image->sections[section].base_address+=image->base_address;
+ image->sections[section].base_address += image->base_address;
}
/* we're done relocating. The two statements below are mainly
* for documenation purposes: stop anyone from empirically