Chris Johns started a new discussion on cpukit/libdl/rtl-elf.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1539#note_161027

 >                                        Elf_Word* value) {
 >    rtems_rtl_obj_sect* sect;
 >  
 > +#if defined(__sparc__)
 > +  /*
 > +   * SPARC TLS Initial-Exec sequences contain a synthetic GOT reference.
 > +   * The architecture relocator relaxes these sequences to Local-Exec, so no
 > +   * run-time GOT is needed.

I have avoided any arch conditionals in this file so far and it would be nice 
to keep it that way by exploring how to handle this case in a generic way.

We do not use GOT and link-edit so would this test be the same on all 
architectures that reference it?

Note, this code is in a slight changed LLVM format.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1539#note_161027
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-axrxuuzfelzdjfshwjltp3210-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to