| /device/linaro/bootloader/edk2/Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/ |
| PeiNt32PeCoffExtraActionLib.c | 19 PE/Coff image for NT32 environment specific purpose such as souce level debug.
128 Performs additional actions after a PE/COFF image has been loaded and relocated.
135 PE/COFF image that has already been loaded and relocated.
155 // If we load our own PE COFF images the Windows debugger can not source
232 Performs additional actions just before a PE/COFF image is unloaded. Any resources
240 PE/COFF image that is being unloaded.
|
| /device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
| BasePeCoff.c | 3 Functions to get info and load PE/COFF image.
86 Retrieves the PE or TE Header from a PE/COFF or TE image
99 Otherwise, the error status from reading the PE/COFF or TE image using the ImageRead function.
131 // Get the PE/COFF Header pointer
136 // Check the PE/COFF Header Signature. If not, then try to get a TE header
159 Checks the PE or TE header of a PE/COFF or TE image to determine if it supported
171 RETURN_SUCCESS if the PE/COFF or TE image is supported
172 RETURN_UNSUPPORTED of the PE/COFF or TE image is not supported.
245 Retrieves information on a PE/COFF image
254 RETURN_SUCCESS - The information on the PE/COFF image was collected. [all...] |
| /toolchain/binutils/binutils-2.27/bfd/ |
| libcoff.h | 5 /* BFD COFF object file private structure. 27 #include "coff-bfd.h" 53 /* `Tdata' information kept for COFF files. */ 70 from coff implementation to implementation... */ 95 /* Is this a PE format coff file? */ 97 /* Used by the COFF backend linker. */ 111 /* The timestamp from the COFF file header. */ 114 /* Copy of some of the f_flags bits in the COFF filehdr structure, 118 /* coff-stgo32 EXE stub header after BFD tdata has been allocated. Its data 126 coff_data_type coff; member in struct:pe_tdata 151 coff_data_type coff; member in struct:xcoff_tdata [all...] |
| ChangeLog-9193 | 108 * coff-alpha.c: Likewise. 109 * coff-h8300.c: Likewise. 110 * coff-h8500.c: Likewise. 111 * coff-sh.c: Likewise. 112 * coff-z8k.c: Likewise. 115 * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Look 117 * coff-a29k.c (a29k_reloc): Pass errors back in new error_message 163 * Makefile.in (CFILES): Added coff-sparc.c. Rebuild dependencies. 165 * coff-sparc.c (SWAP_IN_RELOC_OFFSET, SWAP_OUT_RELOC_OFFSET, 324 * config.bfd: For sparc*-*-coff, use sparc-coff [all...] |
| coff-i386.c | 1 /* BFD back-end for Intel 386 COFF files. 26 #include "coff/i386.h" 28 #include "coff/internal.h" 31 #include "coff/pe.h" 35 #include "coff/go32exe.h" 56 /* For some reason when using i386 COFF the value stored in the .text 104 ignores the addend for a COFF target when producing 106 COFF, so we handle the addend here instead. */ 357 /* For 386 COFF a STYP_NOLOAD | STYP_BSS section is part of a shared 358 library. On some other COFF targets STYP_BSS is normall [all...] |
| coff-m88k.c | 1 /* BFD back-end for Motorola 88000 COFF "Binary Compatibility Standard" files. 26 #include "coff/m88k.h" 27 #include "coff/internal.h" 38 /* On coff-m88k, local labels start with '@'. */ 284 CREATE_BIG_COFF_TARGET_VEC (m88k_coff_bcs_vec, "coff-m88kbcs", 0, 0, '_', NULL, COFF_SWAP_TABLE)
|
| coffcode.h | 1 /* Support for the generic parts of most COFF variants, for BFD. 26 coff backends 28 BFD supports a number of different flavours of coff format. 33 Coff in all its varieties is implemented with a few common 35 example, The 88k bcs coff format is implemented in the file 36 @file{coff-m88k.c}. This file @code{#include}s 37 @file{coff/m88k.h} which defines the external structure of the 38 coff format for the 88k, and @file{coff/internal.h} which 39 defines the internal structure. @file{coff-m88k.c} als 1991 coff_data_type *coff; local 2019 coff_data_type *coff; local [all...] |
| coff-x86_64.c | 1 /* BFD back-end for AMD 64 COFF files. 34 #include "coff/x86_64.h" 35 #include "coff/internal.h" 36 #include "coff/pe.h" 55 /* For some reason when using AMD COFF the value stored in the .text 103 ignores the addend for a COFF target when producing 105 COFF, so we handle the addend here instead. */ 478 /* For 386 COFF a STYP_NOLOAD | STYP_BSS section is part of a shared 479 library. On some other COFF targets STYP_BSS is normally 519 /* We use the special COFF backend linker. For normal AMD64 COFF, w [all...] |
| coff-m68k.c | 1 /* BFD back-end for Motorola 68000 COFF binaries. 25 #include "coff/m68k.h" 26 #include "coff/internal.h" 29 /* This source file is compiled multiple times for various m68k COFF 35 The user visible target name. The default is "coff-m68k". 253 /* If COFF_COMMON_ADDEND is defined, then when using m68k COFF the 256 work done by Ian Taylor, Cygnus Support, for I386 COFF). */ 295 ignores the addend for a COFF target when producing 297 COFF, so we handle the addend here instead. */ 381 /* coff-m68k.c uses the special COFF backend linker. We need t [all...] |
| /device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/ |
| BasePeCoff.c | 2 Base PE/COFF loader supports loading any PE32/PE32+ or TE image, but
6 This library will have external input - PE/COFF image.
11 necessary data range check, to make sure when this library reads PE/COFF image, the
15 PeCoffLoaderGetPeHeader() routine will do basic check for PE/COFF header.
16 PeCoffLoaderGetImageInfo() routine will do basic check for whole PE/COFF image.
50 Retrieves the magic value from the PE/COFF header.
65 // in the PE/COFF Header. If the MachineType is Itanium(IA64) and the
73 // Return the magic value from the PC/COFF Optional Header
80 Retrieves the PE or TE Header from a PE/COFF or TE image.
83 PE/COFF image is external input, so this routine will [all...] |
| /external/llvm/test/tools/llvm-readobj/ |
| sections-ext.test | 1 RUN: llvm-readobj -s -st -sr -sd %p/Inputs/trivial.obj.coff-i386 \ 2 RUN: | FileCheck %s -check-prefix COFF 16 COFF: Sections [ 17 COFF-NEXT: Section { 18 COFF-NEXT: Number: 1 19 COFF-NEXT: Name: .text (2E 74 65 78 74 00 00 00) 20 COFF-NEXT: VirtualSize: 0x0 21 COFF-NEXT: VirtualAddress: 0x0 22 COFF-NEXT: RawDataSize: 22 23 COFF-NEXT: PointerToRawData: 0x6 [all...] |
| /toolchain/binutils/binutils-2.27/include/coff/ |
| ti.h | 0 /* COFF information for TI COFF support. Definitions in this file should be 25 /* Note "coff/external.h is not used because TI adds extra fields to the structures. */ 38 char f_target_id[2]; /* magic no. (TI COFF-specific) */ 87 /* TI COFF encodes the section alignment in the section header flags */ 102 /* we need to read/write an extra field in the coff file header */ 135 #define F_LSYMS_TICOFF (0x0010) /* normal COFF is 0x8 */ 201 /* TI COFF defines these flags; 206 TI COFF puts the section alignment power of two in the section flags 211 #define STYP_ALIGN (0x0F00) /* TI COFF stores section alignment here * [all...] |
| /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/ |
| BasePeCoff.c | 19 Pe/Coff loader
26 Retrieves the magic value from the PE/COFF header.
41 // in the PE/COFF Header. If the MachineType is Itanium(IA64) and the
49 // Return the magic value from the PC/COFF Optional Header
56 Retrieves the PE or TE Header from a PE/COFF or TE image.
62 @retval Other The error status from reading the PE/COFF or TE image using the ImageRead function.
101 // Read the PE/COFF Header. For PE32 (32-bit) this will read in too much
163 // If the PE/COFF loader does not support the image type return
176 Retrieves information about a PE/COFF image.
181 If the PE/COFF image accessed through the ImageRead service in the ImageContext structure is not [all...] |
| /external/clang/test/CodeGen/ |
| CFStrings.c | 3 // RUN: %clang_cc1 -triple thumbv7-windows -S -emit-llvm %s -o - | FileCheck %s -check-prefix CHECK-COFF 4 // RUN: %clang_cc1 -triple i686-windows -S -emit-llvm %s -o - | FileCheck %s -check-prefix CHECK-COFF 5 // RUN: %clang_cc1 -triple x86_64-windows -S -emit-llvm %s -o - | FileCheck %s -check-prefix CHECK-COFF 20 // CHECK-COFF: @.str = private unnamed_addr constant [4 x i8] c"one\00", align 1 24 // CHECK-COFF: @_unnamed_cfstring_ = private constant %struct.__NSConstantString_tag { i32* getelementptr inbounds ([0 x i32], [0 x i32]* @__CFConstantStringClassReference, i32 0, i32 0), i32 1992, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i32 3 }, section "cfstring", align {{[48]}} 30 // CHECK-COFF: @.str.1 = private unnamed_addr constant [7 x i16] [i16 -3, i16 116, i16 -3, i16 119, i16 -3, i16 111, i16 0], align 2 34 // CHECK-COFF: @_unnamed_cfstring_.2 = private constant %struct.__NSConstantString_tag { i32* getelementptr inbounds ([0 x i32], [0 x i32]* @__CFConstantStringClassReference, i32 0, i32 0), i32 2000, i8* bitcast ([7 x i16]* @.str.1 to i8*), i32 6 }, section "cfstring", align {{[48]}}
|
| /external/llvm/tools/obj2yaml/ |
| coff2yaml.cpp | 11 #include "llvm/Object/COFF.h" 91 DestDD = COFF::DataDirectory(); 145 COFF::AuxiliaryFunctionDefinition YAMLFD; 157 COFF::AuxiliarybfAndefSymbol YAMLAAS; 166 COFF::AuxiliaryWeakExternal YAMLWE; 177 COFF::AuxiliarySectionDefinition YAMLASD; 192 COFF::AuxiliaryCLRToken YAMLCLRToken; 205 Sym.SimpleType = COFF::SymbolBaseType(Symbol.getBaseType()); 206 Sym.ComplexType = COFF::SymbolComplexType(Symbol.getComplexType());
|
| /toolchain/binutils/binutils-2.27/bfd/doc/ |
| bfdsumm.texi | 41 Another example is COFF section names. COFF files may contain an 68 linking or copying big endian COFF to little endian COFF, or @code{a.out} to 118 be useless to most COFF debuggers; the linker has command line switches 122 format supports symbol type information within symbols (for example, COFF, 136 performed on a byte being written to a 68k COFF file, even though 68k COFF 149 between formats (COFF, IEEE and Oasys).
|
| /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ipf/ |
| PeCoffLoaderEx.c | 243 Returns TRUE if the machine type of PE/COFF image is supported. Supported
244 does not mean the image can be executed it means the PE/COFF loader supports
248 This function implies the basic PE/COFF loader/relocator supports IPF, EBC,
258 TRUE - if this PE/COFF loader can load the image
259 FALSE - if this PE/COFF loader cannot load the image
|
| /external/llvm/lib/Target/X86/ |
| X86TargetObjectFile.cpp | 19 #include "llvm/Support/COFF.h" 137 const unsigned Characteristics = COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | 138 COFF::IMAGE_SCN_MEM_READ | 139 COFF::IMAGE_SCN_LNK_COMDAT; 166 COFF::IMAGE_COMDAT_SELECT_ANY);
|
| /external/llvm/test/Instrumentation/InstrProfiling/ |
| linkage.ll | 7 ; RUN: opt < %s -mtriple=x86_64-pc-win32-coff -instrprof -S | FileCheck %s --check-prefix=COFF 8 ; RUN: opt < %s -mtriple=x86_64-pc-win32-coff -passes=instrprof -S | FileCheck %s --check-prefix=COFF 62 ; COFF: define linkonce_odr hidden i32 @__llvm_profile_runtime_user() {{.*}} comdat {
|
| /toolchain/binutils/binutils-2.27/ld/emultempl/ |
| ticoff.em | 25 /* For TI COFF */ 45 /* TI COFF extra command line options */ 55 /* TI COFF options */ 68 fprintf (file, _(" --format 0|1|2 Specify which COFF version to use\n")); 90 einfo (_("%P%F: invalid COFF format version %s\n"), optarg);
|
| /device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/ |
| DxeTpmMeasureBootLib.c | 5 This library will have external input - PE/COFF image and GPT partition.
9 DxeTpmMeasureBootLibImageRead() function will make sure the PE/COFF image content
12 TcgMeasurePeImage() function will accept untrusted PE/COFF image and validate its
63 Reads contents of a PE/COFF image in memory buffer.
66 PE/COFF image is external input, so this function will make sure the PE/COFF image content
69 @param FileHandle Pointer to the file handle to read the PE/COFF image.
70 @param FileOffset Offset into the PE/COFF image to begin the read operation.
73 @param Buffer Output buffer that contains the data read from the PE/COFF image.
75 @retval EFI_SUCCESS The specified portion of the PE/COFF image was read and the size [all...] |
| /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FvFileLoaderOnLoadFileThunk/ |
| FvFileLoaderOnLoadFileThunk.c | 43 @retval EFI_INVALID_PARAMETER The contents of the FFS file did not contain a valid PE/COFF image that could be loaded.
96 @param FfsHeader The pointer to the file header to be loaded by the Pe/Coff loader.
103 @retval EFI_INVALID_PARAMETER The contents of the FFS file did not contain a valid PE/COFF image that could be loaded.
|
| /device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpm2MeasureBootLib/ |
| DxeTpm2MeasureBootLib.c | 5 This library will have external input - PE/COFF image and GPT partition.
9 DxeTpm2MeasureBootLibImageRead() function will make sure the PE/COFF image content
12 Tcg2MeasurePeImage() function will accept untrusted PE/COFF image and validate its
65 Reads contents of a PE/COFF image in memory buffer.
68 PE/COFF image is external input, so this function will make sure the PE/COFF image content
71 @param FileHandle Pointer to the file handle to read the PE/COFF image.
72 @param FileOffset Offset into the PE/COFF image to begin the read operation.
75 @param Buffer Output buffer that contains the data read from the PE/COFF image.
77 @retval EFI_SUCCESS The specified portion of the PE/COFF image was read and the size [all...] |
| /external/llvm/lib/Target/ARM/MCTargetDesc/ |
| ARMMCTargetDesc.h | 85 // Construct a PE/COFF machine code streamer which will generate a PE/COFF 101 /// Construct an ARM PE/COFF object writer.
|
| /external/llvm/lib/Target/X86/MCTargetDesc/ |
| X86MCTargetDesc.h | 76 /// Construct an X86 Windows COFF machine code streamer which will generate 77 /// PE/COFF format object files. 92 /// Construct an X86 Win COFF object writer.
|