Commit graph

1735 commits

Author SHA1 Message Date
Nick Clifton
8d3859c765 Fix for PR 17063 - do not create a section called .call_table, instead create
sections called .call_table_data and .call_table_text.
1998-09-30 18:37:55 +00:00
Richard Henderson
ea0a321df9 Mon Sep 28 21:31:12 1998 Richard Henderson <rth@cygnus.com>
* ld-elfvers/vers.exp: Run tests on alpha-linux.
        * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match
        Alpha's use of st_other.

1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

        * ld-elfvers/vers.exp (vers16, vers16a): New tests.
        * ld-elfvers/{vers16.*, vers16a.*}: New files.
1998-09-29 04:34:32 +00:00
Catherine Moore
dbfd71f987 fix date 1998-09-04 15:06:32 +00:00
Catherine Moore
2d94a86b15 remove garbage 1998-09-04 14:22:03 +00:00
Richard Henderson
df775531ca * emulparams/d10velf.sh (TEMPLATE_NAME): Use elf32. 1998-09-04 00:31:41 +00:00
Catherine Moore
c42591bfd5 remove elfarm.sc 1998-09-01 13:59:18 +00:00
Catherine Moore
7892a56c16 Change references to armelf.sc to elf.sc. 1998-08-31 18:09:41 +00:00
Catherine Moore
4a634a0bcb * emulparams/armelf.sh: Change SCRIPT_NAME to
elf.  Change TEXT_START_ADDR to 0x8000.  Define
        OTHER_TEXT_SECTIONS, OTHER_BSS_SYMBOLS and
        OTHER_BSS_END_SYMBOLS.
        * scripttempl/elf.sc:  Modify to use
        OTHER_BSS_END_SYMBOLS.
        * scripttempl/elfarm.sc:  Remove file.
1998-08-31 16:26:28 +00:00
Catherine Moore
01ce25b37c remove armelf sanitization. 1998-08-31 16:21:59 +00:00
Catherine Moore
07f50e4e2c remove armelf sanitization 1998-08-28 20:28:26 +00:00
Catherine Moore
0fc4a7d044 remove armelf sanitization. 1998-08-28 20:26:14 +00:00
Catherine Moore
28278f9032 add elfarm.sc to things to keep 1998-08-27 20:40:30 +00:00
Catherine Moore
4be26f9d58 add armelf.em to things to keep. 1998-08-27 20:39:21 +00:00
Catherine Moore
e9ebd69fe6 remove armelf sanitization. 1998-08-26 17:17:56 +00:00
Ian Lance Taylor
bb7835f04c fix armelf sanitization and checks for mentions of sanitized files 1998-08-21 16:02:40 +00:00
Ian Lance Taylor
d8a152bcf2 fix armelf sanitization and earmelf.c dependencies 1998-08-21 16:02:05 +00:00
Ian Lance Taylor
cbf40048ae check for mentions of sanitized files 1998-08-20 22:00:31 +00:00
Ian Lance Taylor
bd163c91c6 mention directory when looking for sanitize 1998-08-20 21:54:07 +00:00
Nick Clifton
97837cef65 Added missing sanitization markers 1998-08-19 19:28:50 +00:00
Nick Clifton
70bb54baba Add arm/thumb-elf expected failures 1998-08-19 19:13:56 +00:00
Catherine Moore
5cdcdb070c * emultempl/armelf.em (gld_armelf_before_allocation):
Add bfd_ prefix to elf32_arm_process_before_allocation
        and elf32_arm_allocate_interworking_sections.
        (gld_armelf_after_open): Add bfd_ prefix to
        elf32_arm_get_bfd_for_interworking.
1998-08-18 17:15:58 +00:00
Ian Lance Taylor
1e012223fd * Makefile.am: Rebuild dependencies.
* Makefile.in: Rebuild.
1998-08-14 19:52:24 +00:00
Ian Lance Taylor
63bb5e9a79 * ldgram.y: Include "ldctor.h".
(statement): Accept SORT around CONSTRUCTORS.
	* ldctor.c: Include <ctype.h>.
	(constructors_sorted): New global variable.
	(ctor_prio, ctor_cmp): New static functions.
	(ldctor_build_sets): Sort constructors if requested.
	* ldctor.h (constructors_sorted): Declare.
	* ldlang.c (print_statement): Print sorted CONSTRUCTORS
	correctly.
	* scripttempl/elf.sc: Add sort around CONSTRUCTORS.
	* ld.texinfo (Output Section Keywords): Document SORT
 	(CONSTRUCTORS).
1998-08-14 19:40:01 +00:00
Catherine Moore
fbb99e9a4d Add armelf. 1998-08-13 23:12:52 +00:00
Catherine Moore
527c54a697 Thu Aug 13 12:20:39 1998 Catherine Moore <clm@cygnus.com>
* emulparams/armelf.sh:  Define TEMPLATE_NAME to armelf.
       * scripttempl/elfarm.sc:  Include .glue_7t and .glue7
       sections.
       * emultempl/armelf.em: New file.
1998-08-13 17:45:02 +00:00
Ian Lance Taylor
0ffa432e2e Thu Aug 13 12:52:45 1998 H.J. Lu <hjl@gnu.org>
* Makefile.am (ld.dvi): Use " instead of ' for MAKEINFO.
	* Makefile.in: Rebuild.
