aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-evax.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-06-27 10:03:42 +0000
committerTristan Gingold <gingold@adacore.com>2011-06-27 10:03:42 +0000
commitbb1d425616ac27230436ca1d5aa4158fdfabebbe (patch)
tree698ccf0a6bcdcea068730b523c2f1847658f06c4 /gas/config/obj-evax.h
parentb315ab2151bc2501de3ab6f0075ecc1646c2ae67 (diff)
downloadfsf-binutils-gdb-bb1d425616ac27230436ca1d5aa4158fdfabebbe.zip
fsf-binutils-gdb-bb1d425616ac27230436ca1d5aa4158fdfabebbe.tar.gz
fsf-binutils-gdb-bb1d425616ac27230436ca1d5aa4158fdfabebbe.tar.bz2
2011-06-27 Tristan Gingold <gingold@adacore.com>
* config/obj-evax.c (evax_frob_file_before_adjust): Add comments. Fix style. * config/obj-evax.h (struct alpha_linkage_fixups): Remove seg field. Add comments. (obj_symbol_type, object_headers, OBJ_SYMFIELD_TYPE): Remove
Diffstat (limited to 'gas/config/obj-evax.h')
-rw-r--r--gas/config/obj-evax.h21
1 files changed, 8 insertions, 13 deletions
diff --git a/gas/config/obj-evax.h b/gas/config/obj-evax.h
index 4964bd4..b7520b7 100644
--- a/gas/config/obj-evax.h
+++ b/gas/config/obj-evax.h
@@ -38,11 +38,18 @@
struct fix;
+/* Simply linked list of .linkage. */
struct alpha_linkage_fixups
{
+ /* Next entry. */
struct alpha_linkage_fixups *next;
+
+ /* Corresponding fixup. */
struct fix *fixp;
- segT seg;
+
+ /* Label that designates this entry.
+ Note that a linkage entry can only be designated by one label.
+ Also, s_alpha_linkage force the creation of a label. */
symbolS *label;
};
@@ -60,20 +67,8 @@ struct alpha_linkage_fixups
/* #define SYMBOLS_NEED_PACKPOINTERS */
-/* */
-typedef struct
- {
- void *nothing;
- }
-obj_symbol_type; /* should be the format's symbol structure */
-
-typedef void *object_headers;
-
#define OBJ_EMIT_LINENO(a,b,c) /* must be *something*. This no-op's it out. */
-/* This field keeps the symbols position in the link section. */
-#define OBJ_SYMFIELD_TYPE valueT
-
#define obj_symbol_new_hook(s) evax_symbol_new_hook (s)
#define obj_frob_symbol(s,p) evax_frob_symbol (s, &p)
#define obj_frob_file_before_adjust evax_frob_file_before_adjust