aboutsummaryrefslogtreecommitdiff
path: root/gas/frags.h
diff options
context:
space:
mode:
authorIain Sandoe <iain@codesourcery.com>2012-02-21 09:13:02 +0000
committerIain Sandoe <iain@codesourcery.com>2012-02-21 09:13:02 +0000
commitcdaa5616cb95596ecf0c09c08a2bf55f39c82019 (patch)
tree8c98c7c0c8372286155f9a3d5be2b07059bcc5f6 /gas/frags.h
parentd82ea6a8a930ceb38b2947d07a3cab5fba78f27c (diff)
downloadgdb-cdaa5616cb95596ecf0c09c08a2bf55f39c82019.zip
gdb-cdaa5616cb95596ecf0c09c08a2bf55f39c82019.tar.gz
gdb-cdaa5616cb95596ecf0c09c08a2bf55f39c82019.tar.bz2
2012-02-21 Tristan Gingold <gingold@adacore.com>
* config/tc-i386.h (OBJ_MACH_O): New section. (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc. (TC_FORCE_RELOCATION_SUB_SAME): New (TC_FORCE_RELOCATION_SUB_LOCAL): New. (TC_VALIDATE_FIX_SUB): New. * frags.h (struct frag): OBJ_FRAG_TYPE, new field. * symbols.c (colon): obj_frob_colon: New hook. * write.c (write_object_file): md_pre_relax_hook, new hook. * config/obj-macho.c (obj_mach_o_frob_colon): New. (obj_mach_o_frob_label): Record sub-section labels. (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol. (obj_mach_o_set_subsections): New. (obj_mach_o_pre_relax_hook): New. (obj_mach_o_in_different_subsection): New. (obj_mach_o_force_reloc_sub_same): New. (obj_mach_o_force_reloc_sub_local): New. (obj_mach_o_force_reloc): New. * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New. (obj_frob_colon): New Define. (obj_mach_o_frob_label): Renamed. (obj_mach_o_frob_symbol): Renamed. (OBJ_FRAG_TYPE): New. (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc, obj_mach_o_force_reloc_sub_same, obj_mach_o_force_reloc_sub_local): New declarations.
Diffstat (limited to 'gas/frags.h')
-rw-r--r--gas/frags.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/frags.h b/gas/frags.h
index dd247f9..a1fabfb 100644
--- a/gas/frags.h
+++ b/gas/frags.h
@@ -100,6 +100,9 @@ struct frag {
#ifdef TC_FRAG_TYPE
TC_FRAG_TYPE tc_frag_data;
#endif
+#ifdef OBJ_FRAG_TYPE
+ OBJ_FRAG_TYPE obj_frag_data;
+#endif
/* Data begins here. */
char fr_literal[1];