diff options
author | Jeff Law <law@redhat.com> | 1994-05-20 19:43:18 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-05-20 19:43:18 +0000 |
commit | 88bbe402bb45d04a5f1edf5559501b2f4e4f9a4a (patch) | |
tree | 022c2df731a7fb64cb3209aefa0a1d947f0c774c /bfd/som.c | |
parent | 08eceac3165729ef89582f6c112c2661acfe8742 (diff) | |
download | gdb-88bbe402bb45d04a5f1edf5559501b2f4e4f9a4a.zip gdb-88bbe402bb45d04a5f1edf5559501b2f4e4f9a4a.tar.gz gdb-88bbe402bb45d04a5f1edf5559501b2f4e4f9a4a.tar.bz2 |
* som.c (som_set_reloc_info): Do not set any relocation info
for SOM fixups which are never passed to BFD.
Diffstat (limited to 'bfd/som.c')
-rw-r--r-- | bfd/som.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3953,8 +3953,10 @@ som_set_reloc_info (fixup, end, internal_relocs, section, symbols, just_count) fp = &som_fixup_formats[op]; } - /* If we are not just counting, set some reasonable defaults. */ - if (! just_count) + /* If this fixup will be passed to BFD, set some reasonable defaults. */ + if (! just_count + && som_hppa_howto_table[op].type != R_NO_RELOCATION + && som_hppa_howto_table[op].type != R_DATA_OVERRIDE) { rptr->address = offset; rptr->howto = &som_hppa_howto_table[op]; |