OSDN Git Service

* output.h (Output_section::Input_section): Initialize p2align_ to
authorian <ian>
Wed, 18 Jun 2008 04:39:41 +0000 (04:39 +0000)
committerian <ian>
Wed, 18 Jun 2008 04:39:41 +0000 (04:39 +0000)
commitd566d70d664b4a7170aa58822a3c28cc11a0b10c
tree5cd09127bbf140f441eb487ebd4c41e62b107093
parent555911c1feca4fd1e46fccd856cdd8f6891d7372
* 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]