Modified Files:
[deliverable/binutils-gdb.git] / gas / config / obj-elf.h
index 4af98350fc3037a3d4ad53430238b545f8d931a4..e3ad1b9c497800eb11a3e0f97130f729904c0798 100644 (file)
 #define S_SET_SIZE(S,V) \
   (elf_symbol((S)->bsym)->internal_elf_sym.st_size = (V))
 
+#define S_GET_ALIGN(S) (elf_symbol ((S)->bsym)->internal_elf_sym.st_value)
+#define S_SET_ALIGN(S,V) \
+  (elf_symbol ((S)->bsym)->internal_elf_sym.st_value = (V))
+
 extern asection *gdb_section;
 
 /* Copy over the function bit and size of a forwarded symbol.  */
@@ -68,6 +72,10 @@ extern void obj_elf_section PARAMS ((int));
 extern void obj_elf_previous PARAMS ((int));
 extern void obj_elf_version PARAMS ((int));
 
+/* BFD wants to write the udata field, which is a no-no for the
+   globally defined sections.  */
+#define obj_sec_sym_ok_for_reloc(SEC)  ((SEC)->owner != 0)
+
 /* Stabs go in a separate section.  */
 #define SEPARATE_STAB_SECTIONS
 
@@ -90,7 +98,7 @@ extern void obj_elf_init_stab_section PARAMS ((segT));
   ELF_TARGET_SYMBOL_FIELDS \
   struct efdr *ecoff_file; \
   struct localsym *ecoff_symbol; \
-  char ecoff_undefined;
+  valueT ecoff_extern_size;
 
 /* We smuggle stabs in ECOFF rather than using a separate section.
    The Irix linker can not handle a separate stabs section.  */
@@ -99,6 +107,9 @@ extern void obj_elf_init_stab_section PARAMS ((segT));
 #define OBJ_PROCESS_STAB(what, string, type, other, desc) \
   ecoff_stab ((what), (string), (type), (other), (desc))
 
+#define OBJ_GENERATE_ASM_LINE_STAB(lineno) \
+  ecoff_generate_asm_line_stab ((lineno))
+
 /* ECOFF requires that we call the ecoff_frob_symbol hook.  */
 #define obj_frob_symbol(symp, punt) ecoff_frob_symbol (symp)
 
This page took 0.024075 seconds and 4 git commands to generate.