summaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
authorRichard Earnshaw <richard.earnshaw@arm.com>2002-02-04 11:55:36 +0000
committerRichard Earnshaw <richard.earnshaw@arm.com>2002-02-04 11:55:36 +0000
commitb4d36c6176242f2563e9500b106a84bd0c94b3e7 (patch)
tree5e4b5a89fe43bc794647f1af0df321bee7c31270 /gdb/dbxread.c
parent2b2120170a82d0794f0e9a5ccb12cb331bf4c7a1 (diff)
downloadgdb-b4d36c6176242f2563e9500b106a84bd0c94b3e7.tar.gz
* gdbarch.sh (copyright): Update years in generated header.
(SMASH_TEXT_ADDRESS): Add rule. *gdbarch.h, gdbarch.c: Re-generate. * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. * dbxread.c: Likewise. * dwarfread.c: Likewise. * elfread.c: Likewise. * somread.c: Likewise. * arm-tdep.c (arm_smash_text_address): New function. * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index 61bd930ed0a..e9c2a854afb 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -1,6 +1,6 @@
/* Read dbx symbol tables and convert to internal format, for GDB.
Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
- 1996, 1997, 1998, 1999, 2000, 2001
+ 1996, 1997, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
This file is part of GDB.
@@ -2759,9 +2759,7 @@ process_one_symbol (int type, int desc, CORE_ADDR valu, char *name,
/* Relocate for dynamic loading */
valu += ANOFFSET (section_offsets, SECT_OFF_TEXT (objfile));
-#ifdef SMASH_TEXT_ADDRESS
- SMASH_TEXT_ADDRESS (valu);
-#endif
+ valu = SMASH_TEXT_ADDRESS (valu);
goto define_a_symbol;
case N_LBRAC: