summaryrefslogtreecommitdiff
path: root/gdb/solib-frv.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2008-08-21 13:19:17 +0000
committerPedro Alves <pedro@codesourcery.com>2008-08-21 13:19:17 +0000
commitca0e0a1dad5df9efc9f39c72b7ebc860f0a0ab23 (patch)
treeae91b8ab4d9df1053a5a9533423eb394a1525814 /gdb/solib-frv.c
parentfc662d9a5c9d1ef97e988ead60a967ffe478ea39 (diff)
downloadgdb-ca0e0a1dad5df9efc9f39c72b7ebc860f0a0ab23.tar.gz
* arm-tdep.c (arm_pc_is_thumb): Use obj_section_addr.
* hppa-hpux-tdep.c (hppa_hpux_find_dummy_bpaddr): Likewise. * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Use obj_section_addr and obj_section_endaddr. * hppa-tdep.c (hppa64_convert_code_addr_to_fptr): Likewise. * hppabsd-tdep.c (hppabsd_find_global_pointer): Likewise. * ia64-tdep.c (ia64_find_global_pointer): Likewise. (find_extant_func_descr): Likewise. * solib-frv.c (frv_relocate_main_executable): Use obj_section_addr. * xstormy16-tdep.c (xstormy16_find_jmp_table_entry): Use obj_section_addr and obj_section_endaddr.
Diffstat (limited to 'gdb/solib-frv.c')
-rw-r--r--gdb/solib-frv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c
index 3c844befe1f..463722ab18b 100644
--- a/gdb/solib-frv.c
+++ b/gdb/solib-frv.c
@@ -908,7 +908,7 @@ frv_relocate_main_executable (void)
osect_idx = osect->the_bfd_section->index;
/* Current address of section. */
- addr = osect->addr;
+ addr = obj_section_addr (osect);
/* Offset from where this section started. */
offset = ANOFFSET (symfile_objfile->section_offsets, osect_idx);
/* Original address prior to any past relocations. */