Go to file
H.J. Lu bcaa7b3eb9 ld/
2004-10-04  H.J. Lu  <hongjiu.lu@intel.com>

	* NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
	--sort-section name|alignment.

	* ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
	--sort-section name|alignment.

	* ld.h (sort_type): New enum.
	(wildcard_spec): Change the type of `sorted' to sort_type.

	* ldgram.y (SORT): Removed.
	(SORT_BY_NAME): Added.
	(SORT_BY_ALIGNMENT): Added.
	(wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
	SORT_BY_ALIGNMENT.
	(input_section_spec_no_keep): Updated `sorted'.
	(statement): Replace SORT with SORT_BY_NAME.

	* ldlang.c (compare_section): New function to compare 2
	sections with different sorting schemes.
	(wild_sort): Updated. Use compare_section.
	(update_wild_statements): New function.
	(lang_process): Call update_wild_statements before
	map_input_to_output_sections.

	* ldlex.l (SORT_BY_NAME): New.
	(SORT_BY_ALIGNMENT): New.
	(SORT): Return SORT_BY_NAME.

	* ldmain.c (sort_section): New. Defined.
	(main): Initialize it to none.

	* lexsup.c (option_values): Add OPTION_SORT_SECTION.
	(ld_options): Add an entry for OPTION_SORT_SECTION.
	(parse_args): Handle OPTION_SORT_SECTION.

	* mri.c (mri_draw_tree): Updated `sorted'.

ld/testsuite/

2004-10-04  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-scripts/sort.exp: New file for section sorting tests.
	* ld-scripts/sort_b_a.d: Likewise
	* ld-scripts/sort_b_a.s: Likewise
	* ld-scripts/sort_b_a.t: Likewise
	* ld-scripts/sort_b_a_a-1.d: Likewise
	* ld-scripts/sort_b_a_a-2.d: Likewise
	* ld-scripts/sort_b_a_a-3.d: Likewise
	* ld-scripts/sort_b_a_a.t: Likewise
	* ld-scripts/sort_b_a_n-1.d: Likewise
	* ld-scripts/sort_b_a_n-2.d: Likewise
	* ld-scripts/sort_b_a_n-3.d: Likewise
	* ld-scripts/sort_b_a_n.t: Likewise
	* ld-scripts/sort_b_n.d: Likewise
	* ld-scripts/sort_b_n.s: Likewise
	* ld-scripts/sort_b_n.t: Likewise
	* ld-scripts/sort_b_n_a-1.d: Likewise
	* ld-scripts/sort_b_n_a-2.d: Likewise
	* ld-scripts/sort_b_n_a-3.d: Likewise
	* ld-scripts/sort_b_n_a.t: Likewise
	* ld-scripts/sort_b_n_n-1.d: Likewise
	* ld-scripts/sort_b_n_n-2.d: Likewise
	* ld-scripts/sort_b_n_n-3.d: Likewise
	* ld-scripts/sort_b_n_n.t: Likewise
	* ld-scripts/sort_n_a-a.s: Likewise
	* ld-scripts/sort_n_a-b.s: Likewise
	* ld-scripts/sort_no-1.d: Likewise
	* ld-scripts/sort_no-2.d: Likewise
	* ld-scripts/sort_no.t: Likewise
2004-10-04 16:45:51 +00:00
bfd daily update 2004-10-04 00:00:05 +00:00
binutils The patch below adds binutils support for the SHT_ARM_EXIDX, as defined by 2004-10-01 12:59:42 +00:00
config Merge from gcc: 2004-09-25 00:26:33 +00:00
contrib
cpu cpu/ 2004-08-27 09:32:02 +00:00
etc
gas 2004-10-01 H.J. Lu <hongjiu.lu@intel.com> 2004-10-02 00:18:31 +00:00
gdb *** empty log message *** 2004-10-04 00:00:02 +00:00
gprof * aclocal.m4: Regenerate. 2004-09-17 06:24:38 +00:00
include The patch below adds binutils support for the SHT_ARM_EXIDX, as defined by 2004-10-01 12:59:42 +00:00
intl
ld ld/ 2004-10-04 16:45:51 +00:00
libiberty merge from gcc 2004-09-08 22:01:25 +00:00
mmalloc
opcodes Fixes for the encoding and decoding of the PDP11's SOB instruction 2004-10-01 11:19:38 +00:00
readline
sim 2004-09-24 Monika Chaddha <monika@acmet.com> 2004-09-24 20:28:24 +00:00
texinfo
.cvsignore
ChangeLog Enable target-libgloss for crx-*-*. 2004-09-30 16:34:36 +00:00
compile Merge from gcc 2004-09-23 20:15:24 +00:00
config-ml.in 2004-06-01 Paolo Bonzini <bonzini@gnu.org> 2004-06-01 07:46:01 +00:00
config.guess Merge from gcc: 2004-09-23 19:54:49 +00:00
config.if
config.sub Import latest version from master repository. 2004-09-04 07:53:54 +00:00
configure Enable target-libgloss for crx-*-*. 2004-09-30 16:34:36 +00:00
configure.in Enable target-libgloss for crx-*-*. 2004-09-30 16:34:36 +00:00
COPYING
COPYING.LIB
COPYING.LIBGLOSS
COPYING.NEWLIB
depcomp Merge from gcc: 2004-09-23 19:54:49 +00:00
djunpack.bat
gettext.m4
install-sh Merge from gcc: 2004-09-23 19:54:49 +00:00
libtool.m4 knetbsd/kfreebsd patches from Robert Millan. 2004-07-21 19:21:41 +00:00
ltcf-c.sh knetbsd/kfreebsd patches from Robert Millan. 2004-07-21 19:21:41 +00:00
ltcf-cxx.sh knetbsd/kfreebsd patches from Robert Millan. 2004-07-21 19:21:41 +00:00
ltcf-gcj.sh knetbsd/kfreebsd patches from Robert Millan. 2004-07-21 19:21:41 +00:00
ltconfig knetbsd/kfreebsd patches from Robert Millan. 2004-07-21 19:21:41 +00:00
ltmain.sh
MAINTAINERS Include Makefile.*, not just Makefile.in, in the top-level policy. 2004-06-09 22:48:28 +00:00
Makefile.def 2004-09-09 Daniel Berlin <dberlin@dberlin.org> 2004-09-10 02:19:35 +00:00
Makefile.in 2004-09-23 H.J. Lu <hongjiu.lu@intel.com> 2004-09-24 00:40:22 +00:00
Makefile.tpl 2004-09-23 H.J. Lu <hongjiu.lu@intel.com> 2004-09-24 00:40:22 +00:00
makefile.vms
missing 2004-09-07 Paolo Bonzini <bonzini@gnu.org> 2004-09-07 08:34:06 +00:00
mkdep
mkinstalldirs
move-if-change
README
README-maintainer-mode
setup.com
src-release * Makefile.def, configure.in, src-release: Remove useless, bogus 2004-08-12 22:59:53 +00:00
symlink-tree
ylwrap * ylwrap: Revert to previous version. 2004-09-24 13:21:46 +00:00

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.