* read.c (pseudo_set, case O_symbol): If OBJ_COPY_SYMBOL_ATTRIBUTES is defined,
invoke it. [BFD_ASSEMBLER]: Copy BSF_FUNCTION setting too. * config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Define.
This commit is contained in:
parent
a991808842
commit
9a36b83fcb
1 changed files with 6 additions and 0 deletions
|
@ -76,6 +76,12 @@ extern void obj_elf_version PARAMS ((int));
|
|||
globally defined sections. */
|
||||
#define obj_sec_sym_ok_for_reloc(SEC) ((SEC)->owner != 0)
|
||||
|
||||
/* When setting one symbol equal to another, by default we probably
|
||||
want them to have the same "size", whatever it means in the current
|
||||
context. */
|
||||
#define OBJ_COPY_SYMBOL_ATTRIBUTES(DEST,SRC) \
|
||||
S_SET_SIZE ((DEST), S_GET_SIZE (SRC))
|
||||
|
||||
/* Stabs go in a separate section. */
|
||||
#define SEPARATE_STAB_SECTIONS
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue