diff options
author | Alan Modra <amodra@gmail.com> | 2000-09-18 12:36:03 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-09-18 12:36:03 +0000 |
commit | 9e75421134a05366b5d987f1b6921d7afcf9325d (patch) | |
tree | 5b1a9307de5f4cf72a7990eab2d217c6788dc689 /gas/config/tc-hppa.h | |
parent | 25f7275229d72c4a5449a1dbb49c3a3de2a92536 (diff) | |
download | gdb-9e75421134a05366b5d987f1b6921d7afcf9325d.zip gdb-9e75421134a05366b5d987f1b6921d7afcf9325d.tar.gz gdb-9e75421134a05366b5d987f1b6921d7afcf9325d.tar.bz2 |
* config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): For ELF, allow
subtraction of two syms without emitting a relocation.
* config/tc-hppa.c (hppa_force_relocation): Force relocations for
global or weak symbols.
Diffstat (limited to 'gas/config/tc-hppa.h')
-rw-r--r-- | gas/config/tc-hppa.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h index f8f9001..5a54f16 100644 --- a/gas/config/tc-hppa.h +++ b/gas/config/tc-hppa.h @@ -145,6 +145,10 @@ int hppa_fix_adjustable PARAMS((struct fix *)); #endif #ifdef OBJ_ELF +/* It's OK to subtract two symbols in the same section without + emitting a relocation. */ +#define TC_FORCE_RELOCATION_SECTION(FIXP, SEC) 0 + /* Handle .type psuedo. Given a type string of `millicode', set the internal elf symbol type to STT_PARISC_MILLI, and return BSF_FUNCTION for the BFD symbol type. */ |