• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

修订版8cb5eb316c35daaede8a2b72ae994c7b2df152d9 (tree)
时间1991-03-23 08:02:38
作者Steve Chamberlain <steve@cygn...>
CommiterSteve Chamberlain

Log Message

Brought up to sync with Intel again.

更改概述

差异

--- a/ld/ld-emul.c
+++ b/ld/ld-emul.c
@@ -22,12 +22,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
2222 $Id$
2323
2424 $Log$
25- Revision 1.1.1.1 1991/03/21 21:28:20 gumby
26- Back from Intel with Steve
25+ Revision 1.2 1991/03/22 23:02:28 steve
26+ Brought up to sync with Intel again.
2727
28- * Revision 1.1 1991/03/21 21:28:19 gumby
29- * Initial revision
30- *
3128 * Revision 1.1 1991/03/13 00:48:09 chrisb
3229 * Initial revision
3330 *
--- a/ld/ld-gld.c
+++ b/ld/ld-gld.c
@@ -20,11 +20,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
2020 * $Id$
2121 *
2222 * $Log$
23- * Revision 1.1.1.1 1991/03/21 21:28:25 gumby
24- * Back from Intel with Steve
25- *
26- * Revision 1.1 1991/03/21 21:28:24 gumby
27- * Initial revision
23+ * Revision 1.2 1991/03/22 23:02:29 steve
24+ * Brought up to sync with Intel again.
2825 *
2926 * Revision 1.2 1991/03/15 18:45:55 rich
3027 * foo
--- a/ld/ld-gld960.c
+++ b/ld/ld-gld960.c
@@ -20,12 +20,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
2020 $Id$
2121
2222 $Log$
23- Revision 1.1.1.1 1991/03/21 21:28:27 gumby
24- Back from Intel with Steve
23+ Revision 1.2 1991/03/22 23:02:30 steve
24+ Brought up to sync with Intel again.
2525
26- * Revision 1.1 1991/03/21 21:28:26 gumby
27- * Initial revision
28- *
2926 * Revision 1.3 1991/03/16 22:27:24 rich
3027 * fish
3128 *
--- a/ld/ld-lnk960.c
+++ b/ld/ld-lnk960.c
@@ -20,12 +20,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
2020 $Id$
2121
2222 $Log$
23- Revision 1.1.1.1 1991/03/21 21:28:29 gumby
24- Back from Intel with Steve
23+ Revision 1.2 1991/03/22 23:02:31 steve
24+ Brought up to sync with Intel again.
2525
26- * Revision 1.1 1991/03/21 21:28:28 gumby
27- * Initial revision
28- *
2926 * Revision 1.2 1991/03/15 18:45:55 rich
3027 * foo
3128 *
@@ -204,6 +201,7 @@ lnk960_after_allocation()
204201 {
205202 lang_abs_symbol_at_end_of(".text","_etext");
206203 lang_abs_symbol_at_end_of(".data","_edata");
204+ lang_abs_symbol_at_beginning_of(".bss","_bss_start");
207205 lang_abs_symbol_at_end_of(".bss","_end");
208206 }
209207
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -19,8 +19,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
1919 /* $Id$
2020 *
2121 * $Log$
22- * Revision 1.1 1991/03/21 21:28:45 gumby
23- * Initial revision
22+ * Revision 1.2 1991/03/22 23:02:34 steve
23+ * Brought up to sync with Intel again.
2424 *
2525 * Revision 1.3 1991/03/16 22:19:21 rich
2626 * pop
@@ -731,8 +731,13 @@ char *target;
731731 static void
732732 lang_reasonable_defaults()
733733 {
734+
735+ lang_output_section_statement_lookup(".text");
736+ lang_output_section_statement_lookup(".data");
737+
734738 default_common_section =
735739 lang_output_section_statement_lookup(".bss");
740+
736741 if (placed_commons == false) {
737742 lang_wild_statement_type *new =
738743 new_stat(lang_wild_statement,
@@ -741,6 +746,7 @@ lang_reasonable_defaults()
741746 new->filename = (char *)NULL;
742747 lang_list_init(&new->children);
743748 }
749+
744750 }
745751
746752 static void lang()
@@ -2152,6 +2158,26 @@ char *memspec;
21522158 }
21532159
21542160 void
2161+lang_abs_symbol_at_beginning_of(section, name)
2162+char *section;
2163+char *name;
2164+{
2165+ extern bfd *output_bfd;
2166+ extern asymbol *create_symbol();
2167+ asection *s = bfd_get_section_by_name(output_bfd, section);
2168+ asymbol *def = create_symbol(name,
2169+ BSF_GLOBAL | BSF_EXPORT |
2170+ BSF_ABSOLUTE,
2171+ (asection *)NULL);
2172+ if (s != (asection *)NULL) {
2173+ def->value = s->vma;
2174+ }
2175+ else {
2176+ def->value = 0;
2177+ }
2178+}
2179+
2180+void
21552181 lang_abs_symbol_at_end_of(section, name)
21562182 char *section;
21572183 char *name;
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -22,8 +22,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
2222 * $Id$
2323 *
2424 * $Log$
25- * Revision 1.1 1991/03/21 21:28:52 gumby
26- * Initial revision
25+ * Revision 1.2 1991/03/22 23:02:36 steve
26+ * Brought up to sync with Intel again.
2727 *
2828 * Revision 1.1 1991/03/13 00:48:27 chrisb
2929 * Initial revision
@@ -181,7 +181,7 @@ main (argc, argv)
181181 command_line.force_common_definition = false;
182182
183183 ldfile_add_arch("");
184-
184+ ldfile_add_library_path("./");
185185 config.make_executable = true;
186186 force_make_executable = false;
187187
--- a/ld/ldmisc.c
+++ b/ld/ldmisc.c
@@ -20,8 +20,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
2020 * $Id$
2121 *
2222 * $Log$
23- * Revision 1.1 1991/03/21 21:28:55 gumby
24- * Initial revision
23+ * Revision 1.2 1991/03/22 23:02:37 steve
24+ * Brought up to sync with Intel again.
2525 *
2626 * Revision 1.2 1991/03/15 18:45:55 rich
2727 * foo
--- a/ld/ldsym.c
+++ b/ld/ldsym.c
@@ -20,11 +20,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
2020 * $Id$
2121 *
2222 * $Log$
23- * Revision 1.1.1.1 1991/03/21 21:28:58 gumby
24- * Back from Intel with Steve
25- *
26- * Revision 1.1 1991/03/21 21:28:58 gumby
27- * Initial revision
23+ * Revision 1.2 1991/03/22 23:02:38 steve
24+ * Brought up to sync with Intel again.
2825 *
2926 * Revision 1.1 1991/03/13 00:48:32 chrisb
3027 * Initial revision