Binutils with MCST patches
Go to file
Alan Modra 73e87d7038 hash bfd sections for fast lookup and create.
bfd/ChangeLog
	* bfd.c (struct _bfd): Add section_htab, section_tail.
	* libbfd-in.h (_bfd_delete_bfd): Declare.
	(bfd_section_hash_newfunc): Declare.
	* opncls.c (_bfd_new_bfd): Free memory on failure.  Init
	section_htab and section_tail.
	(_bfd_delete_bfd): New function.
	(bfd_openr): Use it.
	(bfd_fdopenr): Likewise.
	(bfd_openstreamr): Likewise.
	(bfd_openw): Likewise.
	(bfd_close): Likewise.
	(bfd_close_all_done): Likewise.
	(bfd_release): Comment.
	* section.c (struct section_hash_entry): New.
	(bfd_section_hash_newfunc): New function.
	(section_hash_lookup): Define.
	(bfd_section_init): New function, split out from
	bfd_make_section_anyway.
	(bfd_get_section_by_name): Lookup via hash table.
	(bfd_get_unique_section_name): Likewise.
	(bfd_make_section_old_way): Rewrite to use hash table.
	(bfd_make_section_anyway): Likewise.
	(bfd_make_section): Likewise.  Return NULL for attempts to make
	BFD_{ABS,COM,UND,IND}_SECTION_NAME.
	(_bfd_strip_section_from_output): Adjust section_tail if needed.
	* configure.in: Bump bfd version.
	* configure: Regenerate.
	* libbfd.h: Regenerate.
	* bfd-in2.h: Regenerate.

ld/ChangeLog
	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
	section_tail when fiddling with section list.
	(gld${EMULATION_NAME}_list_options): Ensure sentences aren't
	broken into separate strings to make translation easier.
	* emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
	fiddling with section list.
	* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2001-12-17 00:40:53 +00:00
bfd hash bfd sections for fast lookup and create. 2001-12-17 00:40:53 +00:00
binutils * elf-bfd.h (enum elf_link_info_type): New. 2001-12-13 11:09:34 +00:00
config
etc
gas * config/obj-elf.c (obj_elf_init_stab_section): References are 2001-12-14 15:53:11 +00:00
gdb *** empty log message *** 2001-12-17 00:00:32 +00:00
gprof fix typo 2001-12-04 09:46:41 +00:00
include Initialise the disassembler_options field (to NULL). 2001-12-14 21:32:04 +00:00
intl * Import GNU gettext 0.10.35. 2001-11-29 03:38:59 +00:00
ld hash bfd sections for fast lookup and create. 2001-12-17 00:40:53 +00:00
libiberty merge from gcc 2001-12-13 00:05:32 +00:00
mmalloc
opcodes Index: bfd/ChangeLog 2001-12-08 03:46:03 +00:00
readline Clone src/config.guess. Mention in MAINTAINERS. 2001-07-20 20:08:08 +00:00
sim Don't try to link in sim-bits.o. 2001-12-16 21:00:08 +00:00
texinfo
.cvsignore Add MMIX support 2001-10-30 15:20:14 +00:00
ChangeLog * configure.in (FLAGS_FOR_TARGET): Remove -nostdinc and -isystem 2001-12-13 23:57:00 +00:00
config-ml.in
config.guess * config.sub, config.guess: Import latest from subversions. 2001-09-28 21:04:51 +00:00
config.if
config.sub * config.sub: Update to version 1.232 on subversion. 2001-11-26 22:52:00 +00:00
configure When build != host, create libiberty for the build machine. 2001-11-28 19:55:01 +00:00
configure.in * configure.in (FLAGS_FOR_TARGET): Remove -nostdinc and -isystem 2001-12-13 23:57:00 +00:00
COPYING
COPYING.LIB
COPYING.NEWLIB * COPYING.NEWLIB: Mention preserved notice in specific parts. 2001-11-18 23:43:02 +00:00
djunpack.bat
gettext.m4 * gettext.m4: Test po/POTFILES.in exists before trying to read. 2001-10-03 01:46:25 +00:00
install-sh
libtool.m4 * ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh, 2001-05-20 19:02:56 +00:00
ltcf-c.sh 2001-11-13 Jeff Holcomb <jeffh@redhat.com> 2001-11-14 06:24:41 +00:00
ltcf-cxx.sh 2001-11-13 Jeff Holcomb <jeffh@redhat.com> 2001-11-14 06:24:41 +00:00
ltcf-gcj.sh 2001-11-13 Jeff Holcomb <jeffh@redhat.com> 2001-11-14 06:24:41 +00:00
ltconfig 2001-11-13 Jeff Holcomb <jeffh@redhat.com> 2001-11-14 06:24:41 +00:00
ltmain.sh 2001-11-13 Jeff Holcomb <jeffh@redhat.com> 2001-11-14 06:24:41 +00:00
MAINTAINERS gcc adopts symlink-tree, refer more to libiberty. 2001-12-05 10:07:09 +00:00
Makefile.in When build != host, create libiberty for the build machine. 2001-11-28 19:55:01 +00:00
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
mpw-build.in
mpw-config.in
mpw-configure
mpw-install
mpw-README
README
README-maintainer-mode
setup.com
symlink-tree gcc adopts symlink-tree, refer more to libiberty. 2001-12-05 10:07:09 +00:00
ylwrap

		   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.