Rearrange symbol_create parameters
[deliverable/binutils-gdb.git] / gas / config / tc-hppa.c
index 272605b26f8b4697961ab26ffed33091e6092239..1feebc822c512868fc97896dfac7b6dbfd67de6d 100644 (file)
@@ -5989,8 +5989,8 @@ pa_build_unwind_subspace (struct call_info *call_info)
   else
     {
       symbolP = symbol_new (name, now_seg,
-                           S_GET_VALUE (call_info->start_symbol),
-                           symbol_get_frag (call_info->start_symbol));
+                           symbol_get_frag (call_info->start_symbol),
+                           S_GET_VALUE (call_info->start_symbol));
       gas_assert (symbolP);
       S_CLEAR_EXTERNAL (symbolP);
       symbol_table_insert (symbolP);
@@ -6439,8 +6439,7 @@ hppa_elf_mark_end_of_function (void)
     {
       /* symbol value should be the offset of the
         last instruction of the function */
-      symbolP = symbol_new (name, now_seg, (valueT) (frag_now_fix () - 4),
-                           frag_now);
+      symbolP = symbol_new (name, now_seg, frag_now, frag_now_fix () - 4);
 
       gas_assert (symbolP);
       S_CLEAR_EXTERNAL (symbolP);
This page took 0.024781 seconds and 4 git commands to generate.