Commit Graph

8 Commits

Author SHA1 Message Date
Per Bothner
2d1a2445ff Add or update copyright notices. 1991-10-16 19:39:40 +00:00
Per Bothner
972e7b4bc4 * Makefile.in, ldtemplate: Need to use separate scripts
for -n and -N options.  Yet more complication.
1991-10-15 00:28:43 +00:00
Per Bothner
b7e24eef35 * news.sc: Add alignment for data segment.
* ldtemplate: Add (yet another) script to get for -n or -N
	options.  (These need different alignment than ZMAGIC files.)
	* Makefile.in:  Add stuff for new foo.xn scripts.
	These are generated by replacing "ALIGN(0x...00)" by ".".
1991-10-11 23:47:05 +00:00
Per Bothner
6719c75b99 * ldmain.c (main): Make config.magic_demand_paged be true
by default.  Don't the WP_TEXT and D_PAGED flags of
	output_bfd here; it's too late, so set it when output_bfd
	is created (in ldlang.c).  Also fix setting of EXEC_P flag
	* ldlang.c (ldlang_open_output):  Set output_bfd->flags here.
	* ldlang.c: Remove some duplicate extern declarations.
	* ldgram.y: Fixes to -N and -n options.
	* Makefile.in:  Recognize upper case letters in sed script
	to remove assignments from script files.
	* ldtemplate:  Don't assukme that -N or -n options
	imply use of -r script.
	* mkscript.c:  Tweaking to correctly handle \n and \\ in input.
1991-10-11 21:02:22 +00:00
Steve Chamberlain
8e10cea146 * ldtemplate: include bfd.h before sysdep.h. 1991-10-11 17:30:20 +00:00
Per Bothner
ee17cac9c6 * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean.
* ldtemplate: Remove ldfile_add_library_path calls;
	just use the SEARCH_DIR commands in the script files.
	* Makefile.in: Add LIB_PATH macro, which if set is used to replace
	the SEARCH_DIR commands in the scripts (using ugly sed magic).
	This is primarily intended for cross-linking, where you would
	place libaries in a different place than native libraries.
	Also, emulations made from ldtemplate now use $(srcdir).
	* ldglda29k.sc: Change SEARCH_DIR commands to a conventional
	form; people can use the Makefile's LIB_PATH to override.
1991-10-08 23:18:03 +00:00
Steve Chamberlain
3e4c643dc1 Added -N and fixed -n flags.
Changed name of h8 support
1991-10-05 00:36:45 +00:00
Per Bothner
9dcb30e3a2 Initial revision 1991-09-27 19:59:17 +00:00