mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 20:49:43 +00:00
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.
This commit is contained in:
parent
0c2fae099a
commit
ac496d4f7e
10
ld/ChangeLog
10
ld/ChangeLog
@ -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
|
||||
|
23
ld/relax.c
23
ld/relax.c
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
20
ld/relax.h
20
ld/relax.h
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user