* elf32-arc.c: Fix formatting.
* elf32-arm.h: Likewise. * elf32-cris.c: Likewise. * elf32-dlx.c: Likewise. * elf32-hppa.c: Likewise. * elf32-i386.c: Likewise. * elf32-i386qnx.c: Likewise. * elf32-or32.c: Likewise. * elf32-s390.c: Likewise. * elf32-sh64.c: Likewise. * elf32-vax.c: Likewise. * elf32-xstormy16.c: Likewise. * elf64-alpha.c: Likewise. * elf64-mmix.c: Likewise. * elf64-ppc.c: Likewise. * elf64-s390.c: Likewise. * elf64-sh64.c: Likewise. * elf64-x86-64.c: Likewise.
This commit is contained in:
parent
676ab6a01e
commit
cedb70c545
@ -1,3 +1,24 @@
|
||||
2002-06-02 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* elf32-arc.c: Fix formatting.
|
||||
* elf32-arm.h: Likewise.
|
||||
* elf32-cris.c: Likewise.
|
||||
* elf32-dlx.c: Likewise.
|
||||
* elf32-hppa.c: Likewise.
|
||||
* elf32-i386.c: Likewise.
|
||||
* elf32-i386qnx.c: Likewise.
|
||||
* elf32-or32.c: Likewise.
|
||||
* elf32-s390.c: Likewise.
|
||||
* elf32-sh64.c: Likewise.
|
||||
* elf32-vax.c: Likewise.
|
||||
* elf32-xstormy16.c: Likewise.
|
||||
* elf64-alpha.c: Likewise.
|
||||
* elf64-mmix.c: Likewise.
|
||||
* elf64-ppc.c: Likewise.
|
||||
* elf64-s390.c: Likewise.
|
||||
* elf64-sh64.c: Likewise.
|
||||
* elf64-x86-64.c: Likewise.
|
||||
|
||||
2002-06-02 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* elf64-alpha.c (elf64_alpha_relocate_section): Don't dereference
|
||||
|
@ -547,7 +547,7 @@ cris_elf_grok_psinfo (abfd, note)
|
||||
static const bfd_byte elf_cris_plt0_entry[PLT_ENTRY_SIZE] =
|
||||
{
|
||||
0xfc, 0xe1,
|
||||
0x7e, 0x7e, /* push mof. */
|
||||
0x7e, 0x7e, /* push mof. */
|
||||
0x7f, 0x0d, /* (dip [pc+]) */
|
||||
0, 0, 0, 0, /* Replaced with address of .got + 4. */
|
||||
0x30, 0x7a, /* move [...],mof */
|
||||
|
@ -2558,7 +2558,7 @@ elf32_hppa_size_dynamic_sections (output_bfd, info)
|
||||
|
||||
/* Set up various things so that we can make a list of input sections
|
||||
for each output section included in the link. Returns -1 on error,
|
||||
0 when no stubs will be needed, and 1 on success. */
|
||||
0 when no stubs will be needed, and 1 on success. */
|
||||
|
||||
int
|
||||
elf32_hppa_setup_section_lists (output_bfd, info)
|
||||
|
@ -40,7 +40,7 @@ elf_i386qnx_copy_private_bfd_data_p (ibfd, isec, obfd, osec)
|
||||
bfd *obfd;
|
||||
asection *osec;
|
||||
{
|
||||
/* We don't use these parameters, but another target might. */
|
||||
/* We don't use these parameters, but another target might. */
|
||||
ibfd = ibfd;
|
||||
obfd = obfd;
|
||||
osec = osec;
|
||||
|
@ -1064,7 +1064,7 @@ elf_s390_adjust_dynamic_symbol (info, h)
|
||||
|
||||
/* If this is a function, put it in the procedure linkage table. We
|
||||
will fill in the contents of the procedure linkage table later
|
||||
(although we could actually do it here). */
|
||||
(although we could actually do it here). */
|
||||
if (h->type == STT_FUNC
|
||||
|| (h->elf_link_hash_flags & ELF_LINK_HASH_NEEDS_PLT) != 0)
|
||||
{
|
||||
|
@ -1582,7 +1582,7 @@ elf_vax_relocate_section (output_bfd, info, input_bfd, input_section,
|
||||
{
|
||||
/* This is actually a static link, or it is a -Bsymbolic link
|
||||
and the symbol is defined locally or there is no symbol.
|
||||
Change the GOT32 entry to a PC32 entry. */
|
||||
Change the GOT32 entry to a PC32 entry. */
|
||||
break;
|
||||
}
|
||||
|
||||
@ -1673,7 +1673,7 @@ elf_vax_relocate_section (output_bfd, info, input_bfd, input_section,
|
||||
got_offset = (plt_index + 3) * 4;
|
||||
|
||||
/* We want the relocate to point into the .got.plt instead
|
||||
of the plt itself. */
|
||||
of the plt itself. */
|
||||
relocation = (sgotplt->output_section->vma
|
||||
+ sgotplt->output_offset
|
||||
+ got_offset);
|
||||
|
@ -943,7 +943,7 @@ mmix_elf_perform_relocation (isec, howto, datap, addr, value)
|
||||
value += addr;
|
||||
break;
|
||||
}
|
||||
/* FALLTHROUGH. */
|
||||
/* FALLTHROUGH. */
|
||||
case R_MMIX_ADDR19:
|
||||
case R_MMIX_ADDR27:
|
||||
/* These must be in range, or else we emit an error. */
|
||||
|
@ -108,7 +108,7 @@ static boolean ppc64_elf_section_from_shdr
|
||||
#define CROR_151515 0x4def7b82
|
||||
#define CROR_313131 0x4ffffb82
|
||||
|
||||
/* .glink entries for the first 32k functions are two instructions. */
|
||||
/* .glink entries for the first 32k functions are two instructions. */
|
||||
#define LI_R0_0 0x38000000 /* li %r0,0 */
|
||||
#define B_DOT 0x48000000 /* b . */
|
||||
|
||||
@ -525,7 +525,7 @@ static reloc_howto_type ppc64_elf_howto_raw[] = {
|
||||
32, /* bitsize */
|
||||
true, /* pc_relative */
|
||||
0, /* bitpos */
|
||||
/* FIXME: Verify. Was complain_overflow_bitfield. */
|
||||
/* FIXME: Verify. Was complain_overflow_bitfield. */
|
||||
complain_overflow_signed, /* complain_on_overflow */
|
||||
bfd_elf_generic_reloc, /* special_function */
|
||||
"R_PPC64_REL32", /* name */
|
||||
@ -798,7 +798,7 @@ static reloc_howto_type ppc64_elf_howto_raw[] = {
|
||||
0xffffffffffffffff, /* dst_mask */
|
||||
true), /* pcrel_offset */
|
||||
|
||||
/* 64-bit relocation to the symbol's procedure linkage table. */
|
||||
/* 64-bit relocation to the symbol's procedure linkage table. */
|
||||
HOWTO (R_PPC64_PLT64, /* type */
|
||||
0, /* rightshift */
|
||||
4, /* size (0=byte, 1=short, 2=long, 4=64 bits) */
|
||||
@ -1428,7 +1428,7 @@ ppc64_elf_brtaken_reloc (abfd, reloc_entry, symbol, data,
|
||||
r_type = (enum elf_ppc_reloc_type) reloc_entry->howto->type;
|
||||
if (r_type == R_PPC64_ADDR14_BRTAKEN
|
||||
|| r_type == R_PPC64_REL14_BRTAKEN)
|
||||
insn |= 0x01 << 21; /* 'y' or 't' bit, lowest bit of BO field. */
|
||||
insn |= 0x01 << 21; /* 'y' or 't' bit, lowest bit of BO field. */
|
||||
|
||||
if (is_power4)
|
||||
{
|
||||
@ -4332,7 +4332,7 @@ ppc_size_one_stub (gen_entry, in_arg)
|
||||
|
||||
/* Set up various things so that we can make a list of input sections
|
||||
for each output section included in the link. Returns -1 on error,
|
||||
0 when no stubs will be needed, and 1 on success. */
|
||||
0 when no stubs will be needed, and 1 on success. */
|
||||
|
||||
int
|
||||
ppc64_elf_setup_section_lists (output_bfd, info)
|
||||
@ -5230,8 +5230,8 @@ ppc64_elf_relocate_section (output_bfd, info, input_bfd, input_section,
|
||||
/* Branch taken prediction relocations. */
|
||||
case R_PPC64_ADDR14_BRTAKEN:
|
||||
case R_PPC64_REL14_BRTAKEN:
|
||||
insn = 0x01 << 21; /* 'y' or 't' bit, lowest bit of BO field. */
|
||||
/* Fall thru. */
|
||||
insn = 0x01 << 21; /* 'y' or 't' bit, lowest bit of BO field. */
|
||||
/* Fall thru. */
|
||||
|
||||
/* Branch not taken prediction relocations. */
|
||||
case R_PPC64_ADDR14_BRNTAKEN:
|
||||
|
@ -1019,7 +1019,7 @@ elf_s390_adjust_dynamic_symbol (info, h)
|
||||
|
||||
/* If this is a function, put it in the procedure linkage table. We
|
||||
will fill in the contents of the procedure linkage table later
|
||||
(although we could actually do it here). */
|
||||
(although we could actually do it here). */
|
||||
if (h->type == STT_FUNC
|
||||
|| (h->elf_link_hash_flags & ELF_LINK_HASH_NEEDS_PLT) != 0)
|
||||
{
|
||||
|
@ -1614,7 +1614,7 @@ sh_elf64_relocate_section (output_bfd, info, input_bfd, input_section,
|
||||
sec = h->root.u.def.section;
|
||||
/* In these cases, we don't need the relocation value.
|
||||
We check specially because in some obscure cases
|
||||
sec->output_section will be NULL. */
|
||||
sec->output_section will be NULL. */
|
||||
if (r_type == R_SH_GOTPC_LOW16
|
||||
|| r_type == R_SH_GOTPC_MEDLOW16
|
||||
|| r_type == R_SH_GOTPC_MEDHI16
|
||||
|
@ -1087,7 +1087,7 @@ elf64_x86_64_adjust_dynamic_symbol (info, h)
|
||||
|
||||
/* We must generate a R_X86_64_COPY reloc to tell the dynamic linker
|
||||
to copy the initial value out of the dynamic object and into the
|
||||
runtime process image. */
|
||||
runtime process image. */
|
||||
if ((h->root.u.def.section->flags & SEC_ALLOC) != 0)
|
||||
{
|
||||
htab->srelbss->_raw_size += sizeof (Elf64_External_Rela);
|
||||
|
Loading…
x
Reference in New Issue
Block a user