aboutsummaryrefslogtreecommitdiff
path: root/bfd/som.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-09-14 00:51:33 +0000
committerJeff Law <law@redhat.com>1994-09-14 00:51:33 +0000
commit39836432f8cf5a210f3ec4d577f7b4cadcf283ac (patch)
treeaacdd9395e3262e9161d8df4cd0b930bcb9dce57 /bfd/som.c
parenta0b4aa626512b2d255470691273fd2cc93d22b35 (diff)
downloadgdb-39836432f8cf5a210f3ec4d577f7b4cadcf283ac.zip
gdb-39836432f8cf5a210f3ec4d577f7b4cadcf283ac.tar.gz
gdb-39836432f8cf5a210f3ec4d577f7b4cadcf283ac.tar.bz2
* som.h (som_symbol_type): Delete unused a.out-related fields.
* som.c (bfd_section_from_som_symbol): Use bfd_abs_section_ptr instead of &bfd_abs_section.
Diffstat (limited to 'bfd/som.c')
-rw-r--r--bfd/som.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/som.c b/bfd/som.c
index cea677b..3e0fbad 100644
--- a/bfd/som.c
+++ b/bfd/som.c
@@ -2310,7 +2310,6 @@ som_prep_for_fixups (abfd, syms, num_syms)
}
}
- /* Now sort the symbols. */
qsort (syms, num_syms, sizeof (asymbol *), compare_syms);
/* Compute the symbol indexes, they will be needed by the relocation
@@ -3678,7 +3677,7 @@ bfd_section_from_som_symbol (abfd, symbol)
/* Could be a symbol from an external library (such as an OMOS
shared library). Don't abort. */
- return &bfd_abs_section;
+ return bfd_abs_section_ptr;
}
else
@@ -3696,7 +3695,7 @@ bfd_section_from_som_symbol (abfd, symbol)
/* Could be a symbol from an external library (such as an OMOS
shared library). Don't abort. */
- return &bfd_abs_section;
+ return bfd_abs_section_ptr;
}
}