projects
/
external
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9468f8a
)
* somsolib.c (som_solib_section_offsets): Get offset of text
author
Jeff Law
<law@redhat.com>
Thu, 9 Mar 1995 06:37:02 +0000
(06:37 +0000)
committer
Jeff Law
<law@redhat.com>
Thu, 9 Mar 1995 06:37:02 +0000
(06:37 +0000)
section right.
gdb/somsolib.c
patch
|
blob
|
history
diff --git
a/gdb/somsolib.c
b/gdb/somsolib.c
index
a426542
..
241283b
100644
(file)
--- a/
gdb/somsolib.c
+++ b/
gdb/somsolib.c
@@
-586,7
+586,8
@@
som_solib_section_offsets (objfile, offsets)
asection *private_section;
/* The text offset is easy. */
- ANOFFSET (offsets, 0) = so_list->som_solib.text_addr;
+ ANOFFSET (offsets, 0) = (so_list->som_solib.text_addr
+ - so_list->som_solib.text_link_addr);
/* We should look at presumed_dp in the SOM header, but
that's not easily available. This should be OK though. */