diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-03-27 19:21:19 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-03-27 19:21:19 +0000 |
commit | 7ec49f9133feadc43acc49b1ee00674ecb9c1c15 (patch) | |
tree | 15b0a0e3a31c92bfb1c22001426f2a84fb255ce3 /bfd/bfd-in2.h | |
parent | cf2e4f5fdee71e74fac6d295e642375db2e9c4c4 (diff) | |
download | gdb-7ec49f9133feadc43acc49b1ee00674ecb9c1c15.zip gdb-7ec49f9133feadc43acc49b1ee00674ecb9c1c15.tar.gz gdb-7ec49f9133feadc43acc49b1ee00674ecb9c1c15.tar.bz2 |
* section.c (SEC_LINKER_MARK): Define.
* bfd-in2.h: Rebuild.
* aoutx.h (NAME(aout,final_link)): Mark sections included in the
link.
(aout_link_input_bfd): Don't link unmarked sections.
* cofflink.c (_bfd_coff_final_link): Mark sections included in the
link.
(_bfd_coff_link_input_bfd): Don't link unmarked sections.
* coff-ppc.c (ppc_bfd_coff_final_link): Mark sections included in
the link.
* elflink.h (elf_bfd_final_link): Mark sections included in the
link.
(elf_link_input_bfd): Don't link unmarked sections.
* xcofflink.c (_bfd_xcoff_bfd_final_link): Mark sections included
in the link.
(xcoff_link_input_bfd): Don't link unmarked sections.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 9e2ded5..11cc952 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -333,6 +333,10 @@ typedef struct _symbol_info short stab_desc; /* Stab desc. */ CONST char *stab_name; /* String for stab type. */ } symbol_info; + +/* Get the name of a stabs type code. */ + +extern const char *bfd_get_stab_name PARAMS ((int)); /* Hash table routines. There is no way to free up a hash table. */ @@ -613,7 +617,9 @@ extern boolean bfd_sunos_size_dynamic_sections /* Linux shared library support routines for the linker. */ -extern boolean bfd_linux_size_dynamic_sections +extern boolean bfd_i386linux_size_dynamic_sections + PARAMS ((bfd *, struct bfd_link_info *)); +extern boolean bfd_m68klinux_size_dynamic_sections PARAMS ((bfd *, struct bfd_link_info *)); /* mmap hacks */ @@ -885,6 +891,10 @@ typedef struct sec table. */ #define SEC_SORT_ENTRIES 0x80000 + /* A mark flag used by some of the linker backends. This + should not be set by application code. */ +#define SEC_LINKER_MARK 0x100000 + /* End of section flags. */ /* The virtual memory address of the section - where it will be |