mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 04:29:49 +00:00
Fix typo: intial -> initial.
This commit is contained in:
parent
7134143f53
commit
2ab1486e70
@ -1,3 +1,8 @@
|
||||
2003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
|
||||
|
||||
* coff-h8300.c: Fix typo: intial -> initial.
|
||||
* coff-ppc.c: Likewise.
|
||||
|
||||
2003-02-20 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elf32-ppc.c: Formatting.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* BFD back-end for Hitachi H8/300 COFF binaries.
|
||||
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
2000, 2001, 2002
|
||||
2000, 2001, 2002, 2003
|
||||
Free Software Foundation, Inc.
|
||||
Written by Steve Chamberlain, <sac@cygnus.com>.
|
||||
|
||||
@ -210,7 +210,7 @@ h8300_coff_link_hash_table_create (abfd)
|
||||
ret->vectors_sec = NULL;
|
||||
ret->funcvec_hash_table = NULL;
|
||||
|
||||
/* OK. Everything's intialized, return the base pointer. */
|
||||
/* OK. Everything's initialized, return the base pointer. */
|
||||
return &ret->root.root;
|
||||
}
|
||||
|
||||
@ -396,13 +396,9 @@ reloc_processing (relent, reloc, symbols, abfd, section)
|
||||
rtype2howto (relent, reloc);
|
||||
|
||||
if (((int) reloc->r_symndx) > 0)
|
||||
{
|
||||
relent->sym_ptr_ptr = symbols + obj_convert (abfd)[reloc->r_symndx];
|
||||
}
|
||||
relent->sym_ptr_ptr = symbols + obj_convert (abfd)[reloc->r_symndx];
|
||||
else
|
||||
{
|
||||
relent->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr;
|
||||
}
|
||||
relent->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr;
|
||||
|
||||
relent->addend = reloc->r_offset;
|
||||
|
||||
@ -428,6 +424,7 @@ h8300_symbol_address_p (abfd, input_section, address)
|
||||
while (*s)
|
||||
{
|
||||
asymbol *p = *s;
|
||||
|
||||
if (p->section == input_section
|
||||
&& (input_section->output_section->vma
|
||||
+ input_section->output_offset
|
||||
@ -472,8 +469,8 @@ h8300_reloc16_estimate (abfd, input_section, reloc, shrink, link_info)
|
||||
/* Only examine the relocs which might be relaxable. */
|
||||
switch (reloc->howto->type)
|
||||
{
|
||||
/* This is the 16/24 bit absolute branch which could become an 8 bit
|
||||
pc-relative branch. */
|
||||
/* This is the 16/24 bit absolute branch which could become an 8 bit
|
||||
pc-relative branch. */
|
||||
case R_JMP1:
|
||||
case R_JMPL1:
|
||||
/* Get the address of the target of this branch. */
|
||||
@ -720,7 +717,6 @@ h8300_reloc16_extra_cases (abfd, link_info, link_order, reloc, data, src_ptr,
|
||||
|
||||
/* Everything looks OK. Apply the relocation and update the
|
||||
src/dst address appropriately. */
|
||||
|
||||
bfd_put_8 (abfd, gap, data + dst_address);
|
||||
dst_address++;
|
||||
src_address++;
|
||||
@ -752,7 +748,6 @@ h8300_reloc16_extra_cases (abfd, link_info, link_order, reloc, data, src_ptr,
|
||||
|
||||
/* Everything looks OK. Apply the relocation and update the
|
||||
src/dst address appropriately. */
|
||||
|
||||
bfd_put_16 (abfd, (bfd_vma) gap, data + dst_address);
|
||||
dst_address += 2;
|
||||
src_address += 2;
|
||||
@ -773,7 +768,6 @@ h8300_reloc16_extra_cases (abfd, link_info, link_order, reloc, data, src_ptr,
|
||||
{
|
||||
/* Everything looks OK. Apply the relocation and update the
|
||||
src/dst address appropriately. */
|
||||
|
||||
bfd_put_8 (abfd, value & 0xff, data + dst_address);
|
||||
dst_address += 1;
|
||||
src_address += 1;
|
||||
|
600
bfd/coff-ppc.c
600
bfd/coff-ppc.c
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,7 @@
|
||||
2003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
|
||||
|
||||
* cgen.c: Fix typo: intial -> initial.
|
||||
|
||||
2003-02-19 Jie Zhang <zhangjie@magima.com.cn>
|
||||
|
||||
* app.c (do_scrub_chars): Handle '||' in two states.
|
||||
|
36
gas/cgen.c
36
gas/cgen.c
@ -1,22 +1,22 @@
|
||||
/* GAS interface for targets using CGEN: Cpu tools GENerator.
|
||||
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
|
||||
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GAS, the GNU Assembler.
|
||||
This file is part of GAS, the GNU Assembler.
|
||||
|
||||
GAS is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2, or (at your option)
|
||||
any later version.
|
||||
GAS is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2, or (at your option)
|
||||
any later version.
|
||||
|
||||
GAS is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
GAS is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with GAS; see the file COPYING. If not, write to the Free Software
|
||||
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with GAS; see the file COPYING. If not, write to the Free Software
|
||||
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <setjmp.h>
|
||||
#include "ansidecl.h"
|
||||
@ -61,7 +61,8 @@ cgen_asm_record_register (name, number)
|
||||
OPINDEX is the index in the operand table.
|
||||
OPINFO is something the caller chooses to help in reloc determination. */
|
||||
|
||||
struct fixup {
|
||||
struct fixup
|
||||
{
|
||||
int opindex;
|
||||
int opinfo;
|
||||
expressionS exp;
|
||||
@ -112,7 +113,7 @@ queue_fixup (opindex, opinfo, expP)
|
||||
gas_cgen_initialize_saved_fixups_array():
|
||||
Sets num_fixups_in_chain to 0 for each element. Call this from
|
||||
md_begin() if you plan to use these functions and you want the
|
||||
fixup count in each element to be set to 0 intially. This is
|
||||
fixup count in each element to be set to 0 initially. This is
|
||||
not necessary, but it's included just in case. It performs
|
||||
the same function for each element in the array of fixup chains
|
||||
that gas_init_parse() performs for the current fixups.
|
||||
@ -130,7 +131,8 @@ queue_fixup (opindex, opinfo, expP)
|
||||
element - swap the current fixups with those in this element number.
|
||||
*/
|
||||
|
||||
struct saved_fixups {
|
||||
struct saved_fixups
|
||||
{
|
||||
struct fixup fixup_chain[GAS_CGEN_MAX_FIXUPS];
|
||||
int num_fixups_in_chain;
|
||||
};
|
||||
@ -240,7 +242,6 @@ gas_cgen_record_fixup (frag, where, insn, length, operand, opinfo, symbol, offse
|
||||
|
||||
/* It may seem strange to use operand->attrs and not insn->attrs here,
|
||||
but it is the operand that has a pc relative relocation. */
|
||||
|
||||
fixP = fix_new (frag, where, length / 8, symbol, offset,
|
||||
CGEN_OPERAND_ATTR_VALUE (operand, CGEN_OPERAND_PCREL_ADDR),
|
||||
(bfd_reloc_code_real_type)
|
||||
@ -279,7 +280,6 @@ gas_cgen_record_fixup_exp (frag, where, insn, length, operand, opinfo, exp)
|
||||
|
||||
/* It may seem strange to use operand->attrs and not insn->attrs here,
|
||||
but it is the operand that has a pc relative relocation. */
|
||||
|
||||
fixP = fix_new_exp (frag, where, length / 8, exp,
|
||||
CGEN_OPERAND_ATTR_VALUE (operand, CGEN_OPERAND_PCREL_ADDR),
|
||||
(bfd_reloc_code_real_type)
|
||||
|
Loading…
Reference in New Issue
Block a user