$Id$
$Log$
- Revision 1.1.1.1 1991/03/21 21:28:20 gumby
- Back from Intel with Steve
+ Revision 1.2 1991/03/22 23:02:28 steve
+ Brought up to sync with Intel again.
- * Revision 1.1 1991/03/21 21:28:19 gumby
- * Initial revision
- *
* Revision 1.1 1991/03/13 00:48:09 chrisb
* Initial revision
*
* $Id$
*
* $Log$
- * Revision 1.1.1.1 1991/03/21 21:28:25 gumby
- * Back from Intel with Steve
- *
- * Revision 1.1 1991/03/21 21:28:24 gumby
- * Initial revision
+ * Revision 1.2 1991/03/22 23:02:29 steve
+ * Brought up to sync with Intel again.
*
* Revision 1.2 1991/03/15 18:45:55 rich
* foo
$Id$
$Log$
- Revision 1.1.1.1 1991/03/21 21:28:27 gumby
- Back from Intel with Steve
+ Revision 1.2 1991/03/22 23:02:30 steve
+ Brought up to sync with Intel again.
- * Revision 1.1 1991/03/21 21:28:26 gumby
- * Initial revision
- *
* Revision 1.3 1991/03/16 22:27:24 rich
* fish
*
$Id$
$Log$
- Revision 1.1.1.1 1991/03/21 21:28:29 gumby
- Back from Intel with Steve
+ Revision 1.2 1991/03/22 23:02:31 steve
+ Brought up to sync with Intel again.
- * Revision 1.1 1991/03/21 21:28:28 gumby
- * Initial revision
- *
* Revision 1.2 1991/03/15 18:45:55 rich
* foo
*
{
lang_abs_symbol_at_end_of(".text","_etext");
lang_abs_symbol_at_end_of(".data","_edata");
+ lang_abs_symbol_at_beginning_of(".bss","_bss_start");
lang_abs_symbol_at_end_of(".bss","_end");
}
/* $Id$
*
* $Log$
- * Revision 1.1 1991/03/21 21:28:45 gumby
- * Initial revision
+ * Revision 1.2 1991/03/22 23:02:34 steve
+ * Brought up to sync with Intel again.
*
* Revision 1.3 1991/03/16 22:19:21 rich
* pop
static void
lang_reasonable_defaults()
{
+
+ lang_output_section_statement_lookup(".text");
+ lang_output_section_statement_lookup(".data");
+
default_common_section =
lang_output_section_statement_lookup(".bss");
+
if (placed_commons == false) {
lang_wild_statement_type *new =
new_stat(lang_wild_statement,
new->filename = (char *)NULL;
lang_list_init(&new->children);
}
+
}
static void lang()
stat_ptr = &statement_list;
}
+void
+lang_abs_symbol_at_beginning_of(section, name)
+char *section;
+char *name;
+{
+ extern bfd *output_bfd;
+ extern asymbol *create_symbol();
+ asection *s = bfd_get_section_by_name(output_bfd, section);
+ asymbol *def = create_symbol(name,
+ BSF_GLOBAL | BSF_EXPORT |
+ BSF_ABSOLUTE,
+ (asection *)NULL);
+ if (s != (asection *)NULL) {
+ def->value = s->vma;
+ }
+ else {
+ def->value = 0;
+ }
+}
+
void
lang_abs_symbol_at_end_of(section, name)
char *section;
* $Id$
*
* $Log$
- * Revision 1.1 1991/03/21 21:28:52 gumby
- * Initial revision
+ * Revision 1.2 1991/03/22 23:02:36 steve
+ * Brought up to sync with Intel again.
*
* Revision 1.1 1991/03/13 00:48:27 chrisb
* Initial revision
command_line.force_common_definition = false;
ldfile_add_arch("");
-
+ ldfile_add_library_path("./");
config.make_executable = true;
force_make_executable = false;
* $Id$
*
* $Log$
- * Revision 1.1 1991/03/21 21:28:55 gumby
- * Initial revision
+ * Revision 1.2 1991/03/22 23:02:37 steve
+ * Brought up to sync with Intel again.
*
* Revision 1.2 1991/03/15 18:45:55 rich
* foo
* $Id$
*
* $Log$
- * Revision 1.1.1.1 1991/03/21 21:28:58 gumby
- * Back from Intel with Steve
- *
- * Revision 1.1 1991/03/21 21:28:58 gumby
- * Initial revision
+ * Revision 1.2 1991/03/22 23:02:38 steve
+ * Brought up to sync with Intel again.
*
* Revision 1.1 1991/03/13 00:48:32 chrisb
* Initial revision