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
Stan Shebs
9218920aba
Tue Jan 25 20:01:55 1994 Stan Shebs (shebs@andros.cygnus.com)
...
* mpw-xconfig.in: New file, mpw x mips configuration fragment.
* mpw-em.c: New file, compressed version of em_mipsidt.c.
1994-01-26 04:18:25 +00:00
Stan Shebs
b5b2c88649
Tue Jan 25 19:54:19 1994 Stan Shebs (shebs@andros.cygnus.com)
...
* mpw-config.in: New file, MPW configuration fragment.
* mpw-build.in: New file, MPW build script fragment.
* mpw-make.in: New file, MPW makefile fragment.
(This file is semi-automatically generated from Makefile.in.)
* ldfile.c (slash): If MPW, set to `:'.
* ldlex.l (TRUE_FALSE_ALREADY_DEFINED): If MPW, set this to
prevent redefinition errors.
1994-01-26 04:17:05 +00:00
Stan Shebs
8594f56890
Tue Jan 25 13:19:41 1994 Stan Shebs (shebs@andros.cygnus.com)
...
* ldmain.c (main): Compute and display total execution time.
* ld.texinfo (-stats): Document the option.
1994-01-25 21:30:00 +00:00
Ian Lance Taylor
5dad4c9728
* ldmain.c (reloc_overflow): Added name, reloc_name and addend
...
arguments.
1994-01-24 20:22:12 +00:00
Ian Lance Taylor
de08b0b153
* ldlang.c (lookup_name): Set BFD GP size to -G argument value
...
after opening BFD.
1994-01-24 19:55:02 +00:00
Ian Lance Taylor
755f42fe99
* ldlang.c (relaxing): Removed global variable.
...
(lang_size_sections): If the canonical symbols have not already
been read in, read them in before relaxing.
* ldlang.h (relaxing): Removed declaration.
1994-01-24 17:59:18 +00:00
Ian Lance Taylor
5e6cd559cf
* ldlang.c (new_afile): Initialize loaded field to false.
...
(lookup_name): If file was already loaded, don't call the
add_symbols entry point again.
1994-01-21 05:47:18 +00:00
David MacKenzie
8de26d624e
* ld.texinfo: Clarify what -T option does.
1994-01-19 21:58:31 +00:00
Steve Chamberlain
a843c81763
* scripttempl/m88kbcs.sc: Don't use CREATE_OBJECT_SYMBOLS, that's
...
for a.out.
1994-01-19 00:21:59 +00:00
Ian Lance Taylor
8a432746ae
Motorola Delta sysV68 support from phdm@info.ucl.ac.BE (Philippe
...
De Muyter).
* configure.in (m68k-motorola-sysv*) New target.
* config/delta68.mt: New file.
* emulparams/delta68.sh: New file.
* scripttempl/delta68.sc: New file.
* Makefile.in (ALL_EMULATIONS): Added em_delta68.o.
(em_delta68.c): New target.
1994-01-14 20:43:07 +00:00
Ian Lance Taylor
901f3538ee
* scripttempl/elf.sc: Correct typo.
1994-01-11 18:22:51 +00:00
David MacKenzie
c344d88420
* ldgram.y, ldlex.l: Make the space between -e, -u, and -y and
...
their arguments optional, for compatibility with the old GNU ld.
1994-01-11 03:59:49 +00:00
Ian Lance Taylor
267a3ab363
* scripttempl/elf.c: Define __bss_start before the .sbss section.
1994-01-08 01:01:23 +00:00
Ian Lance Taylor
2f84ec0d97
Various entries.
1994-01-06 20:05:44 +00:00
Ian Lance Taylor
b9395be3af
* ldmain.c (add_to_set): Add bitsize argument.
...
(constructor_callback): New function.
(link_callbacks): Add constructor_callback.
* ldctor.c (struct set_info): Add bitsize field.
(ldctor_add_set_entry): Add bitsize argument.
(ldctor_build_sets): Base the size of the elements of the set on
the bitsize, rather than always using LONG.
* ldctor.h (ldctor_add_set_entry): Add bitsize to declaration.
1994-01-06 20:04:26 +00:00
Ian Lance Taylor
c477527cbb
* ld.h (QUAD_SIZE): Define.
...
* ldgram.y (QUAD): New token.
(length): Handle it.
* ldlex.l: Return QUAD.
* lexsup.c (keywords): Add QUAD.
* ldwrite.c (build_link_order): Handle QUAD.
* ldlang.c (print_data_statement): Handle QUAD.
(lang_size_sections): Likewise.
(lang_do_assignments): Likewise.
* ldexp.c (exp_print_token): Add QUAD to table.
* ld.texinfo: Describe QUAD.
1994-01-06 19:38:36 +00:00
Ian Lance Taylor
3107eb5b38
* scripttempl/alpha.sc: Don't create .lit4 or .sdata sections,
...
since the Alpha doesn't use them.
1994-01-06 05:14:48 +00:00