1998-08-13 16:58:33 +00:00
Doug Evans
40c42313db * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0
for .DVP.overlay.* for elf32elmip too.
1998-08-12 23:35:38 +00:00
Ian Lance Taylor
d02e7bc8b7 Based on patch from H.J. Lu <hjl@gnu.org>:
* ld-srec/srec.exp: Add xfails for Alpha ELF targets.
1998-08-12 19:22:30 +00:00
Catherine Moore
b3bd5b1511 * scripttempl/elfarm.sc: Change text start address
back to zero.
1998-08-12 00:11:13 +00:00
Jeff Law
72eb7b53ff * emulparms/mn10200.sh (MAX_PAGESIZE): Define to 1.
* emulparms/mn10300.sh (MAX_PAGESIZE): Define to 1.
1998-08-11 16:03:15 +00:00
Catherine Moore
45834a73ef * scripttempl/elfarm.sc: Set text start address to
0x8000.  Add __bss_end definition.
1998-08-10 01:45:58 +00:00
Nick Clifton
43607f2c1e oops - move armelf sanitization before check for remaining sanitize 1998-08-04 21:18:41 +00:00
Nick Clifton
4857ffb496 fix armelf sanitization 1998-08-04 15:53:37 +00:00
Catherine Moore
020c70e98e * scripttempl/elfarm.sc: New file.
* emulparams/armelf.sh: Set SCRIPT_NAME to elfarm.
1998-08-01 17:30:02 +00:00
Catherine Moore
6e723af99a emulparams/armelf.sh: New file.
configure.tgt:  Recognize thumb-elf and arm-elf.
Makefile.am (earmelf.o): New.
Makefile.in: Rebuild.
1998-07-31 21:14:19 +00:00
Ian Lance Taylor
f89e59e174 * configure.tgt: Recognize h8[35]00*-coff* as well as -hms*. 1998-07-24 16:01:28 +00:00
Ian Lance Taylor
b69153b601 remove d30v sanitization 1998-07-24 04:14:04 +00:00
Ian Lance Taylor
bf00990ea9 * scripttempl/aout.sc: If ALIGNMENT is defined, use it to set
alignment of end symbol.
	* scripttempl/elf.sc: Likewise.
	* emulparams/sun4.sh (ALIGNMENT): Define.
	* emulparams/elf32_sparc.sh (ALIGNMENT): Define.
	* ldint.texinfo (emulation parameters): Document ALIGNMENT.
1998-07-23 16:31:01 +00:00
Ian Lance Taylor
899ea5062e rebuild 1998-07-23 16:25:52 +00:00
Ian Lance Taylor
e42578b65e * ld-elfvers/vers.exp: Just check for i?86 rather than checking
for i386, i486, and i586.
	(objdump_versionstuff): If we can't find the line, dump the file.
1998-07-23 16:24:15 +00:00
Richard Henderson
c86d82ee47 Strip beos markers. 1998-07-14 23:15:20 +00:00
Richard Henderson
d51be0a936 * configure.tgt (i?86-*-beos{pe,elf,}*): Recognize.
* Makefile.am (ei386beos.o): New.
        * emulparams/i386beos.sh: New file.
        * emultempl/beos.em, scripttempl/i386beos.sc: New file.
1998-07-14 22:40:17 +00:00
Ian Lance Taylor
1aa3ed3c23 Mon Jul 13 13:20:23 1998 Steve Chamberlain <sac@transmeta.com>
* ldlex.l: Accept ASSERT.
	* ldgram.y (exp): Add ASSERT_K case.
	* ldexp.h (node_type): Add etree_assert to node_class enum.
	(etree_type): Add assert_s field.
	(exp_assert): Declare.
	* ldexp.c (exp_fold_tree): Handle etree_assert.
	(exp_assert): New function.
	(exp_print_tree): Handle etree_assert.
	* ld.texinfo (Miscellaneous Commands): Document ASSERT.
1998-07-13 17:23:53 +00:00
Ian Lance Taylor
ae2a2f6cc2 * ldgram.y: Change MAX to MAX_K and MIN to MIN_K, to avoid
conflicts with system header files.  Change all uses.
1998-07-08 18:06:49 +00:00
Ian Lance Taylor
e566cb381e * Makefile.am (MAINTAINERCLEANFILES): Define.
* Makefile.in: Rebuild.
1998-07-08 18:03:30 +00:00
Ian Lance Taylor
3964a18abe * Makefile.am (ldver.texi): New target.
(ld.info, ld.dvi): Depend upon ldver.texi.
	* ld.texinfo: Include ldver.texi.  Mention version number on title
	page and in top node.
	* Makefile.in: Rebuild.
1998-07-07 22:04:16 +00:00
Ian Lance Taylor
53fc351582 * configure.tgt (i[3456]86-*-solaris*): New target. 1998-07-06 18:55:37 +00:00
Ian Lance Taylor
b58e666f2e * ldlang.c (wild_section): Don't get an assertion failure if the
section is discarded.
1998-07-03 22:10:22 +00:00
Ian Lance Taylor
7617a82283 * scripttempl/pe.sc: Use SORT to sort sections appropriately.
* emultempl/pe.em (sort_by_file_name): Remove.
	(sort_by_section_name): Remove.
	(sort_sections_1, sort_sections): Remove.
	(gld_${EMULATION_NAME}_before_allocation): Don't call
	sort_sections.
	(hold_section, hold_section_name): New static variables.
	(hold_use, hold_text, hold_rdata, hold_data, hold_bss): Likewise.
	(gld_${EMULATION_NAME}_place_orphan): Rewrite.  Look for a good
	place to put the section.  Align the section.  Sort the input
	sections by name.
	(gld_${EMULATION_NAME}_place_section): New static function.
1998-07-03 21:52:58 +00:00
Ian Lance Taylor
6ccce8e82b * ldlang.c (wild_sort): When sorting by file name, sort by archive
name first.
1998-07-03 21:52:43 +00:00