David Edelsohn
c10744770c
* ld.h (BYTE_SIZE, SHORT_SIZE, LONG_SIZE): Define as suggested by
...
Steve.
1993-08-26 22:22:36 +00:00
Ken Raeburn
4346166b07
From Peter Hoogenboom <hoogen@shafer.cs.utah.edu>:
...
* emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA
ELF emulation is "elf32-hppa" not "elf-big".
(hppaosf_before_parse): Remove unneeded processing of environment variables.
* scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in
.text segment of output file.
* emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa.
1993-08-24 23:45:26 +00:00
K. Richard Pixley
95a2b9d2ce
move BYTE_SIZE, SHORT_SIZE, LONG_SIZE from ldlang.c into ld.h
1993-08-24 23:34:32 +00:00
K. Richard Pixley
b98bd3db83
define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no longer in bfd.h.
1993-08-24 23:17:52 +00:00
David D. Zuhn
3b55444d36
keep i386-linux.h
1993-08-18 22:54:11 +00:00
Ian Lance Taylor
ddddcdf0f3
* ldlang.c (open_output, lang_check): Check return value of
...
bfd_set_arch_mach.
1993-08-17 19:25:18 +00:00
Steve Chamberlain
ea1c0ad276
* scripttempl/h8500.sc: Start all sections in a different segment.
...
* scripttempl/z8ksim.sc: Handle constructors
1993-08-17 14:04:24 +00:00
Jeffrey Wheat
8b46d73404
added support for the original "make chech-cdtest"
1993-08-12 23:20:25 +00:00
Jeffrey Wheat
26f709de0f
cleaned up tests to work like they did originally in the makefile
1993-08-12 23:19:09 +00:00
Jeffrey Wheat
d301e438b5
check targets reimplemented to old way.
1993-08-12 15:54:30 +00:00
Ian Lance Taylor
d62026add2
* config/i386v.mh, config/irix4.mh: Use gcc
...
-print-libgcc-file-name rather than $(libdir)/libgcc.a.
1993-08-11 19:14:25 +00:00
Ian Lance Taylor
75fe54719c
* config/i386sco.mh: New file; copy of i386v.mh to correspond to
...
bfd/configure.host change.
1993-08-11 15:57:39 +00:00
David MacKenzie
91fd30d46c
mention that [section] is no longer supported
1993-08-10 16:12:30 +00:00
David MacKenzie
31f55aa540
clean up error messages
1993-08-06 20:13:28 +00:00
Ian Lance Taylor
3353630442
* scripttempl/mips.sc: Always define _ftext, _fdata, _fbss.
...
(BSS_VAR): Removed; now always define _fbss.
* emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR):
Removed.
1993-08-06 18:35:03 +00:00
David MacKenzie
867a1b8a18
error fixes and clarifications
1993-08-05 22:49:26 +00:00
Jeffrey Wheat
7c6a9e798c
Changes to add dejagnu testsuite support
1993-08-05 04:16:43 +00:00
Jeffrey Wheat
671fe6e9a3
New files for ld testsuites
1993-08-05 04:14:51 +00:00
David MacKenzie
8bf66be8aa
add missing newlines in messages
1993-08-05 02:52:17 +00:00
Steve Chamberlain
cdbcb08c10
Keep h8300h.sc
1993-08-04 17:24:11 +00:00
Steve Chamberlain
8f20740950
Keep h8300h.em
1993-08-04 17:23:30 +00:00
Steve Chamberlain
e85fd7216e
Keep m88kbcs.em
1993-08-04 17:19:22 +00:00
David MacKenzie
1cd4cca9bf
add more info about -warn-common
1993-08-03 23:09:03 +00:00
David MacKenzie
2a28d8b006
add -warn-common option
1993-08-03 22:47:28 +00:00
David MacKenzie
3e27cc11c4
don't list objfiles... as an option
1993-08-03 00:33:38 +00:00
Ken Raeburn
94f9d427e5
* scripttempl/elf.sc: Add hooks for .sdata, .sbss, and
...
target-specific sections, and for changing data section vma.
1993-08-02 16:52:10 +00:00
Ken Raeburn
7ff4288057
elf files changed names; keep i386linux.sh
1993-07-30 22:30:29 +00:00
Ken Raeburn
8a910eb2ba
renaming elf emulparams files to work with current emulation handling code
1993-07-26 19:46:09 +00:00
Ken Raeburn
6b93d764ca
solaris 2 changes
1993-07-26 18:09:05 +00:00
Ken Raeburn
52a3f425d5
Pass emulation name without ".sh".
1993-07-26 18:08:43 +00:00
Ken Raeburn
fcea515b61
(MAXPAGESIZE): Renamed from PAGE_SIZE.
...
(TEXT_START_ADDR): Value should be 0x10100.
(NONPAGED_TEXT_START_ADDR): Same (I guess).
1993-07-23 17:58:24 +00:00
Ken Raeburn
cd739ca9b8
renamed PAGE_SIZE to MAXPAGESIZE
1993-07-23 17:57:35 +00:00
David MacKenzie
d59e5a4707
move compile-in decision to genscripts.sh
1993-07-22 00:55:56 +00:00
David MacKenzie
18d9a9c502
fix typo
1993-07-22 00:37:43 +00:00
David MacKenzie
a6152e399b
The default script is now compiled in; the others are still in the filesystem.
1993-07-22 00:33:10 +00:00
Mark Eichin
077398b1bf
change linux to use OTHER_EMULATIONS
1993-07-20 16:54:23 +00:00
Mark Eichin
9c4d1ed92c
experimental linux support
1993-07-20 16:50:41 +00:00
Ken Raeburn
820c446cce
Make emul-list.h depend on Makefile, so changes to EMULATION_OFILES get
...
reflected.
1993-07-20 16:38:49 +00:00
Ken Raeburn
0750b974c0
disable em_i386linux.o until emulparams/i386linux.sh is checked in
1993-07-20 16:31:47 +00:00
Mark Eichin
c4161ca8c2
more linux support bits
1993-07-19 15:00:19 +00:00
Mark Eichin
783fec2af9
add linux support (may not work yet, just cloned from i386-aout)
1993-07-19 14:51:00 +00:00
Ian Lance Taylor
fe619ced4a
* ldgram.y (OPTION_Lfile): New token.
...
(command_line_option): Accept OPTION_L NAME (whitespace after -L).
* ldlex.l (<COMMAND>): Accept -L without FILENAME.
1993-07-16 21:15:40 +00:00
David Edelsohn
dd8ca662ce
h8/300h stuff
1993-07-16 20:46:46 +00:00
David Edelsohn
5448fed531
Fix h8300h support (need own .mt file).
1993-07-16 20:44:05 +00:00
David Edelsohn
fb564b406c
h8/300h support
1993-07-16 20:43:14 +00:00
David MacKenzie
922018a10c
remove dupliate include
1993-07-15 22:02:01 +00:00
David MacKenzie
c3cbe3f459
source cleanups; fix finding scripts
1993-07-15 21:49:24 +00:00
David Edelsohn
4ab3a31f9e
Add h8/300h support.
1993-07-15 21:45:16 +00:00
David MacKenzie
bbd2521f26
source cleanups; fix finding scripts
1993-07-15 21:43:28 +00:00
David Edelsohn
a5ef437e7f
h8/300h support
1993-07-15 21:41:50 +00:00
Ian Lance Taylor
b0955bc979
* scripttempl/m88kbcs.sc: Removed TARGET statement. Changed
...
OUTPUT_FORMAT to use ${OUTPUT_FORMAT}.
* emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs.
1993-07-15 19:59:21 +00:00
Ian Lance Taylor
9edc5b2eca
* Makefile.in (em_m88kbcs.c): Correct dependency.
...
(scripttempl/m88kbcs.sc): It's ARCH, not arch.
1993-07-15 17:57:26 +00:00
David MacKenzie
cffdcde9e9
* ldfile.c (ldlang_open_file, ldfile_open_command_file),
...
main.c (main): Print the errno string in the error message.
1993-07-15 04:46:25 +00:00
David Edelsohn
ac2c0ee786
* configure.in: Accept h8300h for target cpu.
...
* ldmisc.c (vfinfo): Have demangle remove leading underscore if
present (demangle is smart enough to know whether to do it or not).
1993-07-14 03:08:33 +00:00
David Edelsohn
8a80def6f4
Accept h8300h for target cpu.
1993-07-14 03:07:04 +00:00
David D. Zuhn
e7569ec89f
add a -I to the makeinfo command line
1993-07-13 03:01:22 +00:00
David MacKenzie
f42084627b
* ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for
...
ldscripts, as well as <ld bin dir> and SCRIPTDIR.
1993-07-13 00:54:45 +00:00
David MacKenzie
d723cd17d5
* ldlang.c (lang_process): Use sizeof instead of magic constant.
...
* ldmain.c (get_emulation, check_for_scripts_dir,
set_scripts_dir): New functions.
(main): Call them.
1993-07-12 19:34:04 +00:00
Ken Raeburn
e7affb090d
configure.in, elf.sc changes
1993-07-12 15:07:42 +00:00
Ken Raeburn
aa6743a58d
Include .init, .fini, .rodata sections.
...
Create symbol "end" instead of "__end".
Comment out some parts that may not be needed (yet) for elf.
1993-07-12 15:05:38 +00:00
Ken Raeburn
e900b30cae
Solaris 2 support; sparc64 sanitization.
1993-07-12 15:01:15 +00:00
Ken Raeburn
dc31b55093
fix values
1993-07-12 15:00:55 +00:00
Ken Raeburn
96593d4b82
Solaris 2 configuration; sparc64 sanitization.
1993-07-12 14:59:29 +00:00
Ken Raeburn
ba9ca6a387
Handle sparc64-* before sparc*.
...
Accept sparc-elf and sparc-solaris configurations (though ../configure.in
should still not configure this directory by default, it's not completely
working).
1993-07-12 14:56:45 +00:00
Ken Raeburn
3bf3f99aa7
keep elf.sc
1993-07-08 23:38:49 +00:00
Ken Raeburn
f90bb826e5
initial v9 stuff
1993-07-08 22:44:34 +00:00
Ken Raeburn
3cb6141731
ldmisc,ldlang,Makefile changes
1993-07-08 20:28:03 +00:00
Ken Raeburn
9b0da7f468
ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro when no
...
prototype is being supplied.
(ldmalloc, ldrealloc): Size argument is now size_t.
ldmisc.c (finfo): New function, accepts FILE* argument.
(vfinfo, case 'v'): New format character; displays bfd_vma in hex without
leading zeros.
(vfinfo, cases 'R' and 'C'): Use finfo(%v) when displaying a bfd_vma value,
instead of fprintf(%x) which won't hold a long long value.
(concat, buystring): String lengths are size_t.
(ldmalloc, ldrealloc, xrealloc): Size argument is now size_t.
1993-07-08 20:27:13 +00:00
Ken Raeburn
5af8e9d6a1
(new_stetement): Size argument is now type size_t.
...
Added forward declaration with prototype.
1993-07-08 20:25:26 +00:00
Ken Raeburn
58bf66f96e
(ALL_EMULATIONS): Include $(OTHER_EMULATIONS) in case some target has stuff
...
to add.
1993-07-08 20:24:02 +00:00
Ken Raeburn
49bfda2c9a
forgot to check this in yesterday
1993-07-08 18:56:54 +00:00
David MacKenzie
de87cdb466
* Make -v only print the version number.
...
Share some Texinfo documentation with BFD.
1993-07-08 18:00:11 +00:00
Ken Raeburn
a02945df81
Don't define bfd_vma here!
...
(Wasted at least a day tracking this damn thing down...)
1993-07-07 21:15:09 +00:00
Ian Lance Taylor
e357065c7e
* Makefile.in (install): Don't install as $(tooldir)/bin/gld;
...
collect2 doesn't look for gld any more anyhow.
1993-07-07 18:36:12 +00:00
Ian Lance Taylor
59624167d7
* config/hp300hpux.mt: Use emulation hp3hpux rather than
...
hp300hpux, since the latter does not exist.
1993-07-05 21:32:35 +00:00
Ian Lance Taylor
55636aa789
* ldlang.c (lang_relocate_globals): Skip indirect symbols, which
...
now have a non NULL srefs_chain.
1993-07-05 21:32:13 +00:00
David MacKenzie
a04f1d001e
Passing -L. is no longer necessary.
1993-07-03 02:23:22 +00:00
David MacKenzie
ff76a7dbf3
Fix previous fix.
1993-07-03 02:18:12 +00:00
David MacKenzie
173a0c3d26
* ldmain.c (main): Don't add scriptdir to the lib search path.
...
* genscripts.sh: Put the scripts in the ldscripts directory, not
emulations.
* configure.in (ldscripts): Make, instead of emulations.
* Makefile.in (scriptdir): Take off the "ld" part.
(install, clean, distclean): Use ldscripts, not emulations.
In tests, pass -L., not -Lemulations.
(ldmain.o): Don't pass -DSCRIPTDIR=....
* ldlang.c (lang_process): Add "ldscripts/" to the name of the
default script file.
1993-07-03 02:01:03 +00:00
David Edelsohn
7434d4e5dc
scripttempl/h8300.sc: Add .tors section for constructor/destructors.
1993-07-03 00:14:40 +00:00
Steve Chamberlain
9a004b148b
h8500hms -> h8500
1993-07-02 03:05:30 +00:00
David Edelsohn
0f1c5ea23b
h8300hms -> h8300
1993-07-01 23:38:29 +00:00
K. Richard Pixley
1e787898a0
* Makefile.in (.y.c): skip default .y.c rules. gnu make can now run in
...
parallel without colliding on yacc's static file names. Without the
stub rule, make will try to start two yacc's concurrently which
fails because of yacc's static file names.
1993-07-01 01:23:39 +00:00
K. Richard Pixley
559d7baf89
* Makefile.in (ldgram.[hc]): rewrite this rule in such a way that gnu
...
make can run in parallel without colliding on yacc's static file
names.
1993-06-30 22:48:51 +00:00
David Edelsohn
d26de265ef
alpha-osf.mh -> alphaosf.mh
1993-06-30 20:56:07 +00:00
David MacKenzie
59fb874e52
* Makefile.in (scriptdir): Base on tooldir, not datadir.
1993-06-28 19:23:35 +00:00
David MacKenzie
bf065bfd97
* ldver.c (help): New function.
...
* ldver.h: Declare it.
* ldlex.l, ldgram.y: Recognize new options --help and --version.
1993-06-26 20:13:24 +00:00
David MacKenzie
346535cc1f
* ldlex.l, ldgram.y: Support new -oformat option.
...
Remove attempt at supporting script fragments on the command line.
* ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT.
* mri.c (mri_format), ldgram.y: Change callers.
* ldlang.h: Change prototype.
1993-06-22 17:41:28 +00:00
Ken Raeburn
304b747aad
fix include path again
1993-06-22 03:42:59 +00:00
David MacKenzie
2b63dbfefd
* .Sanitize (Things-to-keep): Add emulparams, emultempl, scripttempl.
1993-06-21 23:40:21 +00:00
David D. Zuhn
5ebaf24b77
single-quote $program_transform_name
1993-06-18 19:25:38 +00:00
David D. Zuhn
9cd039e778
more install/program_transform_name fixes
1993-06-18 17:03:58 +00:00
Steve Chamberlain
d360d135af
Fix install.
1993-06-18 01:30:34 +00:00
David D. Zuhn
e9b991c691
doc last change
1993-06-17 23:55:23 +00:00
David D. Zuhn
e0d005f216
get install.sh canonicalized
1993-06-17 23:50:35 +00:00
David MacKenzie
d18a45278e
Document -Map option.
1993-06-17 23:23:48 +00:00
David MacKenzie
2de8edce8f
* ldgram.y: Tweak grammar to make reporting of invalid options work.
1993-06-17 22:55:38 +00:00
Steve Chamberlain
f216ecc54a
Support for constructors.
1993-06-17 21:49:48 +00:00
David MacKenzie
565c93e92a
* Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc
...
and .cc.o rule.
1993-06-17 21:34:11 +00:00
David MacKenzie
f1907ff24b
Moved to emulparams subdir.
1993-06-17 21:23:10 +00:00