* output.h (Output_section::Input_section): Initialize p2align_ to
authorIan Lance Taylor <ian@airs.com>
Wed, 18 Jun 2008 04:39:41 +0000 (04:39 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 18 Jun 2008 04:39:41 +0000 (04:39 +0000)
commitf34787f832c7a94cda142b7fa867a9be37e8f2af
tree627cb059c40eb7c34bd74e077509162c00a87a39
parentc42e122ead58317580cb49a2e0db60fd8e308edd
* output.h (Output_section::Input_section): Initialize p2align_ to
zero for Output_section_data constructors.
(Output_section::Input_section::addralign): If not an input
section, return the alignment of the Output_section_data.
* testsuite/copy_test.cc: New file.
* testsuite/copy_test_1.cc: New file.
* testsuite/copy_test_2.cc: New file.
* testsuite/Makefile.am (check_PROGRAMS): Add copy_test.
(copy_test_SOURCES, copy_test_DEPENDENCIES): New variables.
(copy_test_LDFLAGS, copy_test_LDADD): New variables.
(copy_test_1_pic.o, copy_test_1.so): New targets.
(copy_test_2_pic.o, copy_test_2.so): New targets.
* testsuite/Makefile.in: Rebuild.
gold/ChangeLog
gold/output.h
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/copy_test.cc [new file with mode: 0644]
gold/testsuite/copy_test_1.cc [new file with mode: 0644]
gold/testsuite/copy_test_2.cc [new file with mode: 0644]