H.J. Lu
75ff45898c
bfd/
2005-05-17 H.J. Lu <hongjiu.lu@intel.com>
PR 797
* elf32-i386.c (elf_i386_size_dynamic_sections): Also remove
empty sdynbss section.
* elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Likewise.
ld/
2005-05-17 H.J. Lu <hongjiu.lu@intel.com>
PR 797
* ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and
take take a bfd_boolean, mark_used. Ignore assert failure if
mark_used is TRUE.
(exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE.
(exp_fold_tree_no_dot): Updated to take a bfd_boolean,
mark_used and pass down.
(fold_unary): Likewise.
(fold_binary): Likewise.
(fold_trinary): Likewise.
(exp_binop): Add FALSE to call to exp_fold_tree_no_dot.
(exp_trinop): Likewise.
(exp_unop): Likewise.
(exp_nameop): Likewise.
(exp_get_vma): Likewise.
(exp_get_fill): Likewise.
(exp_get_abs_int): Likewise.
(fold_name): Likewise. Set SEC_KEEP in output section flags.
(exp_mark_used_section): New.
* ldexp.h (exp_mark_used_section): New.
* ldlang.c (lang_output_section_statement_lookup_1): Set the
ignored field to FALSE.
(lang_mark_used_section_1): New.
(lang_mark_used_section): Call lang_mark_used_section_1.
(strip_excluded_output_sections): Call lang_mark_used_section
and check for unused sections.
(lang_size_sections_1): Skip an output section if it should
be ignored.
(lang_do_assignments_1): Likewise.
(lang_process): Don't call lang_mark_used_section here.
* ldlang.h (lang_output_section_statement_type): Change
all_input_readonly to bitfield. Add ignored.
ld/testsuite/
2005-05-17 H.J. Lu <hongjiu.lu@intel.com>
PR 797
* empty-aligned.d: New file.
* empty-aligned.exp: Likewise.
* empty-aligned.s: Likewise.
* empty-aligned.t: Likewise.
2005-05-17 16:43:02 +00:00
..
2005-02-21 08:18:49 +00:00
2005-02-21 08:18:49 +00:00
2005-02-17 20:57:01 +00:00
2005-02-21 08:18:49 +00:00
2005-02-17 20:57:01 +00:00
2005-02-17 20:57:01 +00:00
2005-02-17 20:57:01 +00:00
2005-05-12 07:32:09 +00:00
2004-02-20 15:31:10 +00:00
2004-02-20 15:31:10 +00:00
2005-05-12 07:32:09 +00:00
2004-04-15 01:49:22 +00:00
2004-02-18 16:37:21 +00:00
2004-08-17 01:18:50 +00:00
2005-05-12 07:32:09 +00:00
2004-04-08 00:51:37 +00:00
2005-05-12 07:32:09 +00:00
2004-04-15 01:49:22 +00:00
2004-04-08 00:51:37 +00:00
2004-04-08 00:51:37 +00:00
2003-10-08 12:35:18 +00:00
2004-04-08 00:51:37 +00:00
2003-10-11 09:18:58 +00:00
2005-05-12 07:32:09 +00:00
2002-07-09 08:47:24 +00:00
2002-07-09 08:47:24 +00:00
2002-07-09 08:47:24 +00:00
2002-07-09 08:47:24 +00:00
2002-07-09 08:47:24 +00:00
2005-05-17 16:43:02 +00:00
2005-05-17 16:43:02 +00:00
2005-05-17 16:43:02 +00:00
2005-05-17 16:43:02 +00:00
2005-03-17 16:20:39 +00:00
2005-05-12 07:32:09 +00:00
2005-03-17 16:20:39 +00:00
2005-03-17 16:20:39 +00:00
2002-08-28 00:11:40 +00:00
2005-05-12 07:32:09 +00:00
2004-11-19 09:31:55 +00:00
2002-05-07 11:08:57 +00:00
2004-10-14 12:54:47 +00:00
2005-05-12 07:32:09 +00:00
2002-05-07 11:08:57 +00:00
2002-05-07 11:08:57 +00:00
2005-05-12 07:32:09 +00:00
2002-06-07 10:30:56 +00:00
2002-06-07 10:30:56 +00:00
2005-05-12 07:32:09 +00:00
2004-04-08 00:51:37 +00:00
2004-04-08 00:51:37 +00:00
2004-04-08 00:51:37 +00:00
2004-10-15 00:27:12 +00:00
2004-04-08 00:51:37 +00:00
2004-10-15 00:27:12 +00:00
2004-04-08 00:51:37 +00:00
2004-04-08 00:51:37 +00:00
2004-02-23 10:10:02 +00:00
2005-05-12 07:32:09 +00:00
2005-05-12 07:32:09 +00:00
2004-04-08 00:51:37 +00:00
2004-04-08 00:51:37 +00:00
2004-04-08 00:51:37 +00:00
2004-07-22 16:52:43 +00:00
2004-04-08 00:51:37 +00:00
2004-04-08 00:51:37 +00:00
2005-05-12 07:32:09 +00:00
2005-05-12 07:32:09 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2004-10-04 16:45:51 +00:00
2005-05-12 07:32:09 +00:00
2005-03-22 14:20:38 +00:00
2005-03-22 14:20:38 +00:00
2005-05-12 07:32:09 +00:00