* target-reloc.h (visibility_error): New inline function.
authorIan Lance Taylor <ian@airs.com>
Tue, 12 Jan 2010 19:12:40 +0000 (19:12 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 12 Jan 2010 19:12:40 +0000 (19:12 +0000)
commit837504c42dbf7cb67ee328fb0bdf594b70c90209
tree2547bf31529721438775d6b81af928ee62003799
parentd30c5336898cf78fd1017216ffb2f8f26b22cc02
* 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]