mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
* config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define.
This commit is contained in:
@ -64,9 +64,8 @@
|
||||
#define FAKE_LABEL_NAME "L$0\001"
|
||||
#define ASEC_NULL (asection *)0
|
||||
|
||||
/* sym1 - sym2 is valid on the PA as long as sym2 is $global$. */
|
||||
|
||||
#define SEG_DIFF_ALLOWED
|
||||
/* Labels are not required to have a colon for a suffix. */
|
||||
#define LABELS_WITHOUT_COLONS
|
||||
|
||||
/* FIXME. */
|
||||
#ifdef OBJ_ELF
|
||||
@ -121,4 +120,13 @@ extern void cons_fix_new_hppa ();
|
||||
|
||||
#define tc_fix_adjustable hppa_fix_adjustable
|
||||
|
||||
/* If a symbol is imported, but never used, then the symbol should
|
||||
*not* end up in the symbol table. Likewise for absolute symbols
|
||||
with local scope. */
|
||||
#define tc_frob_symbol(sym,punt) \
|
||||
if ((S_GET_SEGMENT (sym) == &bfd_und_section && sym->sy_used == 0) \
|
||||
|| (S_GET_SEGMENT (sym) == &bfd_abs_section \
|
||||
&& (sym->bsym->flags & BSF_EXPORT) == 0)) \
|
||||
punt = 1
|
||||
|
||||
#endif /* _TC_HPPA_H */
|
||||
|
Reference in New Issue
Block a user