projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfc198e
)
(update_dynamic_symbols): Add cast when setting reladdr.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 6 Jul 1997 23:24:28 +0000
(23:24 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 6 Jul 1997 23:24:28 +0000
(23:24 +0000)
src/unexalpha.c
patch
|
blob
|
history
diff --git
a/src/unexalpha.c
b/src/unexalpha.c
index c0d3b359b627bff84afb2234255294ac8b81374e..df77236b573c372a50032032553148d0be0b3a74 100644
(file)
--- a/
src/unexalpha.c
+++ b/
src/unexalpha.c
@@
-463,7
+463,7
@@
update_dynamic_symbols (old, new_name, new, aout)
4. len is the size of the object reference in bytes --
currently only 4 (long) and 8 (quad) are supported.
*/
- register unsigned long reladdr = rd_base[i].addr - old_data_scnhdr.s_vaddr;
+ register unsigned long reladdr =
(long)
rd_base[i].addr - old_data_scnhdr.s_vaddr;
char * oldref = old + old_data_scnhdr.s_scnptr + reladdr;
unsigned long newref = aout.tsize + reladdr;
int len;