Files
binutils-gdb/ld/testsuite/ld-elf
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
..
2006-07-12 15:45:33 +00:00
2007-02-14 14:15:52 +00:00
2007-09-18 00:25:07 +00:00
2006-06-01 05:40:24 +00:00
2007-01-16 14:56:32 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2007-01-16 14:56:32 +00:00
2007-01-16 14:56:32 +00:00
ld/
2007-01-19 15:13:29 +00:00
ld/
2007-01-19 15:13:29 +00:00
ld/
2007-01-19 15:13:29 +00:00
ld/
2007-01-19 15:13:29 +00:00
ld/
2007-01-19 15:13:29 +00:00
ld/
2007-01-19 15:13:29 +00:00
ld/
2007-01-19 15:13:29 +00:00
2006-10-19 02:40:14 +00:00
2006-10-19 02:40:14 +00:00
2006-10-19 02:40:14 +00:00
2006-10-19 02:40:14 +00:00
2006-10-19 02:40:14 +00:00
2007-07-06 14:09:45 +00:00
2006-06-20 02:22:16 +00:00
2006-06-20 02:22:16 +00:00
2006-06-20 02:22:16 +00:00
2006-11-21 11:25:17 +00:00
2006-11-21 11:25:17 +00:00
2006-12-04 08:57:09 +00:00
2006-12-04 08:57:09 +00:00
2007-08-28 13:21:58 +00:00
2006-07-12 15:45:33 +00:00
2006-07-12 15:45:33 +00:00
2006-07-12 15:45:33 +00:00
2007-08-28 13:21:58 +00:00
ld/
2007-04-02 16:32:04 +00:00
ld/
2007-04-02 16:32:04 +00:00
ld/
2007-04-02 16:32:04 +00:00
2007-03-08 17:54:29 +00:00
2007-03-01 16:39:42 +00:00
2007-03-07 10:25:11 +00:00
2007-03-07 10:25:11 +00:00
2006-07-12 15:45:33 +00:00
2006-07-12 15:45:33 +00:00
2007-07-06 14:09:45 +00:00
2006-12-07 13:32:02 +00:00
2006-12-07 13:32:02 +00:00
2006-12-07 13:32:02 +00:00
2006-12-07 13:32:02 +00:00
2007-05-18 19:04:51 +00:00
2006-07-12 15:45:33 +00:00
2007-03-07 08:54:35 +00:00
2007-03-07 08:54:35 +00:00
2007-03-07 08:54:35 +00:00
2007-03-07 08:54:35 +00:00
2006-08-29 01:24:17 +00:00
2006-07-12 15:45:33 +00:00
2006-06-01 05:40:24 +00:00
2006-06-01 05:40:24 +00:00
2006-06-01 05:40:24 +00:00
ld/
2007-01-19 15:06:27 +00:00
ld/
2007-01-19 15:06:27 +00:00
ld/
2007-01-19 15:06:27 +00:00
ld/
2007-01-19 15:06:27 +00:00
2006-09-16 23:51:50 +00:00
2007-05-10 14:46:48 +00:00
2007-01-16 14:56:32 +00:00
ld/
2006-08-01 17:50:52 +00:00
ld/
2006-08-01 17:50:52 +00:00
ld/
2006-08-01 17:50:52 +00:00
2006-07-12 15:45:33 +00:00
2007-03-22 15:50:38 +00:00
2007-03-22 15:50:38 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
ld/
2007-03-24 06:49:03 +00:00
2007-09-18 00:25:07 +00:00
2007-09-18 00:25:07 +00:00
2007-07-06 14:09:45 +00:00
2007-07-06 14:09:45 +00:00
2006-06-01 05:40:24 +00:00
2006-06-01 05:40:24 +00:00
2006-06-01 05:40:24 +00:00
2006-06-01 05:40:24 +00:00
2007-08-28 13:21:58 +00:00
2007-02-14 14:15:52 +00:00
2007-07-23 09:56:19 +00:00
ld/
2007-07-29 12:33:38 +00:00
2006-12-29 17:56:32 +00:00
2006-12-29 17:56:32 +00:00
2006-12-29 17:56:32 +00:00
2006-12-29 17:56:32 +00:00
2007-07-06 14:09:45 +00:00