elf64-alpha.c (48850) | elf64-alpha.c (57406) |
---|---|
1/* Alpha specific support for 64-bit ELF 2 Copyright 1996, 1997, 1998 Free Software Foundation, Inc. 3 Contributed by Richard Henderson <rth@tamu.edu>. 4 5This file is part of BFD, the Binary File Descriptor library. 6 7This program is free software; you can redistribute it and/or modify 8it under the terms of the GNU General Public License as published by --- 4 unchanged lines hidden (view full) --- 13but WITHOUT ANY WARRANTY; without even the implied warranty of 14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15GNU General Public License for more details. 16 17You should have received a copy of the GNU General Public License 18along with this program; if not, write to the Free Software 19Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 20 | 1/* Alpha specific support for 64-bit ELF 2 Copyright 1996, 1997, 1998 Free Software Foundation, Inc. 3 Contributed by Richard Henderson <rth@tamu.edu>. 4 5This file is part of BFD, the Binary File Descriptor library. 6 7This program is free software; you can redistribute it and/or modify 8it under the terms of the GNU General Public License as published by --- 4 unchanged lines hidden (view full) --- 13but WITHOUT ANY WARRANTY; without even the implied warranty of 14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15GNU General Public License for more details. 16 17You should have received a copy of the GNU General Public License 18along with this program; if not, write to the Free Software 19Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 20 |
21/* $FreeBSD: head/contrib/binutils/bfd/elf64-alpha.c 57406 2000-02-24 05:46:27Z jdp $ */ 22 |
|
21/* We need a published ABI spec for this. Until one comes out, don't 22 assume this'll remain unchanged forever. */ 23 24#include "bfd.h" 25#include "sysdep.h" 26#include "libbfd.h" 27#include "elf-bfd.h" 28 --- 996 unchanged lines hidden (view full) --- 1025 1026#define PLT_ENTRY_SIZE 12 1027#define PLT_ENTRY_WORD1 0xc3800000 /* br $28, plt0 */ 1028#define PLT_ENTRY_WORD2 0 1029#define PLT_ENTRY_WORD3 0 1030 1031#define MAX_GOT_ENTRIES (64*1024 / 8) 1032 | 23/* We need a published ABI spec for this. Until one comes out, don't 24 assume this'll remain unchanged forever. */ 25 26#include "bfd.h" 27#include "sysdep.h" 28#include "libbfd.h" 29#include "elf-bfd.h" 30 --- 996 unchanged lines hidden (view full) --- 1027 1028#define PLT_ENTRY_SIZE 12 1029#define PLT_ENTRY_WORD1 0xc3800000 /* br $28, plt0 */ 1030#define PLT_ENTRY_WORD2 0 1031#define PLT_ENTRY_WORD3 0 1032 1033#define MAX_GOT_ENTRIES (64*1024 / 8) 1034 |
1033#define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so" | 1035#define ELF_DYNAMIC_INTERPRETER "/usr/libexec/ld-elf.so.1" |
1034 1035/* Handle an Alpha specific section when reading an object file. This 1036 is called when elfcode.h finds a section with an unknown type. 1037 FIXME: We need to handle the SHF_MIPS_GPREL flag, but I'm not sure 1038 how to. */ 1039 1040static boolean 1041elf64_alpha_section_from_shdr (abfd, hdr, name) --- 3071 unchanged lines hidden --- | 1036 1037/* Handle an Alpha specific section when reading an object file. This 1038 is called when elfcode.h finds a section with an unknown type. 1039 FIXME: We need to handle the SHF_MIPS_GPREL flag, but I'm not sure 1040 how to. */ 1041 1042static boolean 1043elf64_alpha_section_from_shdr (abfd, hdr, name) --- 3071 unchanged lines hidden --- |