This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/gold ChangeLog output.cc testsuite/initpri1.c
- From: ian at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 29 Mar 2008 08:09:55 -0000
- Subject: src/gold ChangeLog output.cc testsuite/initpri1.c
CVSROOT: /cvs/src
Module name: src
Changes by: ian@sourceware.org 2008-03-29 08:09:55
Modified files:
gold : ChangeLog output.cc
gold/testsuite : initpri1.c
Log message:
* output.cc
(Output_section::Input_section_sort_entry::has_priority): New
function.
(Output_section::Input_section_sort_entry::match_file_name): New
function.
(Output_section::Input_section_sort_entry::match_section_name):
Remove.
(Output_section::Input_section_sort_entry::match_section_name_prefix):
Remove.
(Output_section::Input_section_sort_entry::match_section_file):
Remove.
(Output_section::Input_section_sort_compare::operator()): Rewrite
using new Input_section_sort_entry functions. Sort crtbegin and
crtend first. Sort sections with no priority before sections with
a priority.
* testsuite/initpri1.c (d3): Check j != 4.
(cd5): New constructor/destructor function.
(main): Check j != 2.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&r1=1.18&r2=1.19
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/output.cc.diff?cvsroot=src&r1=1.67&r2=1.68
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/testsuite/initpri1.c.diff?cvsroot=src&r1=1.1&r2=1.2