Ian Lance Taylor
a733e1d7a6
* ldlang.c (lang_size_sections): Only align section to alignment
...
required by linker script, not to maximum alignment of input
sections.
1994-02-22 18:19:07 +00:00
Ian Lance Taylor
6b8929a172
* ldlang.h (largest_section): Don't declare.
...
* ldlang.c (largest_section): Don't define.
(size_input_section): Don't set largest_section; not used.
1994-02-22 17:32:30 +00:00
Ian Lance Taylor
ef76742fc5
* ldlang.c (new_afile): Pass NULL as last argument to concat.
1994-02-21 23:19:43 +00:00
Ken Raeburn
1f4203cb20
keep ld.cdtest
1994-02-18 22:10:20 +00:00
Ian Lance Taylor
42f62ead47
Various entries.
1994-02-17 20:56:49 +00:00
Ian Lance Taylor
4c2123b670
* ldlang.c, ldmain.c: Include libiberty.h.
1994-02-17 20:54:37 +00:00
David MacKenzie
5bcb7f28e1
* ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and
...
bfd_set_error and new error names.
1994-02-17 18:12:17 +00:00
Ken Raeburn
7ff6f2daf5
i960-bout linker fixes, install-info bugfix
1994-02-16 01:20:05 +00:00
Ken Raeburn
09a5aa5eee
(lang_size_sections): Clear bfd_error before calling bfd_relax_section, in case
...
it returns false but doesn't flag an error. If an error is returned, indicate
which one it is in the error message.
1994-02-16 01:18:32 +00:00
Ken Raeburn
db0a7149be
(install-info): Depend on ld.info, and use "$<*" so
...
it'll get picked up from $(srcdir) if appropriate.
1994-02-16 01:17:43 +00:00
David MacKenzie
09aaf97a9f
* ldlex.l (comment): Increment line number when newline is read.
1994-02-12 01:31:11 +00:00
Ian Lance Taylor
c4e48be344
* ldlang.c (lookup_name): Take new argument, force_load. If true,
...
reload the file even if it is already loaded.
(wild): Call lookup_name with force_load argument of 0.
(open_input_bfds): Call lookup_name with force_load argument of 1.
(print_symbol): Remove declaration of non-existent function.
(print_one_symbol): Return true rather than falling off end.
1994-02-11 22:40:20 +00:00
Ian Lance Taylor
410945f102
* ldmain.c (main): Use %ld when printing long values.
1994-02-10 17:02:24 +00:00
Ian Lance Taylor
473e361e30
* emulparams/elf32mipb.s (OTHER_BSS_SYMBOLS): Define _fbss.
1994-02-10 17:00:32 +00:00
Jeff Law
423dae05e4
Opps.
1994-02-08 00:40:55 +00:00
Jeff Law
6cc2ced133
Oops.
1994-02-08 00:40:22 +00:00
Jeff Law
b3ade95e81
* Rename all "hppaosf" files to "hppaelf".
...
* Change all "osf" references to "elf" in hppaelf files.
* Makefile.in: Likewise.
* configure.in: Likewise.
1994-02-08 00:37:19 +00:00
Jeff Law
f7d4f6f622
* Rename all "hppaosf" files to "hppaelf".
1994-02-08 00:32:33 +00:00
Jeff Law
90e30f5104
Renamed hppaosf.sc to hppaelf.sc
1994-02-08 00:28:48 +00:00
Jeff Law
a9cff99018
Renamed hppaosf.em to hppaelf.em
1994-02-08 00:28:05 +00:00
Jeff Law
fd0a9d9823
Renamed hppaosf.sh to hppaelf.sh
1994-02-08 00:27:10 +00:00
Jeff Law
78b6df412f
Renamed hppaosf.mh to hppaelf.mh
1994-02-08 00:25:39 +00:00
Jeff Law
96bae9ceb0
Renamed hppaosf.mt to hppaelf.mt
1994-02-08 00:25:05 +00:00
David MacKenzie
6f6712661f
* ldmain.c (main): Call xatexit, not atexit.
...
Call xmalloc_set_program_name.
1994-02-07 06:07:26 +00:00
David MacKenzie
f49721350b
* ldlang.c (lang_size_sections): Check if bfd_relax_section set
...
bfd_errno.
1994-02-07 05:00:18 +00:00
David MacKenzie
744b2885b4
remove cvs lossage
1994-02-06 01:05:54 +00:00
David MacKenzie
52a8ebfe04
* emultempl/lnk960.em (append), emultempl/hppaosf.em
...
(hppaosf_finish): Call xmalloc, not ldmalloc.
* ldmain.c (preserve_output): Function removed.
(main): Do it here instead.
1994-02-05 12:00:15 +00:00
Jeff Law
9dd7d585d6
* ldlang.h (LANG_FOR_EACH_{INPUT,OUTPUT}_SECTION): Delete (unused)
...
GNU C specific macros.
* emultempl/hppaosf.em (hppaosf_finish): Expand the only remaining
call to LANG_FOR_EACH_INPUT_SECTION.
1994-02-05 07:03:48 +00:00
David MacKenzie
0b2f8d2edd
* ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions
...
deleted; will use libiberty versions instead.
* ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c
mri.c Makefile.in: Change callers.
* ldmisc.c (vfinfo): Remove cleanup code.
* ldmain.c (remove_output): Put it here (new function).
(preserve_output): New function.
(main): Register remove_output and preserve_output with atexit.
* ldmain.c ldgram.y: Call xexit instead of exit.
* ldmisc.h: Declare xexit.
1994-02-05 01:14:56 +00:00
Steve Chamberlain
9e0f78c8d7
* Makefile.in: Lots of new H8/500 memory models.
1994-02-04 23:19:33 +00:00
Steve Chamberlain
7cc3adc442
New memory model.
1994-02-04 23:18:19 +00:00
Steve Chamberlain
c48b8a8554
More sicko segmentation support.
1994-02-04 23:08:00 +00:00
Steve Chamberlain
367428b5a1
Support for various sicko segmented memory models.
1994-02-04 22:57:26 +00:00
Roland Pesch
139c8857be
Formatting adjustments, for better smallbook formatting
...
and to agree better w/FSF (RMS) indentation conventions.
1994-02-03 04:38:58 +00:00
Roland Pesch
7c8fab26c8
Describe -retain-symbols-file.
1994-02-03 04:18:11 +00:00
Roland Pesch
1fb57a5d3e
misc updates:
...
(1) show `-y SYMBOL' with space
(2) weaken multi-target stuff, to avoid false expectations now that
linker now often config'd with only one target
(3) describe -relax support on i960
(4) correct description of hyphen chars in symbols
(5) describe CONSTRUCTORS linker script cmd
1994-02-03 03:12:38 +00:00
Roland Pesch
67c4333b27
Describe AT option of SECTIONS command, at long last.
1994-02-02 02:27:55 +00:00
Ken Raeburn
836dcbcf2f
* ldlex.l: Removed duplicate rules.
...
(yywrap): Provide default definition, needed with some versions of flex.
1994-01-30 21:22:38 +00:00
David MacKenzie
288897f490
* ldmisc.c (vfinfo): For `%I', if the file is in an archive, print
...
the archive filename too.
1994-01-28 21:20:11 +00:00
Ken Raeburn
9b928d3419
get rid of rcs crud
1994-01-28 20:17:18 +00:00
Ken Raeburn
6e0a904fd0
Fix test case to be valid ANSI C++.
...
Don't require use of fixed C++ header files, so "../gcc/xgcc -B../gcc/" ought
to work for CXX.
In cdtest.exp: Combine "rm" lines. Added some commentary on things still
broken in this test case.
1994-01-28 20:09:26 +00:00
Ken Raeburn
57e5ec0783
* lib/ld.exp (simple_diff): Indicate failure if files have different numbers of
...
lines. Don't muck with $differences to avoid indicating a pass, just return.
Also got rid of trailing whitespace on some lines.
1994-01-28 20:05:56 +00:00
David MacKenzie
fb55f9b8ae
* ldlex.l: Add rule to catch invalid input characters instead of
...
printing them. Include "ldmain.h" for program_name decl.
(lex_warn_invalid): New function.
* Makefile.in: Add dependency.
1994-01-28 19:36:53 +00:00
Ken Raeburn
f3c6455fda
* Makefile.in (check): Don't bother running any tests of
...
cross-linker until the test suite no longer assumes native mode.
1994-01-28 18:02:43 +00:00
Ken Raeburn
e2f9f0f639
keep test suite
1994-01-28 17:19:22 +00:00
Steve Chamberlain
804c860185
Thu Jan 27 17:19:54 1994 Steve Chamberlain (sac@jonny.cygnus.com)
...
* ldlang.c (print_one_symbol, print_input_section): Print
global symbols in symbol table again.
1994-01-28 01:26:25 +00:00
David MacKenzie
7b40f2b169
* ldmain.c ldmain.h ldgram.y: If -v -V or --version was given,
...
exit successfully instead of complaining if no input files are
given.
1994-01-27 20:49:21 +00:00
Rob Savoye
03372cf4ab
Change all occurances of RUNTEST_FLAGS to RUNTESTFLAGS to be consistant with
...
everything else. (and now work recursively too)
1994-01-26 21:44:50 +00:00
Stan Shebs
74e6b793b8
* Makefile.in: Format variable definitions consistently.
...
(LD_PROG): Remove unnecessary variables from link command,
change variable LOADLIBES to EXTRALIBS.
1994-01-26 04:24:30 +00:00
Stan Shebs
747a47f2be
Add MPW/GM sanitizing
1994-01-26 04:19:32 +00:00