2003-11-23 Andrew Cagney <cagney@redhat.com>
* symfile.c (symbol_file_command): Replace STREQ with strcmp. * defs.h (DEPRECATED_STREQN): Rename STREQN. (DEPRECATED_STREQ): Rename STREQ. * ada-exp.y, ada-lang.c, ada-lex.l, coffread.c: Update. * config/mips/tm-irix5.h, config/mips/tm-irix6.h: Update. * config/mips/tm-mipsv4.h, config/sparc/tm-sun4sol2.h: Update. * dbxread.c, dwarf2read.c, dwarfread.c, environ.c: Update. * eval.c, exec.c, f-lang.c, hppa-tdep.c, hpread.c: Update. * jv-exp.y, language.c, m2-exp.y, mcore-rom.c: Update. * mdebugread.c, mipsread.c, objc-exp.y, objfiles.c: Update. * p-exp.y, p-typeprint.c, p-valprint.c, rs6000-nat.c: Update. * source.c, sparc-tdep.c, stack.c, target.c: Update.
This commit is contained in:
parent
b0e1598abf
commit
cb137aa501
36 changed files with 184 additions and 166 deletions
|
@ -384,14 +384,14 @@ bfdsec_to_vmap (struct bfd *abfd, struct bfd_section *sect, void *arg3)
|
|||
if ((bfd_get_section_flags (abfd, sect) & SEC_LOAD) == 0)
|
||||
return;
|
||||
|
||||
if (STREQ (bfd_section_name (abfd, sect), ".text"))
|
||||
if (DEPRECATED_STREQ (bfd_section_name (abfd, sect), ".text"))
|
||||
{
|
||||
vp->tstart = bfd_section_vma (abfd, sect);
|
||||
vp->tend = vp->tstart + bfd_section_size (abfd, sect);
|
||||
vp->tvma = bfd_section_vma (abfd, sect);
|
||||
vp->toffs = sect->filepos;
|
||||
}
|
||||
else if (STREQ (bfd_section_name (abfd, sect), ".data"))
|
||||
else if (DEPRECATED_STREQ (bfd_section_name (abfd, sect), ".data"))
|
||||
{
|
||||
vp->dstart = bfd_section_vma (abfd, sect);
|
||||
vp->dend = vp->dstart + bfd_section_size (abfd, sect);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue