* target-reloc.h (visibility_error): New inline function.
commit797432efc91f1aed0e50735cce2e7781e566f335
authorIan Lance Taylor <ian@airs.com>
Tue, 12 Jan 2010 19:12:40 +0000 (12 19:12 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 12 Jan 2010 19:12:40 +0000 (12 19:12 +0000)
treed6ba762d7443c1c7928674e3383d9ea3b61daf7e
parent9a6c5c902a34700831bfa587ee0ff072d37feb04
* target-reloc.h (visibility_error): New inline function.
(relocate_section): Call visibility_error.
* testsuite/Makefile.am (check_DATA): Add protected_3.err.
(MOSTLYCLEANFILES): Likewise.
(protected_4_pic.o, protected_3.err): New targets.
* testsuite/protected_4.cc: New file.
gold/target-reloc.h
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/protected_4.cc [new file with mode: 0644]