diff options
author | Ken Raeburn <raeburn@cygnus> | 1995-01-12 21:35:05 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1995-01-12 21:35:05 +0000 |
commit | 89f7a04c0bc9aaa52d961b366601f67b0a091781 (patch) | |
tree | 90b1bd72c407efc96f8ebbfec8e3bfe60307db6f /bfd | |
parent | cf432be26903412c5f61d35d71b4ef66be4e2101 (diff) | |
download | gdb-89f7a04c0bc9aaa52d961b366601f67b0a091781.zip gdb-89f7a04c0bc9aaa52d961b366601f67b0a091781.tar.gz gdb-89f7a04c0bc9aaa52d961b366601f67b0a091781.tar.bz2 |
* sunos.c (m68k_plt_first_entry, sparc_plt_first_entry): Now const.
* elf32-i386.c (elf_i386_plt0_entry, elf_i386_plt_entry): Ditto.
* archures.c (archures_init_table): Now const.
(bfd_arch_init): Adjusted type of local var `ptable'.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/elf32-i386.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 81d7540..844138f 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -200,7 +200,7 @@ elf_i386_info_to_howto_rel (abfd, cache_ptr, dst) /* The first entry in an absolute procedure linkage table looks like this. See the SVR4 ABI i386 supplement to see how this works. */ -static bfd_byte elf_i386_plt0_entry[PLT_ENTRY_SIZE] = +static const bfd_byte elf_i386_plt0_entry[PLT_ENTRY_SIZE] = { 0xff, 0x35, /* pushl contents of address */ 0, 0, 0, 0, /* replaced with address of .got + 4. */ @@ -212,7 +212,7 @@ static bfd_byte elf_i386_plt0_entry[PLT_ENTRY_SIZE] = /* Subsequent entries in an absolute procedure linkage table look like this. */ -static bfd_byte elf_i386_plt_entry[PLT_ENTRY_SIZE] = +static const bfd_byte elf_i386_plt_entry[PLT_ENTRY_SIZE] = { 0xff, 0x25, /* jmp indirect */ 0, 0, 0, 0, /* replaced with address of this symbol in .got. */ @@ -224,7 +224,7 @@ static bfd_byte elf_i386_plt_entry[PLT_ENTRY_SIZE] = /* The first entry in a PIC procedure linkage table look like this. */ -static bfd_byte elf_i386_pic_plt0_entry[PLT_ENTRY_SIZE] = +static const bfd_byte elf_i386_pic_plt0_entry[PLT_ENTRY_SIZE] = { 0xff, 0xb3, 4, 0, 0, 0, /* pushl 4(%ebx) */ 0xff, 0xa3, 8, 0, 0, 0, /* jmp *8(%ebx) */ @@ -233,7 +233,7 @@ static bfd_byte elf_i386_pic_plt0_entry[PLT_ENTRY_SIZE] = /* Subsequent entries in a PIC procedure linkage table look like this. */ -static bfd_byte elf_i386_pic_plt_entry[PLT_ENTRY_SIZE] = +static const bfd_byte elf_i386_pic_plt_entry[PLT_ENTRY_SIZE] = { 0xff, 0xa3, /* jmp *offset(%ebx) */ 0, 0, 0, 0, /* replaced with offset of this symbol in .got. */ |