Binutils with MCST patches
Go to file
Ian Lance Taylor 1a2dff539b * layout.cc (Layout::Layout): Initialize increase_relro_.
(Layout::get_output_section): Add is_relro, is_last_relro, and
	is_first_non_relro parameters.  Change all callers.
	(Layout::choose_output_section): Likewise.
	(Layout::add_output_section_data): Likewise.
	(Layout::make_output_section): Likewise.
	(Layout::set_segment_offsets): Clear increase_relro when using a
	linker script.
	* layout.h (class Layout): Add increase_relro method.  Add
	increase_relro_ field.  Update declarations.
	* output.cc (Output_section::Output_section): Initialize
	is_last_relro_ and is_first_non_relro_.
	(Output_segment::add_output_section): Group relro sections is
	do_sort is true.  Handle is_last_relro and is_first_non_relro.
	(Output_segment::maximum_alignment): Remove relro handling.
	(Output_segment::set_section_addresses): Add increase_relro
	parameter.  Change all callers.  Add initial alignment to align
	relro sections on separate page.  Remove old relro handling.
	(Output_segment::set_section_list_addresses): Remove in_relro
	parameter.  Change all callers.
	(Output_segment::set_offset): Add increase parameter.  Change all
	callers.  Remove old relro handling.
	* output.h (class Output_section): Add new methods: is_last_relro,
	set_is_last_relro, is_first_non_relro, set_is_first_non_relro.
	Add is_last_relro_ and is_first_non_relro_ fields.
	* i386.cc (Target_i386::got_section): Don't call set_is_relro.
	Create separate .got.plt section.  Call increase_relro.
	* x86_64.cc (Target_x86_64::got_section): Likewise.
	* testsuite/relro_script_test.t: Add .got.plt.
2009-12-30 06:57:17 +00:00
bfd daily update 2009-12-29 23:00:25 +00:00
binutils * MAINTAINERS: Update my email address. 2009-12-21 10:21:16 +00:00
config config: 2009-11-30 16:46:47 +00:00
cpu Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
elfcpp * elfcpp_file.h: Revert last patch. 2009-12-14 19:57:47 +00:00
etc Regenerate tree using Autoconf 2.64 and Automake 1.11. 2009-08-22 16:56:56 +00:00
gas 2009-12-28 Daniel Gutson <dgutson@codesourcery.com> 2009-12-28 18:27:42 +00:00
gdb *** empty log message *** 2009-12-30 00:00:33 +00:00
gold * layout.cc (Layout::Layout): Initialize increase_relro_. 2009-12-30 06:57:17 +00:00
gprof Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
include * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type. 2009-12-29 04:12:11 +00:00
intl 2009-10-15 Jim Blandy <jimb@red-bean.com> 2009-10-15 09:41:35 +00:00
ld bfd/ 2009-12-28 18:55:16 +00:00
libdecnumber merge from gcc 2009-11-30 21:50:19 +00:00
libiberty * pex-unix.c (pex_unix_exec_child): Save/restore environ. 2009-12-08 07:15:36 +00:00
opcodes Replace VexNDS, VexNDD and VexLWP with VexVVVV. 2009-12-19 18:36:27 +00:00
readline Regenerate tree using Autoconf 2.64 and Automake 1.11. 2009-08-22 16:56:56 +00:00
sim * rx/rx.c (decode_opcode): btst bit address mask fix. 2009-12-23 03:51:47 +00:00
texinfo
.cvsignore
ChangeLog * config.sub, config.guess: Update from upstream sources. 2009-12-18 03:39:58 +00:00
compile Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
config-ml.in
config.guess * config.sub, config.guess: Update from upstream sources. 2009-12-18 03:39:58 +00:00
config.rpath
config.sub * config.sub, config.guess: Update from upstream sources. 2009-12-18 03:39:58 +00:00
configure Sync with GCC: 2009-12-07 20:24:59 +00:00
configure.ac Sync with GCC: 2009-12-07 20:24:59 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.LIBGLOSS 2009-12-17 Jeff Johnston <jjohnstn@redhat.com> 2009-12-17 21:12:49 +00:00
COPYING.NEWLIB 2009-12-17 Jeff Johnston <jjohnstn@redhat.com> 2009-12-17 21:12:49 +00:00
depcomp Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
djunpack.bat
install-sh Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh * ltmain.sh (func_normal_abspath): New function. 2009-08-31 16:59:32 +00:00
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def * Makefile.def: Restore host and target settings for gmp. 2009-11-16 22:57:46 +00:00
Makefile.in * Makefile.def: Restore host and target settings for gmp. 2009-11-16 22:57:46 +00:00
Makefile.tpl * configure.ac: Add libelf to host_libs. Enable in-tree configury 2009-11-16 18:42:37 +00:00
makefile.vms
missing Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
mkdep
mkinstalldirs Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
move-if-change
README
README-maintainer-mode Cleanups after the update to Autoconf 2.64, Automake 1.11. 2009-08-22 17:08:11 +00:00
setup.com 2009-09-01 Tristan Gingold <gingold@adacore.com> 2009-09-01 13:38:26 +00:00
src-release
symlink-tree
ylwrap Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +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.