diff options
author | Doug Evans <dje@google.com> | 2013-07-17 05:28:04 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-07-17 05:28:04 +0000 |
commit | 57e6060ea563b556bbb7d45128c508c9f2480e24 (patch) | |
tree | d6b1c3d8ff1a81e36e8319e9e53007b65a7ce9b9 /gdb/s390-tdep.c | |
parent | 7245f2557231b2948462972cdc8e66365207eb35 (diff) | |
download | gdb-57e6060ea563b556bbb7d45128c508c9f2480e24.zip gdb-57e6060ea563b556bbb7d45128c508c9f2480e24.tar.gz gdb-57e6060ea563b556bbb7d45128c508c9f2480e24.tar.bz2 |
* nto-tdep.c (nto_relocate_section_addresses): Update,
target_section.bfd deleted.
* ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Ditto.
* s390-tdep.c (s390_load): Ditto.
* solib-aix.c (solib_aix_relocate_section_addresses): Ditto.
Diffstat (limited to 'gdb/s390-tdep.c')
-rw-r--r-- | gdb/s390-tdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index 6111bbf..72d5545 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -1179,7 +1179,8 @@ s390_load (struct s390_prologue_data *data, struct target_section *secp; secp = target_section_by_addr (¤t_target, addr.k); if (secp != NULL - && (bfd_get_section_flags (secp->bfd, secp->the_bfd_section) + && (bfd_get_section_flags (secp->the_bfd_section->owner, + secp->the_bfd_section) & SEC_READONLY)) return pv_constant (read_memory_integer (addr.k, size, data->byte_order)); |