aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-03-03 19:47:15 +0000
committerKen Raeburn <raeburn@cygnus>1993-03-03 19:47:15 +0000
commit2492e118e3474d1abe584171463160d591d7b469 (patch)
treebe8017c3bf212ddc1f215882f9df83d9f64f6682 /gas/config
parent1101551c9c0bc47e5c3a068a5a4b99cc601b997f (diff)
downloadgdb-2492e118e3474d1abe584171463160d591d7b469.zip
gdb-2492e118e3474d1abe584171463160d591d7b469.tar.gz
gdb-2492e118e3474d1abe584171463160d591d7b469.tar.bz2
SUB_SEGMENT_ALIGN now takes an argument.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/obj-coffbfd.c4
-rw-r--r--gas/config/obj-ieee.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/gas/config/obj-coffbfd.c b/gas/config/obj-coffbfd.c
index 7c52add..3358aeb 100644
--- a/gas/config/obj-coffbfd.c
+++ b/gas/config/obj-coffbfd.c
@@ -1834,9 +1834,9 @@ DEFUN_VOID (write_object_file)
subseg_new (frchain_ptr->frch_seg, frchain_ptr->frch_subseg);
#ifndef SUB_SEGMENT_ALIGN
-#define SUB_SEGMENT_ALIGN 1
+#define SUB_SEGMENT_ALIGN(SEG) 1
#endif
- frag_align (SUB_SEGMENT_ALIGN, NOP_OPCODE);
+ frag_align (SUB_SEGMENT_ALIGN (now_seg), NOP_OPCODE);
frag_wane (frag_now);
frag_now->fr_fix = 0;
know (frag_now->fr_next == NULL);
diff --git a/gas/config/obj-ieee.c b/gas/config/obj-ieee.c
index 1b45da9..27e6187 100644
--- a/gas/config/obj-ieee.c
+++ b/gas/config/obj-ieee.c
@@ -540,15 +540,15 @@ DEFUN_VOID (write_object_file)
frchain_ptr = frchain_ptr->frch_next)
{
/* Run through all the sub-segments and align them up. Also close any
- open frags. We tack a .fill onto the end of the frag chain so
- that any .align's size can be worked by looking at the next
- frag */
+ open frags. We tack a .fill onto the end of the frag chain so
+ that any .align's size can be worked by looking at the next
+ frag. */
subseg_new (frchain_ptr->frch_seg, frchain_ptr->frch_subseg);
#ifndef SUB_SEGMENT_ALIGN
-#define SUB_SEGMENT_ALIGN 2
+#define SUB_SEGMENT_ALIGN(SEG) 2
#endif
- frag_align (SUB_SEGMENT_ALIGN, 0);
+ frag_align (SUB_SEGMENT_ALIGN (now_seg), 0);
frag_wane (frag_now);
frag_now->fr_fix = 0;
know (frag_now->fr_next == NULL);