On Sun, Jun 23, 2013 at 10:21:12AM -0700, Ofer Porat wrote: > Is there a way to tell clang to assume that a piece of data is near, such as > > extern __attribute((assume_near))__ int x; > > and generate code accordingly (i.e. not via GOT access). Hidden visibility should do exactly that. Joerg