diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/gcc3/.footprint | 285 | ||||
-rw-r--r-- | extra/gcc3/.md5sum | 3 | ||||
-rwxr-xr-x | extra/gcc3/Pkgfile | 33 | ||||
-rw-r--r-- | extra/gcc3/gcc-3.3.6-linkonce-1.patch | 359 | ||||
-rw-r--r-- | extra/gcc3/gcc-3.3.6-no_fixincludes-1.patch | 30 |
5 files changed, 710 insertions, 0 deletions
diff --git a/extra/gcc3/.footprint b/extra/gcc3/.footprint new file mode 100644 index 000000000..005750c05 --- /dev/null +++ b/extra/gcc3/.footprint @@ -0,0 +1,285 @@ +drwxr-xr-x root/root opt/ +drwxr-xr-x root/root opt/gcc-3.3.6/ +drwxr-xr-x root/root opt/gcc-3.3.6/bin/ +-rwxr-xr-x root/root opt/gcc-3.3.6/bin/c++ +-rwxr-xr-x root/root opt/gcc-3.3.6/bin/cpp +-rwxr-xr-x root/root opt/gcc-3.3.6/bin/g++ +-rwxr-xr-x root/root opt/gcc-3.3.6/bin/gcc +-rwxr-xr-x root/root opt/gcc-3.3.6/bin/gccbug +-rwxr-xr-x root/root opt/gcc-3.3.6/bin/gcov +-rwxr-xr-x root/root opt/gcc-3.3.6/bin/i686-pc-linux-gnu-c++ +-rwxr-xr-x root/root opt/gcc-3.3.6/bin/i686-pc-linux-gnu-g++ +-rwxr-xr-x root/root opt/gcc-3.3.6/bin/i686-pc-linux-gnu-gcc +-rwxr-xr-x root/root opt/gcc-3.3.6/bin/i686-pc-linux-gnu-gcc-3.3.6 +drwxr-xr-x root/root opt/gcc-3.3.6/include/ +drwxr-xr-x root/root opt/gcc-3.3.6/include/c++/ +drwxr-xr-x root/root opt/gcc-3.3.6/include/c++/3.3.6/ +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/algorithm +drwxr-xr-x root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/ +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/algo.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/algobase.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/alloc.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/backward_warning.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/bvector.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/complex.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/defalloc.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/deque.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/fstream.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/function.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/hash_map.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/hash_set.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/hashtable.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/heap.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/iomanip.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/iostream.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/istream.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/iterator.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/list.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/map.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/multimap.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/multiset.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/new.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/ostream.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/pair.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/queue.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/rope.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/set.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/slist.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/stack.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/stream.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/streambuf.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/strstream +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/tempbuf.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/tree.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/backward/vector.h +drwxr-xr-x root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/ +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/basic_ios.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/basic_ios.tcc +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/basic_string.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/basic_string.tcc +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/boost_concept_check.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/char_traits.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/cmath.tcc +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/codecvt.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/concept_check.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/cpp_type_traits.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/deque.tcc +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/fpos.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/fstream.tcc +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/functexcept.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/gslice.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/gslice_array.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/indirect_array.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/ios_base.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/istream.tcc +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/list.tcc +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/locale_classes.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/locale_facets.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/locale_facets.tcc +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/localefwd.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/mask_array.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/ostream.tcc +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/pthread_allocimpl.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/slice_array.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/sstream.tcc +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_algo.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_algobase.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_alloc.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_bvector.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_construct.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_deque.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_function.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_heap.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_iterator.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_iterator_base_funcs.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_iterator_base_types.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_list.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_map.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_multimap.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_multiset.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_numeric.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_pair.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_pthread_alloc.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_queue.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_raw_storage_iter.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_relops.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_set.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_stack.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_tempbuf.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_threads.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_tree.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_uninitialized.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stl_vector.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stream_iterator.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/streambuf.tcc +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/streambuf_iterator.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/stringfwd.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/type_traits.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/valarray_array.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/valarray_array.tcc +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/valarray_meta.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bits/vector.tcc +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/bitset +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/cassert +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/cctype +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/cerrno +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/cfloat +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ciso646 +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/climits +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/clocale +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/cmath +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/complex +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/csetjmp +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/csignal +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/cstdarg +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/cstddef +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/cstdio +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/cstdlib +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/cstring +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ctime +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/cwchar +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/cwctype +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/cxxabi.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/deque +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/exception +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/exception_defines.h +drwxr-xr-x root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/ +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/algorithm +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/enc_filebuf.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/functional +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/hash_map +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/hash_set +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/iterator +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/memory +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/numeric +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/rb_tree +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/rope +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/ropeimpl.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/slist +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/stdio_filebuf.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/stl_hash_fun.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/stl_hashtable.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ext/stl_rope.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/fstream +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/functional +drwxr-xr-x root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/ +drwxr-xr-x root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/ +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/atomicity.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/basic_file.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/c++config.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/c++io.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/c++locale.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/codecvt_specializations.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/ctype_base.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/ctype_inline.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/ctype_noninline.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/gthr-default.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/gthr-posix.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/gthr-single.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/gthr.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/messages_members.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/os_defines.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/i686-pc-linux-gnu/bits/time_members.h +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/iomanip +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ios +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/iosfwd +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/iostream +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/istream +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/iterator +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/limits +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/list +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/locale +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/map +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/memory +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/new +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/numeric +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/ostream +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/queue +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/set +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/sstream +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/stack +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/stdexcept +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/streambuf +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/string +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/typeinfo +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/utility +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/valarray +-rw-r--r-- root/root opt/gcc-3.3.6/include/c++/3.3.6/vector +drwxr-xr-x root/root opt/gcc-3.3.6/info/ +-rw-r--r-- root/root opt/gcc-3.3.6/info/cpp.info +-rw-r--r-- root/root opt/gcc-3.3.6/info/cppinternals.info +-rw-r--r-- root/root opt/gcc-3.3.6/info/gcc.info +-rw-r--r-- root/root opt/gcc-3.3.6/info/gccint.info +drwxr-xr-x root/root opt/gcc-3.3.6/lib/ +drwxr-xr-x root/root opt/gcc-3.3.6/lib/gcc-lib/ +drwxr-xr-x root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/ +drwxr-xr-x root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/ +-rwxr-xr-x root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/cc1 +-rwxr-xr-x root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/cc1plus +-rwxr-xr-x root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/collect2 +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/crtbegin.o +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/crtbeginS.o +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/crtbeginT.o +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/crtend.o +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/crtendS.o +drwxr-xr-x root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/ +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/emmintrin.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/float.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/iso646.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/limits.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/mmintrin.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/pmmintrin.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stdarg.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stdbool.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/syslimits.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/unwind.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/varargs.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/xmmintrin.h +drwxr-xr-x root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/ +-rwxr-xr-x root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/fixinc.sh +-rwxr-xr-x root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/fixincl +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/gsyslimits.h +drwxr-xr-x root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/include/ +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/include/README +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/include/emmintrin.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/include/float.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/include/iso646.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/include/limits.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/include/mmintrin.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/include/pmmintrin.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/include/stdarg.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/include/stdbool.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/include/stddef.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/include/unwind.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/include/varargs.h +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/include/xmmintrin.h +-rwxr-xr-x root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/mkheaders +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/install-tools/mkheaders.conf +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libgcc.a +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libgcc_eh.a +-rw-r--r-- root/root opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/specs +lrwxrwxrwx root/root opt/gcc-3.3.6/lib/libgcc_s.so -> libgcc_s.so.1 +-rw-r--r-- root/root opt/gcc-3.3.6/lib/libgcc_s.so.1 +-rw-r--r-- root/root opt/gcc-3.3.6/lib/libiberty.a +-rw-r--r-- root/root opt/gcc-3.3.6/lib/libstdc++.a +-rwxr-xr-x root/root opt/gcc-3.3.6/lib/libstdc++.la +lrwxrwxrwx root/root opt/gcc-3.3.6/lib/libstdc++.so -> libstdc++.so.5.0.7 +-rw-r--r-- root/root opt/gcc-3.3.6/lib/libsupc++.a +-rwxr-xr-x root/root opt/gcc-3.3.6/lib/libsupc++.la +drwxr-xr-x root/root opt/gcc-3.3.6/man/ +drwxr-xr-x root/root opt/gcc-3.3.6/man/man1/ +-rw-r--r-- root/root opt/gcc-3.3.6/man/man1/cpp.1 +-rw-r--r-- root/root opt/gcc-3.3.6/man/man1/g++.1 +-rw-r--r-- root/root opt/gcc-3.3.6/man/man1/gcc.1 +-rw-r--r-- root/root opt/gcc-3.3.6/man/man1/gcov.1 +drwxr-xr-x root/root opt/gcc-3.3.6/man/man7/ +-rw-r--r-- root/root opt/gcc-3.3.6/man/man7/fsf-funding.7 +-rw-r--r-- root/root opt/gcc-3.3.6/man/man7/gfdl.7 +-rw-r--r-- root/root opt/gcc-3.3.6/man/man7/gpl.7 +drwxr-xr-x root/root opt/gcc-3.3.6/share/ +drwxr-xr-x root/root opt/gcc-3.3.6/share/locale/ +drwxr-xr-x root/root opt/gcc-3.3.6/share/locale/fr/ +drwxr-xr-x root/root opt/gcc-3.3.6/share/locale/fr/LC_MESSAGES/ +-rw-r--r-- root/root opt/gcc-3.3.6/share/locale/fr/LC_MESSAGES/gcc.mo +-rw-r--r-- root/root opt/gcc-3.3.6/share/locale/fr/LC_MESSAGES/libstdc++.mo diff --git a/extra/gcc3/.md5sum b/extra/gcc3/.md5sum new file mode 100644 index 000000000..b5b620cb9 --- /dev/null +++ b/extra/gcc3/.md5sum @@ -0,0 +1,3 @@ +aba00bbdcd93252d0f826cc125db454f gcc-3.3.6-linkonce-1.patch +218478ac4f816e4f4bbf0ce0771a147c gcc-3.3.6-no_fixincludes-1.patch +6936616a967da5a0b46f1e7424a06414 gcc-3.3.6.tar.bz2 diff --git a/extra/gcc3/Pkgfile b/extra/gcc3/Pkgfile new file mode 100755 index 000000000..bee88a026 --- /dev/null +++ b/extra/gcc3/Pkgfile @@ -0,0 +1,33 @@ +# Description: Le compilateur gcc version 3 +# URL: http://gnu.org +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: gcc3-libs + +name=gcc3 +version=3.3.6 +release=1 +group=dev +source=( http://ftp.gnu.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2\ + http://www.linuxfromscratch.org/patches/blfs/svn/gcc-3.3.6-no_fixincludes-1.patch\ + http://www.linuxfromscratch.org/patches/blfs/svn/gcc-3.3.6-linkonce-1.patch) + + +build() { + mkdir -p $PKG/usr/lib + cd gcc-$version + patch -Np1 -i ../gcc-3.3.6-no_fixincludes-1.patch + patch -Np1 -i ../gcc-3.3.6-linkonce-1.patch + mkdir ../gcc-build + cd ../gcc-build + ../gcc-$version/configure --prefix=/opt/gcc-$version \ + --enable-shared \ + --enable-languages=c,c++ \ + --enable-threads=posix + make bootstrap +# make -k check + make DESTDIR=$PKG install + mv -v $PKG/opt/gcc-3.3.6/lib/libstdc++.so.5* \ + $PKG/usr/lib + rm -r $PKG/usr +} diff --git a/extra/gcc3/gcc-3.3.6-linkonce-1.patch b/extra/gcc3/gcc-3.3.6-linkonce-1.patch new file mode 100644 index 000000000..680d14e09 --- /dev/null +++ b/extra/gcc3/gcc-3.3.6-linkonce-1.patch @@ -0,0 +1,359 @@ +Submitted By: DJ Lucas <dj_AT_linuxfromscratch_DOT_org> +Date: 2004-12-19 +Initial Package Version: 3.3.3 +Origin: gcc-3.4.1-linkonce-1.patch +Upstream Status: Applied +Description: Fixes linkone/comdat issue + Details of this patch can be found on the following link + http://gcc.gnu.org/ml/gcc-patches/2004-08/msg00653.html + +$LastChangedBy: randy $ +$Date: 2005-08-17 11:33:20 -0500 (Wed, 17 Aug 2005) $ + +diff -Naur gcc-3.3.3-orig/gcc/config/alpha/alpha.c gcc-3.3.3/gcc/config/alpha/alpha.c +--- gcc-3.3.3-orig/gcc/config/alpha/alpha.c 2004-01-11 17:53:17.000000000 -0600 ++++ gcc-3.3.3/gcc/config/alpha/alpha.c 2004-12-19 22:51:55.974168040 -0600 +@@ -250,6 +250,8 @@ + # define TARGET_SECTION_TYPE_FLAGS unicosmk_section_type_flags + # undef TARGET_ASM_UNIQUE_SECTION + # define TARGET_ASM_UNIQUE_SECTION unicosmk_unique_section ++#undef TARGET_ASM_FUNCTION_RODATA_SECTION ++#define TARGET_ASM_FUNCTION_RODATA_SECTION default_no_function_rodata_section + # undef TARGET_ASM_GLOBALIZE_LABEL + # define TARGET_ASM_GLOBALIZE_LABEL hook_FILEptr_constcharptr_void + #endif +diff -Naur gcc-3.3.3-orig/gcc/config/arm/pe.h gcc-3.3.3/gcc/config/arm/pe.h +--- gcc-3.3.3-orig/gcc/config/arm/pe.h 2002-05-19 00:23:00.000000000 -0500 ++++ gcc-3.3.3/gcc/config/arm/pe.h 2004-12-19 22:51:56.018161352 -0600 +@@ -101,6 +101,7 @@ + #define MULTIPLE_SYMBOL_SPACES + + #define TARGET_ASM_UNIQUE_SECTION arm_pe_unique_section ++#define TARGET_ASM_FUNCTION_RODATA_SECTION default_no_function_rodata_section + + #define SUPPORTS_ONE_ONLY 1 + +diff -Naur gcc-3.3.3-orig/gcc/config/avr/avr.c gcc-3.3.3/gcc/config/avr/avr.c +--- gcc-3.3.3-orig/gcc/config/avr/avr.c 2002-10-24 15:07:21.000000000 -0500 ++++ gcc-3.3.3/gcc/config/avr/avr.c 2004-12-19 22:51:56.042157704 -0600 +@@ -221,6 +221,8 @@ + #define TARGET_ATTRIBUTE_TABLE avr_attribute_table + #undef TARGET_ASM_UNIQUE_SECTION + #define TARGET_ASM_UNIQUE_SECTION avr_unique_section ++#undef TARGET_ASM_FUNCTION_RODATA_SECTION ++#define TARGET_ASM_FUNCTION_RODATA_SECTION default_no_function_rodata_section + #undef TARGET_ENCODE_SECTION_INFO + #define TARGET_ENCODE_SECTION_INFO avr_encode_section_info + #undef TARGET_SECTION_TYPE_FLAGS +diff -Naur gcc-3.3.3-orig/gcc/config/darwin.h gcc-3.3.3/gcc/config/darwin.h +--- gcc-3.3.3-orig/gcc/config/darwin.h 2003-08-08 16:17:57.000000000 -0500 ++++ gcc-3.3.3/gcc/config/darwin.h 2004-12-19 22:51:56.091150256 -0600 +@@ -677,6 +677,9 @@ + #undef TARGET_ASM_SELECT_RTX_SECTION + #define TARGET_ASM_SELECT_RTX_SECTION machopic_select_rtx_section + ++#undef TARGET_ASM_FUNCTION_RODATA_SECTION ++#define TARGET_ASM_FUNCTION_RODATA_SECTION default_no_function_rodata_section ++ + #define ASM_DECLARE_UNRESOLVED_REFERENCE(FILE,NAME) \ + do { \ + if (FILE) { \ +diff -Naur gcc-3.3.3-orig/gcc/config/i386/cygwin.h gcc-3.3.3/gcc/config/i386/cygwin.h +--- gcc-3.3.3-orig/gcc/config/i386/cygwin.h 2003-04-29 08:56:28.000000000 -0500 ++++ gcc-3.3.3/gcc/config/i386/cygwin.h 2004-12-19 22:51:56.112147064 -0600 +@@ -331,6 +331,7 @@ + + extern void i386_pe_unique_section PARAMS ((TREE, int)); + #define TARGET_ASM_UNIQUE_SECTION i386_pe_unique_section ++#define TARGET_ASM_FUNCTION_RODATA_SECTION default_no_function_rodata_section + + #define SUPPORTS_ONE_ONLY 1 + +diff -Naur gcc-3.3.3-orig/gcc/config/i386/i386-interix.h gcc-3.3.3/gcc/config/i386/i386-interix.h +--- gcc-3.3.3-orig/gcc/config/i386/i386-interix.h 2002-11-25 22:54:48.000000000 -0600 ++++ gcc-3.3.3/gcc/config/i386/i386-interix.h 2004-12-19 22:51:56.113146912 -0600 +@@ -330,6 +330,7 @@ + + extern void i386_pe_unique_section PARAMS ((tree, int)); + #define TARGET_ASM_UNIQUE_SECTION i386_pe_unique_section ++#define TARGET_ASM_FUNCTION_RODATA_SECTION default_no_function_rodata_section + + #define SUPPORTS_ONE_ONLY 1 + #endif /* 0 */ +diff -Naur gcc-3.3.3-orig/gcc/config/ip2k/ip2k.c gcc-3.3.3/gcc/config/ip2k/ip2k.c +--- gcc-3.3.3-orig/gcc/config/ip2k/ip2k.c 2003-01-14 14:13:45.000000000 -0600 ++++ gcc-3.3.3/gcc/config/ip2k/ip2k.c 2004-12-19 22:51:56.167138704 -0600 +@@ -95,6 +95,9 @@ + #undef TARGET_ENCODE_SECTION_INFO + #define TARGET_ENCODE_SECTION_INFO encode_section_info + ++#undef TARGET_ASM_FUNCTION_RODATA_SECTION ++#define TARGET_ASM_FUNCTION_RODATA_SECTION default_no_function_rodata_section ++ + #undef TARGET_ATTRIBUTE_TABLE + #define TARGET_ATTRIBUTE_TABLE ip2k_attribute_table + +diff -Naur gcc-3.3.3-orig/gcc/config/mcore/mcore.c gcc-3.3.3/gcc/config/mcore/mcore.c +--- gcc-3.3.3-orig/gcc/config/mcore/mcore.c 2003-12-31 18:24:24.000000000 -0600 ++++ gcc-3.3.3/gcc/config/mcore/mcore.c 2004-12-19 22:51:56.199133840 -0600 +@@ -157,6 +157,8 @@ + #define TARGET_ATTRIBUTE_TABLE mcore_attribute_table + #undef TARGET_ASM_UNIQUE_SECTION + #define TARGET_ASM_UNIQUE_SECTION mcore_unique_section ++#undef TARGET_ASM_FUNCTION_RODATA_SECTION ++#define TARGET_ASM_FUNCTION_RODATA_SECTION default_no_function_rodata_section + #undef TARGET_ENCODE_SECTION_INFO + #define TARGET_ENCODE_SECTION_INFO mcore_encode_section_info + #undef TARGET_STRIP_NAME_ENCODING +diff -Naur gcc-3.3.3-orig/gcc/config/rs6000/xcoff.h gcc-3.3.3/gcc/config/rs6000/xcoff.h +--- gcc-3.3.3-orig/gcc/config/rs6000/xcoff.h 2002-10-22 18:05:22.000000000 -0500 ++++ gcc-3.3.3/gcc/config/rs6000/xcoff.h 2004-12-19 22:51:56.246126696 -0600 +@@ -164,6 +164,7 @@ + #define TARGET_ASM_SELECT_SECTION rs6000_xcoff_select_section + #define TARGET_ASM_SELECT_RTX_SECTION rs6000_xcoff_select_rtx_section + #define TARGET_ASM_UNIQUE_SECTION rs6000_xcoff_unique_section ++#define TARGET_ASM_FUNCTION_RODATA_SECTION default_no_function_rodata_section + #define TARGET_ENCODE_SECTION_INFO rs6000_xcoff_encode_section_info + #define TARGET_STRIP_NAME_ENCODING rs6000_xcoff_strip_name_encoding + #define TARGET_SECTION_TYPE_FLAGS rs6000_xcoff_section_type_flags +diff -Naur gcc-3.3.3-orig/gcc/doc/tm.texi gcc-3.3.3/gcc/doc/tm.texi +--- gcc-3.3.3-orig/gcc/doc/tm.texi 2003-12-12 10:10:09.000000000 -0600 ++++ gcc-3.3.3/gcc/doc/tm.texi 2004-12-19 22:51:56.317115904 -0600 +@@ -5902,6 +5902,15 @@ + Whatever the actual target object format, this is often good enough. + @end deftypefn + ++@deftypefn {Target Hook} void TARGET_ASM_FUNCTION_RODATA_SECTION (tree @var{decl}) ++Switches to a readonly data section associated with ++@samp{DECL_SECTION_NAME (@var{decl})}. ++The default version of this function switches to @code{.gnu.linkonce.r.name} ++section if function's section is @code{.gnu.linkonce.t.name}, to ++@code{.rodata.name} if function is in @code{.text.name} section ++and otherwise switches to the normal readonly data section. ++@end deftypefn ++ + @deftypefn {Target Hook} void TARGET_ASM_SELECT_RTX_SECTION (enum machine_mode @var{mode}, rtx @var{x}, unsigned HOST_WIDE_INT @var{align}) + Switches to the appropriate section for output of constant pool entry + @var{x} in @var{mode}. You can assume that @var{x} is some kind of +diff -Naur gcc-3.3.3-orig/gcc/final.c gcc-3.3.3/gcc/final.c +--- gcc-3.3.3-orig/gcc/final.c 2003-12-01 02:18:36.000000000 -0600 ++++ gcc-3.3.3/gcc/final.c 2004-12-19 22:51:56.373107392 -0600 +@@ -2258,7 +2258,7 @@ + { + int log_align; + +- readonly_data_section (); ++ targetm.asm_out.function_rodata_section (current_function_decl); + + #ifdef ADDR_VEC_ALIGN + log_align = ADDR_VEC_ALIGN (NEXT_INSN (insn)); +diff -Naur gcc-3.3.3-orig/gcc/output.h gcc-3.3.3/gcc/output.h +--- gcc-3.3.3-orig/gcc/output.h 2002-12-12 18:17:20.000000000 -0600 ++++ gcc-3.3.3/gcc/output.h 2004-12-19 22:51:56.420100248 -0600 +@@ -525,6 +525,8 @@ + unsigned HOST_WIDE_INT, int)); + extern void default_unique_section PARAMS ((tree, int)); + extern void default_unique_section_1 PARAMS ((tree, int, int)); ++extern void default_function_rodata_section (tree); ++extern void default_no_function_rodata_section (tree); + extern void default_select_rtx_section PARAMS ((enum machine_mode, rtx, + unsigned HOST_WIDE_INT)); + extern void default_elf_select_rtx_section PARAMS ((enum machine_mode, rtx, +diff -Naur gcc-3.3.3-orig/gcc/target-def.h gcc-3.3.3/gcc/target-def.h +--- gcc-3.3.3-orig/gcc/target-def.h 2002-12-09 17:53:59.000000000 -0600 ++++ gcc-3.3.3/gcc/target-def.h 2004-12-19 22:51:56.443096752 -0600 +@@ -75,6 +75,10 @@ + #define TARGET_ASM_UNIQUE_SECTION default_unique_section + #endif + ++#ifndef TARGET_ASM_FUNCTION_RODATA_SECTION ++#define TARGET_ASM_FUNCTION_RODATA_SECTION default_function_rodata_section ++#endif ++ + #ifndef TARGET_ASM_SELECT_RTX_SECTION + #define TARGET_ASM_SELECT_RTX_SECTION default_select_rtx_section + #endif +@@ -175,6 +179,7 @@ + TARGET_ASM_SELECT_SECTION, \ + TARGET_ASM_SELECT_RTX_SECTION, \ + TARGET_ASM_UNIQUE_SECTION, \ ++ TARGET_ASM_FUNCTION_RODATA_SECTION, \ + TARGET_ASM_CONSTRUCTOR, \ + TARGET_ASM_DESTRUCTOR, \ + TARGET_ASM_OUTPUT_MI_THUNK, \ +diff -Naur gcc-3.3.3-orig/gcc/target.h gcc-3.3.3/gcc/target.h +--- gcc-3.3.3-orig/gcc/target.h 2002-12-09 17:53:59.000000000 -0600 ++++ gcc-3.3.3/gcc/target.h 2004-12-19 22:51:56.463093712 -0600 +@@ -114,6 +114,10 @@ + for SELECT_SECTION. */ + void (* unique_section) PARAMS ((tree, int)); + ++ /* Tell assembler to switch to the readonly data section associated ++ with function DECL. */ ++ void (* function_rodata_section) (tree); ++ + /* Output a constructor for a symbol with a given priority. */ + void (* constructor) PARAMS ((rtx, int)); + +diff -Naur gcc-3.3.3-orig/gcc/testsuite/g++.old-deja/g++.other/comdat4-aux.cc gcc-3.3.3/gcc/testsuite/g++.old-deja/g++.other/comdat4-aux.cc +--- gcc-3.3.3-orig/gcc/testsuite/g++.old-deja/g++.other/comdat4-aux.cc 1969-12-31 18:00:00.000000000 -0600 ++++ gcc-3.3.3/gcc/testsuite/g++.old-deja/g++.other/comdat4-aux.cc 2004-12-19 22:51:56.484090520 -0600 +@@ -0,0 +1,40 @@ ++extern void ++bar (int x); ++ ++inline void ++foo (int i) ++{ ++ switch (i) ++ { ++ case 3: ++ case 5: ++ case 6: ++ case 9: ++ case 15: ++ bar (1); ++ break; ++ case 2: ++ case 4: ++ case 7: ++ case 10: ++ case 11: ++ case 12: ++ bar (2); ++ break; ++ case 0: ++ case 1: ++ case 8: ++ case 13: ++ case 16: ++ bar (3); ++ break; ++ case 14: ++ bar (4); ++ break; ++ default: ++ bar (5); ++ break; ++ } ++} ++ ++void *fooaddr2 = (void *) foo; +diff -Naur gcc-3.3.3-orig/gcc/testsuite/g++.old-deja/g++.other/comdat4.C gcc-3.3.3/gcc/testsuite/g++.old-deja/g++.other/comdat4.C +--- gcc-3.3.3-orig/gcc/testsuite/g++.old-deja/g++.other/comdat4.C 1969-12-31 18:00:00.000000000 -0600 ++++ gcc-3.3.3/gcc/testsuite/g++.old-deja/g++.other/comdat4.C 2004-12-19 22:51:56.485090368 -0600 +@@ -0,0 +1,57 @@ ++// PR c++/16276 ++// { dg-do link } ++// { dg-additional-sources " comdat4-aux.cc" } ++// { dg-options "-O2" } ++ ++extern void ++bar (int x); ++ ++inline void ++foo (int i) ++{ ++ switch (i) ++ { ++ case 3: ++ case 5: ++ case 6: ++ case 9: ++ case 15: ++ bar (1); ++ break; ++ case 2: ++ case 4: ++ case 7: ++ case 10: ++ case 11: ++ case 12: ++ bar (2); ++ break; ++ case 0: ++ case 1: ++ case 8: ++ case 13: ++ case 16: ++ bar (3); ++ break; ++ case 14: ++ bar (4); ++ break; ++ default: ++ bar (5); ++ break; ++ } ++} ++ ++void *fooaddr = (void *) foo; ++ ++void ++bar (int x) ++{ ++ __asm __volatile ("" : : "r" (x)); ++} ++ ++int ++main (void) ++{ ++ return 0; ++} +diff -Naur gcc-3.3.3-orig/gcc/varasm.c gcc-3.3.3/gcc/varasm.c +--- gcc-3.3.3-orig/gcc/varasm.c 2004-01-12 12:23:08.000000000 -0600 ++++ gcc-3.3.3/gcc/varasm.c 2004-12-19 22:51:56.528083832 -0600 +@@ -568,6 +568,53 @@ + text_section (); + } + ++/* Switch to read-only data section associated with function DECL. */ ++ ++void ++default_function_rodata_section (tree decl) ++{ ++ if (decl != NULL_TREE && DECL_SECTION_NAME (decl)) ++ { ++ const char *name = TREE_STRING_POINTER (DECL_SECTION_NAME (decl)); ++ ++ /* For .gnu.linkonce.t.foo we want to use .gnu.linkonce.r.foo. */ ++ if (DECL_ONE_ONLY (decl) && strncmp (name, ".gnu.linkonce.t.", 16) == 0) ++ { ++ size_t len = strlen (name) + 1; ++ char *rname = alloca (len); ++ ++ memcpy (rname, name, len); ++ rname[14] = 'r'; ++ named_section_flags (rname, SECTION_LINKONCE); ++ return; ++ } ++ /* For .text.foo we want to use .rodata.foo. */ ++ else if (flag_function_sections && flag_data_sections ++ && strncmp (name, ".text.", 6) == 0) ++ { ++ size_t len = strlen (name) + 1; ++ char *rname = alloca (len + 2); ++ ++ memcpy (rname, ".rodata", 7); ++ memcpy (rname + 7, name + 5, len - 5); ++ named_section_flags (rname, 0); ++ return; ++ } ++ } ++ ++ readonly_data_section (); ++} ++ ++/* Switch to read-only data section associated with function DECL ++ for targets where that section should be always the single ++ readonly data section. */ ++ ++void ++default_no_function_rodata_section (tree decl ATTRIBUTE_UNUSED) ++{ ++ readonly_data_section (); ++} ++ + /* Switch to section for variable DECL. RELOC is the same as the + argument to SELECT_SECTION. */ + diff --git a/extra/gcc3/gcc-3.3.6-no_fixincludes-1.patch b/extra/gcc3/gcc-3.3.6-no_fixincludes-1.patch new file mode 100644 index 000000000..a727f5ad8 --- /dev/null +++ b/extra/gcc3/gcc-3.3.6-no_fixincludes-1.patch @@ -0,0 +1,30 @@ +Submitted By: Ronald Hummelink <ronald at hummelink dot xs4all dot nl> +Date: 2003-08-16 +Initial Package Version: 3.3.1 +Origin: Originally developed for GCC 3.2 by Greg Schafer <gschafer at zip dot com dot au> +Description: Prevent fixincludes script from running. + +$LastChangedBy: randy $ +$Date: 2005-08-17 11:33:20 -0500 (Wed, 17 Aug 2005) $ + +--- gcc-3.3.1.orig/gcc/Makefile.in 2003-08-03 15:48:36.000000000 +0000 ++++ gcc-3.3.1/gcc/Makefile.in 2003-08-15 23:40:28.000000000 +0000 +@@ -2335,10 +2335,6 @@ + rm -f include/limits.h + cp xlimits.h include/limits.h + chmod a+r include/limits.h +-# Install the README +- rm -f include/README +- cp $(srcdir)/README-fixinc include/README +- chmod a+r include/README + $(STAMP) $@ + + # fixinc.sh depends on this, not on specs directly. +@@ -2369,7 +2365,6 @@ + (TARGET_MACHINE='$(target)'; srcdir=`cd $(srcdir); ${PWD_COMMAND}`; \ + SHELL='$(SHELL)' ;\ + export TARGET_MACHINE srcdir SHELL ; \ +- $(SHELL) ./fixinc.sh `${PWD_COMMAND}`/include $(SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS); \ + rm -f include/syslimits.h; \ + if [ -f include/limits.h ]; then \ + mv include/limits.h include/syslimits.h; \ |