diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-09-13 21:32:07 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-09-13 21:32:07 +0000 |
commit | 604633aeca413d9fe75280b214894721f8186315 (patch) | |
tree | 84f5270da91f3afd187d29e3dc1e512674d74cf2 /gas/write.h | |
parent | 37c99ddb4ef28794e0f9cc37f02e239a1adaf881 (diff) | |
download | gdb-604633aeca413d9fe75280b214894721f8186315.zip gdb-604633aeca413d9fe75280b214894721f8186315.tar.gz gdb-604633aeca413d9fe75280b214894721f8186315.tar.bz2 |
* subsegs.c: Renamed non-BFD_ASSEMBLER subseg_new to subseg_set.
Wrote non-BFD_ASSEMBLER subseg_new. Now subseg_new always takes a
section name, and subseg_set always takes a segT. Changed all
callers as appropriate.
* config/obj-coffbfd.c (change_to_section): Renamed to
obj_coff_add_segment. Corrected. Made callers use subseg_new.
* config/obj-coffbfd.h (obj_segment_name, obj_add_segment):
Define.
Also some more gcc warning removal.
Diffstat (limited to 'gas/write.h')
-rw-r--r-- | gas/write.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gas/write.h b/gas/write.h index 12bdebc..6d16bab 100644 --- a/gas/write.h +++ b/gas/write.h @@ -101,16 +101,21 @@ bit_fixS *bit_fix_new PARAMS ((int size, int offset, long base_type, void append PARAMS ((char **charPP, char *fromP, unsigned long length)); void record_alignment PARAMS ((segT seg, int align)); void write_object_file PARAMS ((void)); +void relax_segment PARAMS ((struct frag * seg_frag_root, segT seg_type)); #ifdef BFD_ASSEMBLER fixS *fix_new PARAMS ((fragS * frag, int where, int size, - symbolS * add_symbol, symbolS * sub_symbol, - offsetT offset, int pcrel, + symbolS * add_symbol, offsetT offset, int pcrel, bfd_reloc_code_real_type r_type)); +fixS *fix_new_exp PARAMS ((fragS * frag, int where, int size, + expressionS *exp, int pcrel, + bfd_reloc_code_real_type r_type)); #else fixS *fix_new PARAMS ((fragS * frag, int where, int size, - symbolS * add_symbol, symbolS * sub_symbol, - long offset, int pcrel, int r_type)); + symbolS * add_symbol, offsetT offset, int pcrel, + int r_type)); +fixS *fix_new_exp PARAMS ((fragS * frag, int where, int size, + expressionS *exp, int pcrel, int r_type)); #endif /* end of write.h */ |