diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-07-15 00:00:32 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-07-15 00:00:32 +0000 |
commit | 88f4ab5ff189464bd8c6bc05585e606933cf5ab7 (patch) | |
tree | 28622492388fea8ca8274ecbeb9d8d91e00d69af /gas/ChangeLog | |
parent | d0d491b17e7ebfb5ff3815c520a5655a9774d54e (diff) | |
download | gdb-88f4ab5ff189464bd8c6bc05585e606933cf5ab7.zip gdb-88f4ab5ff189464bd8c6bc05585e606933cf5ab7.tar.gz gdb-88f4ab5ff189464bd8c6bc05585e606933cf5ab7.tar.bz2 |
Add support for SPARC SunOS PIC:
* config/tc-sparc.h (sparc_pic_code): Always declare, not just
when OBJ_ELF.
(TC_RELOC_RTSYM_LOC_FIXUP): Define when OBJ_AOUT.
(tc_fix_adjustable): New definition for OBJ_AOUT.
* config/tc-sparc.c (sparc_pic_code): Always define, not just when
OBJ_ELF.
(md_apply_fix): Adjust reloc addend for OBJ_AOUT and PIC. In
BFD_RELOC_32_PCREL_S2 case, don't increment val for an external
symbol when PIC.
(tc_gen_reloc): Generate different PIC relocs when OBJ_AOUT, as
well as when OBJ_ELF.
(md_shortopts): If OBJ_AOUT, include `k'.
(md_parse_option): If OBJ_AOUT, handle 'k'.
(md_show_usage): Mention -k if OBJ_AOUT, and -KPIC if OBJ_ELF.
(md_pcrel_from): Don't add in size for an external symbol when
PIC.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 9a5314d..daefd31 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,23 @@ +Fri Jul 14 19:54:28 1995 Ian Lance Taylor <ian@cygnus.com> + + Add support for SPARC SunOS PIC: + * config/tc-sparc.h (sparc_pic_code): Always declare, not just + when OBJ_ELF. + (TC_RELOC_RTSYM_LOC_FIXUP): Define when OBJ_AOUT. + (tc_fix_adjustable): New definition for OBJ_AOUT. + * config/tc-sparc.c (sparc_pic_code): Always define, not just when + OBJ_ELF. + (md_apply_fix): Adjust reloc addend for OBJ_AOUT and PIC. In + BFD_RELOC_32_PCREL_S2 case, don't increment val for an external + symbol when PIC. + (tc_gen_reloc): Generate different PIC relocs when OBJ_AOUT, as + well as when OBJ_ELF. + (md_shortopts): If OBJ_AOUT, include `k'. + (md_parse_option): If OBJ_AOUT, handle 'k'. + (md_show_usage): Mention -k if OBJ_AOUT, and -KPIC if OBJ_ELF. + (md_pcrel_from): Don't add in size for an external symbol when + PIC. + start-sanitize-arc Fri Jul 14 10:26:43 1995 Doug Evans <dje@canuck.cygnus.com> |