Line 29... |
Line 29... |
extern "C" {
|
extern "C" {
|
#endif
|
#endif
|
|
|
#include "ansidecl.h"
|
#include "ansidecl.h"
|
#include "symcat.h"
|
#include "symcat.h"
|
|
#include <sys/stat.h>
|
|
|
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
|
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
|
#ifndef SABER
|
#ifndef SABER
|
/* This hack is to avoid a problem with some strict ANSI C preprocessors.
|
/* This hack is to avoid a problem with some strict ANSI C preprocessors.
|
The problem is, "32_" is not a valid preprocessing token, and we don't
|
The problem is, "32_" is not a valid preprocessing token, and we don't
|
want extra underscores (e.g., "nlm_32_"). The XCONCAT2 macro will
|
want extra underscores (e.g., "nlm_32_"). The XCONCAT2 macro will
|
Line 298... |
Line 300... |
#define elf_discarded_section(sec) \
|
#define elf_discarded_section(sec) \
|
(!bfd_is_abs_section (sec) \
|
(!bfd_is_abs_section (sec) \
|
&& bfd_is_abs_section ((sec)->output_section) \
|
&& bfd_is_abs_section ((sec)->output_section) \
|
&& (sec)->sec_info_type != ELF_INFO_TYPE_MERGE \
|
&& (sec)->sec_info_type != ELF_INFO_TYPE_MERGE \
|
&& (sec)->sec_info_type != ELF_INFO_TYPE_JUST_SYMS)
|
&& (sec)->sec_info_type != ELF_INFO_TYPE_JUST_SYMS)
|
|
|
/* Forward define. */
|
|
struct stat;
|
|
|
|
typedef enum bfd_print_symbol
|
typedef enum bfd_print_symbol
|
{
|
{
|
bfd_print_symbol_name,
|
bfd_print_symbol_name,
|
bfd_print_symbol_more,
|
bfd_print_symbol_more,
|
Line 643... |
Line 642... |
(bfd *, struct bfd_link_info *);
|
(bfd *, struct bfd_link_info *);
|
extern bfd_boolean bfd_elf_get_bfd_needed_list
|
extern bfd_boolean bfd_elf_get_bfd_needed_list
|
(bfd *, struct bfd_link_needed_list **);
|
(bfd *, struct bfd_link_needed_list **);
|
extern bfd_boolean bfd_elf_size_dynamic_sections
|
extern bfd_boolean bfd_elf_size_dynamic_sections
|
(bfd *, const char *, const char *, const char *, const char *, const char *,
|
(bfd *, const char *, const char *, const char *, const char *, const char *,
|
const char * const *, struct bfd_link_info *, struct bfd_section **,
|
const char * const *, struct bfd_link_info *, struct bfd_section **);
|
struct bfd_elf_version_tree *);
|
|
extern bfd_boolean bfd_elf_size_dynsym_hash_dynstr
|
extern bfd_boolean bfd_elf_size_dynsym_hash_dynstr
|
(bfd *, struct bfd_link_info *);
|
(bfd *, struct bfd_link_info *);
|
extern void bfd_elf_set_dt_needed_name
|
extern void bfd_elf_set_dt_needed_name
|
(bfd *, const char *);
|
(bfd *, const char *);
|
extern const char *bfd_elf_get_dt_soname
|
extern const char *bfd_elf_get_dt_soname
|