projects
/
platform
/
upstream
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix all failing FPXX tests for tx39-elf.
[platform/upstream/binutils.git]
/
gdb
/
solib-frv.c
diff --git
a/gdb/solib-frv.c
b/gdb/solib-frv.c
index
acd46da
..
fbd6970
100644
(file)
--- a/
gdb/solib-frv.c
+++ b/
gdb/solib-frv.c
@@
-18,7
+18,6
@@
#include "defs.h"
#include "defs.h"
-#include <string.h>
#include "inferior.h"
#include "gdbcore.h"
#include "solib.h"
#include "inferior.h"
#include "gdbcore.h"
#include "solib.h"
@@
-30,7
+29,6
@@
#include "command.h"
#include "gdbcmd.h"
#include "elf/frv.h"
#include "command.h"
#include "gdbcmd.h"
#include "elf/frv.h"
-#include "exceptions.h"
#include "gdb_bfd.h"
/* Flag which indicates whether internal debug messages should be printed. */
#include "gdb_bfd.h"
/* Flag which indicates whether internal debug messages should be printed. */
@@
-266,7
+264,7
@@
static CORE_ADDR
lm_base (void)
{
enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ());
lm_base (void)
{
enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ());
- struct
minimal_symbol *
got_sym;
+ struct
bound_minimal_symbol
got_sym;
CORE_ADDR addr;
gdb_byte buf[FRV_PTR_SIZE];
CORE_ADDR addr;
gdb_byte buf[FRV_PTR_SIZE];
@@
-284,7
+282,7
@@
lm_base (void)
got_sym = lookup_minimal_symbol ("_GLOBAL_OFFSET_TABLE_", NULL,
symfile_objfile);
got_sym = lookup_minimal_symbol ("_GLOBAL_OFFSET_TABLE_", NULL,
symfile_objfile);
- if (got_sym == 0)
+ if (got_sym
.minsym
== 0)
{
if (solib_frv_debug)
fprintf_unfiltered (gdb_stdlog,
{
if (solib_frv_debug)
fprintf_unfiltered (gdb_stdlog,
@@
-292,7
+290,7
@@
lm_base (void)
return 0;
}
return 0;
}
- addr = MSYMBOL_VALUE_ADDRESS (got_sym) + 8;
+ addr =
B
MSYMBOL_VALUE_ADDRESS (got_sym) + 8;
if (solib_frv_debug)
fprintf_unfiltered (gdb_stdlog,
if (solib_frv_debug)
fprintf_unfiltered (gdb_stdlog,
@@
-919,14
+917,14
@@
frv_relocate_section_addresses (struct so_list *so,
static CORE_ADDR
main_got (void)
{
static CORE_ADDR
main_got (void)
{
- struct
minimal_symbol *
got_sym;
+ struct
bound_minimal_symbol
got_sym;
got_sym = lookup_minimal_symbol ("_GLOBAL_OFFSET_TABLE_",
NULL, symfile_objfile);
got_sym = lookup_minimal_symbol ("_GLOBAL_OFFSET_TABLE_",
NULL, symfile_objfile);
- if (got_sym == 0)
+ if (got_sym
.minsym
== 0)
return 0;
return 0;
- return MSYMBOL_VALUE_ADDRESS (got_sym);
+ return
B
MSYMBOL_VALUE_ADDRESS (got_sym);
}
/* Find the global pointer for the given function address ADDR. */
}
/* Find the global pointer for the given function address ADDR. */