OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gold/] [powerpc.cc] - Diff between revs 163 and 166

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 163 Rev 166
Line 1564... Line 1564...
            // dynamic relocation for it.
            // dynamic relocation for it.
            Reloc_section* rela_dyn = target->rela_dyn_section(layout);
            Reloc_section* rela_dyn = target->rela_dyn_section(layout);
            if (gsym->is_from_dynobj()
            if (gsym->is_from_dynobj()
                || gsym->is_undefined()
                || gsym->is_undefined()
                || gsym->is_preemptible())
                || gsym->is_preemptible())
              got->add_global_with_rela(gsym, GOT_TYPE_STANDARD, rela_dyn,
              got->add_global_with_rel(gsym, GOT_TYPE_STANDARD, rela_dyn,
                                        elfcpp::R_POWERPC_GLOB_DAT);
                                        elfcpp::R_POWERPC_GLOB_DAT);
            else if (!gsym->has_got_offset(GOT_TYPE_STANDARD))
            else if (!gsym->has_got_offset(GOT_TYPE_STANDARD))
              {
              {
                unsigned int off = got->add_constant(0);
                unsigned int off = got->add_constant(0);
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.