old-cross-binutils/include
H.J. Lu b10a8ae01c bfd/
2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/3281
	PR binutils/5037
	* elf-bfd.h (elf_obj_tdata): Remove relro.

	* elf.c (get_program_header_size): Check info->relro instead
	of elf_tdata (abfd)->relro.
	(_bfd_elf_map_sections_to_segments): Likewise.
	(assign_file_positions_for_load_sections): Don't set
	PT_GNU_RELRO segment alignment here.
	(assign_file_positions_for_non_load_sections): Properly set up
	PT_GNU_RELRO segment for copying executable/shared library.
	(rewrite_elf_program_header): Remove PT_GNU_RELRO segment.
	(copy_elf_program_header): Set p_size and p_size_valid fields for
	PT_GNU_RELRO segment.

include/elf/

2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/3281
	PR binutils/5037
	* internal.h (elf_segment_map): Add p_size and p_size_valid.
	(ELF_IS_SECTION_IN_SEGMENT): Allow SHF_TLS sections in
	PT_GNU_RELRO segments.

ld/

2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/3281
	PR binutils/5037
	* ldexp.h (ldexp_control): Add relro, relro_start_stat and
	relro_end_stat.

	* ldexp.c (fold_binary): Set expld.dataseg.relro to
	exp_dataseg_relro_start or exp_dataseg_relro_end when
	seeing DATA_SEGMENT_ALIGN or DATA_SEGMENT_RELRO_END,
	respectively.

	* ldlang.c (lang_size_sections_1): Properly set
	expld.dataseg.relro_start_stat and
	expld.dataseg.relro_end_stat.
	(find_relro_section_callback): New function.
	(lang_find_relro_sections_1): Likewise.
	(lang_find_relro_sections): Likewise.
	(lang_process): Call lang_find_relro_sections for
	non-relocatable link.

ld/testsuite/

2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/3281
	PR binutils/5037
	* ld-elf/binutils.exp: Update "-z relro" tests to use relro1.s.
	Add "-z relro" tests with relro2.s.  Add "-z relro" tests with
	TLS for objcopy.

	* ld-elf/relro1.s: New file.
	* ld-elf/relro2.s: Likewise.
2007-09-18 00:25:07 +00:00
..
aout Remove a29k support. 2005-08-18 03:51:51 +00:00
coff bfd/ 2007-08-02 16:02:01 +00:00
elf bfd/ 2007-09-18 00:25:07 +00:00
gdb Switch the license of all .h files to GPLv3. 2007-08-23 18:17:33 +00:00
nlm Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
opcode binutils/ 2007-08-24 00:56:30 +00:00
alloca-conf.h
ansidecl.h merge from gcc 2007-03-06 19:00:57 +00:00
bfdlink.h 2007-07-09 Roland McGrath <roland@redhat.com> 2007-07-09 21:21:42 +00:00
bout.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
ChangeLog merge from gcc 2007-09-06 17:22:39 +00:00
ChangeLog-9103 merge from gcc 2005-04-14 02:22:18 +00:00
COPYING Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
COPYING3 * COPYING3: New file. Contains version 3 of the GNU General Public License. 2007-07-17 13:50:23 +00:00
demangle.h merge from gcc 2007-08-31 20:20:49 +00:00
dis-asm.h New port: National Semiconductor's CR16 2007-06-29 14:09:34 +00:00
dyn-string.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
fibheap.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
filenames.h merge from gcc 2007-03-29 21:03:48 +00:00
floatformat.h merge from gcc 2005-10-31 18:01:19 +00:00
fnmatch.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
fopen-bin.h
fopen-same.h
fopen-vms.h
gdbm.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
getopt.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
hashtab.h merge from gcc 2005-06-30 23:03:37 +00:00
hp-symtab.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
ieee.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
libiberty.h merge from gcc 2007-09-06 17:22:39 +00:00
MAINTAINERS
md5.h merge from gcc 2006-01-18 21:05:51 +00:00
oasys.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
objalloc.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
obstack.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
os9k.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
partition.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
progress.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
safe-ctype.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
sort.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
splay-tree.h merge from gcc 2007-07-13 18:23:23 +00:00
symcat.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
xregex.h
xregex2.h merge from gcc 2005-07-12 10:35:00 +00:00
xtensa-config.h * xtensa-config.h (XCHAL_HAVE_THREADPTR): New. 2007-07-18 18:52:30 +00:00
xtensa-isa-internal.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
xtensa-isa.h * xtensa-isa.h (STATIC_LIBISA): Delete. 2006-11-27 19:23:21 +00:00