aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-10-27 15:53:21 +0000
committerNick Clifton <nickc@redhat.com>2004-10-27 15:53:21 +0000
commit7a5df8d098f80a7890b07a5e4f9fc1b1a96a166f (patch)
tree2ba90694de581d61ae00ee3006acd0ce483396ce /ld/emultempl
parent902143eff603d62aa19a74cc078b61fabdf9c878 (diff)
downloadgdb-7a5df8d098f80a7890b07a5e4f9fc1b1a96a166f.zip
gdb-7a5df8d098f80a7890b07a5e4f9fc1b1a96a166f.tar.gz
gdb-7a5df8d098f80a7890b07a5e4f9fc1b1a96a166f.tar.bz2
emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL, parameter to
invocation of lang_section_start. emultempl/aix.em (_handle_option): Likewise. Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c, eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em. Makefile.in: Regenerate.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/aix.em8
-rw-r--r--ld/emultempl/alphaelf.em3
2 files changed, 6 insertions, 5 deletions
diff --git a/ld/emultempl/aix.em b/ld/emultempl/aix.em
index 513cd50..72c865d 100644
--- a/ld/emultempl/aix.em
+++ b/ld/emultempl/aix.em
@@ -303,7 +303,7 @@ gld${EMULATION_NAME}_handle_option (int optc)
if (*end != '\0')
einfo ("%P: warning: ignoring invalid -D number %s\n", optarg);
else if (val != -1)
- lang_section_start (".data", exp_intop (val));
+ lang_section_start (".data", exp_intop (val), NULL);
break;
case 'H':
@@ -328,7 +328,7 @@ gld${EMULATION_NAME}_handle_option (int optc)
val = bfd_scan_vma (optarg, &end, 0);
if (*end != '\0')
return FALSE;
- lang_section_start (".text", exp_intop (val));
+ lang_section_start (".text", exp_intop (val), NULL);
break;
case OPTION_IGNORE:
@@ -463,7 +463,7 @@ gld${EMULATION_NAME}_handle_option (int optc)
t = exp_binop ('&',
exp_binop ('+', t, exp_intop (31)),
exp_intop (~(bfd_vma) 31));
- lang_section_start (".data", t);
+ lang_section_start (".data", t, NULL);
}
break;
@@ -484,7 +484,7 @@ gld${EMULATION_NAME}_handle_option (int optc)
t = exp_binop ('&',
exp_binop ('+', t, exp_intop (31)),
exp_intop (~(bfd_vma) 31));
- lang_section_start (".text", t);
+ lang_section_start (".text", t, NULL);
}
break;
diff --git a/ld/emultempl/alphaelf.em b/ld/emultempl/alphaelf.em
index 7e64323..28e8552 100644
--- a/ld/emultempl/alphaelf.em
+++ b/ld/emultempl/alphaelf.em
@@ -39,7 +39,8 @@ alpha_after_parse (void)
lang_section_start (".interp",
exp_binop ('+',
exp_intop (ALPHA_TEXT_START_32BIT),
- exp_nameop (SIZEOF_HEADERS, NULL)));
+ exp_nameop (SIZEOF_HEADERS, NULL)),
+ NULL);
}
static void