Mon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
authorIan Lance Taylor <ian@airs.com>
Tue, 12 Jan 1993 00:47:20 +0000 (00:47 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 12 Jan 1993 00:47:20 +0000 (00:47 +0000)
* ldwrite.c: Removed perform_relocation, copy_and_relocate, and
write_norel.  All linking is now done via write_relax.  Call
ldsym_write before calling write_relax.
* relax.c: Added copyright.
(write_relax): Renamed from write_relaxnorel.  Added relocateable
argument.  seclet_dump renamed to bfd_seclet_link.
* relax.h: Added copyright.

ld/ChangeLog
ld/relax.c
ld/relax.h

index 55a30443774c8eb5444f813ba7918e81fd1c420e..f9a8a95ff724a09c3fa161ed142090a5bc760a23 100644 (file)
@@ -1,3 +1,13 @@
+Mon Jan 11 18:50:07 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * ldwrite.c: Removed perform_relocation, copy_and_relocate, and
+       write_norel.  All linking is now done via write_relax.  Call
+       ldsym_write before calling write_relax.
+       * relax.c: Added copyright.
+       (write_relax): Renamed from write_relaxnorel.  Added relocateable
+       argument.  seclet_dump renamed to bfd_seclet_link.
+       * relax.h: Added copyright.
+
 Mon Jan 11 15:41:56 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
 
        * ldmain.c (decode_library_subfile): Patch from
index ea156e34fe9a2ef927d89fafeb8d48321456aa20..70f35f6d718435be007643d99381424fe55d406a 100644 (file)
@@ -1,4 +1,20 @@
+/* Copyright (C) 1992, 1993 Free Software Foundation, Inc.
 
+This file is part of GLD, the Gnu Linker.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 /* 
  
@@ -150,9 +166,10 @@ DEFUN(build_it,(statement),
 
 
 void 
-DEFUN(write_relaxnorel,(output_bfd, data),
+DEFUN(write_relax,(output_bfd, data, relocateable),
       bfd *output_bfd AND
-      PTR data)
+      PTR data AND
+      boolean relocateable)
 {
 /* Tie up all the statements to generate an output bfd structure which
    bfd can mull over */
@@ -160,7 +177,7 @@ DEFUN(write_relaxnorel,(output_bfd, data),
 
   lang_for_each_statement(build_it);
 
-  seclet_dump(output_bfd, data);
+  bfd_seclet_link(output_bfd, data, relocateable);
 
 }
 
index 7c7d36b4260f1838f24c0cf5423f7a617e33f225..3d1221d239de1dc1d521bdbadef9ef61f4a5c690 100644 (file)
@@ -1,2 +1,20 @@
-void write_relaxnorel PARAMS ((bfd *output_bfd, PTR data));
+/* Copyright (C) 1992, 1993 Free Software Foundation, Inc.
+
+This file is part of GLD, the Gnu Linker.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+
+void write_relax PARAMS ((bfd *output_bfd, PTR data, boolean relocateable));
 boolean relax_section PARAMS ((lang_statement_union_type **this_ptr));
This page took 0.029732 seconds and 4 git commands to generate.