aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-03-20 16:03:05 -0600
committerTom Tromey <tom@tromey.com>2023-03-28 15:12:44 -0600
commit93d50cd8f0b59aed37a3a0e69155dd34d5a3c1f1 (patch)
tree6b6b260ef4e16838bc8a0a6df54c37a827bfd37f /gdb/mips-tdep.c
parent9675da25357c7a3f472731ddc6eb3becc65b469a (diff)
downloadfsf-binutils-gdb-93d50cd8f0b59aed37a3a0e69155dd34d5a3c1f1.zip
fsf-binutils-gdb-93d50cd8f0b59aed37a3a0e69155dd34d5a3c1f1.tar.gz
fsf-binutils-gdb-93d50cd8f0b59aed37a3a0e69155dd34d5a3c1f1.tar.bz2
Rename "raw" to "unrelocated"
Per an earlier discussion, this patch renames the existing "raw" APIs to use the word "unrelocated" instead.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index b86bf61..7092b26 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -436,13 +436,13 @@ mips_elf_make_msymbol_special (asymbol * sym, struct minimal_symbol *msym)
if (ELF_ST_IS_MICROMIPS (st_other))
{
SET_MSYMBOL_TARGET_FLAG_MICROMIPS (msym);
- CORE_ADDR fixed = CORE_ADDR (msym->value_raw_address ()) | 1;
+ CORE_ADDR fixed = CORE_ADDR (msym->unrelocated_address ()) | 1;
msym->set_unrelocated_address (unrelocated_addr (fixed));
}
else if (ELF_ST_IS_MIPS16 (st_other))
{
SET_MSYMBOL_TARGET_FLAG_MIPS16 (msym);
- CORE_ADDR fixed = CORE_ADDR (msym->value_raw_address ()) | 1;
+ CORE_ADDR fixed = CORE_ADDR (msym->unrelocated_address ()) | 1;
msym->set_unrelocated_address (unrelocated_addr (fixed));
}
}