/* BFD COFF interfaces used outside of BFD.
- Copyright (C) 1990-2021 Free Software Foundation, Inc.
+ Copyright (C) 1990-2022 Free Software Foundation, Inc.
Written by Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
*psyment = csym->native->u.syment;
if (csym->native->fix_value)
- psyment->n_value = psyment->n_value -
- (bfd_hostptr_t) obj_raw_syments (abfd);
+ psyment->n_value =
+ ((psyment->n_value - (bfd_hostptr_t) obj_raw_syments (abfd))
+ / sizeof (combined_entry_type));
/* FIXME: We should handle fix_line here. */