This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/gold layout.cc output.cc output.h testsuit ...
- From: ccoutant at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 16 Oct 2010 00:37:25 -0000
- Subject: src/gold layout.cc output.cc output.h testsuit ...
CVSROOT: /cvs/src
Module name: src
Changes by: ccoutant@sourceware.org 2010-10-16 00:37:25
Modified files:
gold : layout.cc output.cc output.h
gold/testsuite : Makefile.am Makefile.in relro_test.cc
Added files:
gold/testsuite : relro_test.sh
Log message:
* layout.cc (Layout::set_segment_offsets): Don't try to realign data
segment that has been aligned for relro.
* output.cc (Output_segment::set_section_addresses): Change signature;
adjust all callers. Account for alignment when totalling
size of relro sections.
* output.h (Output_segment::set_section_addresses): Change signature.
* testsuite/Makefile.am (relro_test.sh, relro_test.stdout): New
targets.
* testsuite/Makefile.in: Regenerate.
* testsuite/relro_test.cc: Add alignment attributes to test proper
alignment of relro sections when padding is necessary.
* testsuite/relro_test.sh: New script.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/layout.cc.diff?cvsroot=src&r1=1.182&r2=1.183
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/output.cc.diff?cvsroot=src&r1=1.134&r2=1.135
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/output.h.diff?cvsroot=src&r1=1.113&r2=1.114
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/testsuite/relro_test.sh.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/testsuite/Makefile.am.diff?cvsroot=src&r1=1.150&r2=1.151
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/testsuite/Makefile.in.diff?cvsroot=src&r1=1.159&r2=1.160
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/testsuite/relro_test.cc.diff?cvsroot=src&r1=1.3&r2=1.4