diff options
author | Tom Tromey <tromey@redhat.com> | 2013-04-08 20:08:20 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-04-08 20:08:20 +0000 |
commit | 99eb3f1a2ddf31caf189077fa47a43c5e27ee9a1 (patch) | |
tree | 810830957e69bc77f948e258d8f717964f52cd94 /bfd/som.c | |
parent | 92f1274bbc7a11db2d7a98fcec79c54c96dbb4f6 (diff) | |
download | binutils-redhat-99eb3f1a2ddf31caf189077fa47a43c5e27ee9a1.tar.gz |
PR symtab/8423:
* solib-som.c (som_solib_section_offsets): Use BFD section
indices. Set offsets for all sections.
* somread.c (som_symtab_read): Compute BFD section for
symbol. Use prim_record_minimal_symbol_and_info.
(som_symfile_read): Fix comment.
(struct find_section_offset_arg): New.
(find_section_offset, set_section_index): New functions.
(som_symfile_offsets): Use set_section_index to compute
section indices.
bfd/
* som.c (bfd_section_from_som_symbol): No longer static.
* som.h (bfd_section_from_som_symbol): Declare.
Diffstat (limited to 'bfd/som.c')
-rw-r--r-- | bfd/som.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* bfd back-end for HP PA-RISC SOM objects. Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, - 2012 Free Software Foundation, Inc. + 2012, 2013 Free Software Foundation, Inc. Contributed by the Center for Software Science at the University of Utah. @@ -4572,7 +4572,7 @@ som_get_symtab_upper_bound (bfd *abfd) /* Convert from a SOM subspace index to a BFD section. */ -static asection * +asection * bfd_section_from_som_symbol (bfd *abfd, struct som_external_symbol_dictionary_record *symbol) { |