diff options
author | Nick Clifton <nickc@redhat.com> | 2000-06-19 01:01:04 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-06-19 01:01:04 +0000 |
commit | 24ef8152517797595d81e7f4355fe05bab741144 (patch) | |
tree | 29ea08c80a14544f9058f77c0deef312f953cedb /gas/symbols.c | |
parent | 5480ccf3750ad31a2f2e03aef882002141699a04 (diff) | |
download | gdb-24ef8152517797595d81e7f4355fe05bab741144.zip gdb-24ef8152517797595d81e7f4355fe05bab741144.tar.gz gdb-24ef8152517797595d81e7f4355fe05bab741144.tar.bz2 |
Use bfd_octets_per_byte instead of OCTETS_PER_BYTE
Diffstat (limited to 'gas/symbols.c')
-rw-r--r-- | gas/symbols.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/symbols.c b/gas/symbols.c index b54a2fd..68c50bb 100644 --- a/gas/symbols.c +++ b/gas/symbols.c @@ -862,10 +862,10 @@ resolve_symbol_value (symp, finalize) struct local_symbol *locsym = (struct local_symbol *) symp; if (local_symbol_resolved_p (locsym)) - return locsym->lsy_offset / OCTETS_PER_BYTE; + return locsym->lsy_offset / bfd_octets_per_byte (stdoutput); final_val = (local_symbol_get_frag (locsym)->fr_address - + locsym->lsy_offset) / OCTETS_PER_BYTE; + + locsym->lsy_offset) / bfd_octets_per_byte (stdoutput); if (finalize) { |