Lines Matching refs:FILE
2 This file is part of Red Hat elfutils.
55 /* Type of output file. */
62 relocatable_file_type, /* Relocatable object file. */
69 /* The next file given at the command line. */
71 /* Nonzero if this file is the beginning of a group. */
73 /* Nonzero if this file is the end of a group. */
78 that the last archive of the group, if it is the last file of the
79 group, contains the only existing pointer to the next file we
86 /* Name/path of the file. */
88 /* Resolved file name. */
114 /* If this is a DSO the flag indicates whether the file is directly
118 /* True when file should be added to DT_NEEDED list only when
127 /* Pointer to the record for the archive containing this file. */
130 /* Type of file. We have to distinguish these types since they
133 /* This is the ELF library handle for this file. */
147 since in case of a file with more than 64000 sections the index
153 /* Info about the sections of the file. */
157 handle here because the file is not changing. This together
171 /* Index of the section in the output file. */
183 /* Pointer back to the containing file information structure. */
241 /* This is the file descriptor. The value is -1 if the descriptor
242 was already closed. This can happen if we needed file descriptors
257 ld_file_rel_p (struct usedfiles *file)
259 return (elf_kind (file->elf) == ELF_K_ELF
260 && FILEINFO_EHDR (file->ehdr).e_type == ET_REL);
264 ld_file_dso_p (struct usedfiles *file)
266 return (elf_kind (file->elf) == ELF_K_ELF
267 && FILEINFO_EHDR (file->ehdr).e_type == ET_DYN);
271 ld_file_ar_p (struct usedfiles *file)
273 return elf_kind (file->elf) == ELF_K_AR;
304 /* Process the given file. If the file is not yet open, open it.
305 The first parameter is a file descriptor for the file which can
306 be -1 to indicate the file has not yet been found. The second
307 parameter describes the file to be opened, the last one is the
312 #define FILE_PROCESS(fd, file, state, nextp) \
313 DL_CALL_FCT ((state)->callbacks.file_process, (fd, file, state, nextp))
315 /* Close the given file. */
317 #define FILE_CLOSE(file, state) \
318 DL_CALL_FCT ((state)->callbacks.file_close, (file, state))
338 present in the input file. */
343 /* Open the output file. The file name is given or "a.out". We
349 /* Create the data for the output file. */
372 /* Finalize the output file. */
436 /* Index of the symbol in the symbol table of the output file. */
441 struct usedfiles *file;
446 file. Note that the value only needs to be 16 bit wide since
488 /* Simple single linked list of file names. */
540 /* File name mask with section name. */
588 /* Data structure to describe output file format. */
675 /* Distinguish between normal sections coming from the input file
679 scn_normal, /* Section from the input file(s). */
717 /* Address of the section in the output file. */
720 /* Handle for the section name in the output file's section header
785 /* Name of the output file. */
787 /* Name of the temporary file we initially create. */
789 /* File descriptor opened for the output file. */
791 /* The ELF descriptor for the output file. */
794 /* Type of output file. */
853 /* The description of the segments in the output file. */
884 /* List of symbols defined in DSOs and used in a relocatable file.
902 /* Keeping track of the number of symbols in the output file. */
910 /* The description of the segments in the output file as described
925 /* True if output file should contain symbol table. */
934 /* True if output file should contain dynamic symbol table. */
1012 /* True if the output file needs a .got section. */
1080 /* The input file. */
1081 extern FILE *ldin;
1083 /* Name of the input file. */
1086 /* Current line number. Must be reset for a new file. */
1106 /* Append a new file to the list of input files. */
1114 parameters are parsed but before any file is searched for. */
1131 struct usedfiles *file = scninfo->fileinfo;
1133 /* If this symbol is not undefined in this file it cannot come from
1135 if (symidx < file->nlocalsymbols)
1138 struct symbol *sym = file->symref[symidx];