/* ldlang.h - linker command language support
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 Free Software Foundation, Inc.
This file is part of the GNU Binutils.
#define DEFAULT_MEMORY_REGION "*default*"
+#define SECTION_NAME_MAP_LENGTH (16)
+
typedef enum
{
lang_input_file_is_l_enum,
Usually the same as filename, but for a file spec'd with
-l this is the -l switch itself rather than the filename. */
const char *local_sym_name;
+ /* Extra search path. Used to find a file relative to the
+ directory of the current linker script. */
+ const char *extra_search_path;
bfd *the_bfd;
#define LANG_FOR_EACH_INPUT_STATEMENT(statement) \
lang_input_statement_type *statement; \
- for (statement = &file_chain.head->input_statement; \
+ for (statement = (lang_input_statement_type *) file_chain.head; \
statement != NULL; \
statement = statement->next)
extern void
lang_add_gc_name (const char *);
+extern bfd_boolean
+print_one_symbol (struct bfd_link_hash_entry *hash_entry, void *ptr);
+
#endif