X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=elfcpp%2Fi386.h;h=092c69dca56b98f6e7183a1349c3d602526008fc;hb=087e161b3cd9a8626dc05ce1bdb8dfaf353a71b1;hp=9550bc890d71a6f7625174f83254bce0d84c2182;hpb=9cf35733278f61a284d597cb76e2b323acd34ee6;p=deliverable%2Fbinutils-gdb.git diff --git a/elfcpp/i386.h b/elfcpp/i386.h index 9550bc890d..092c69dca5 100644 --- a/elfcpp/i386.h +++ b/elfcpp/i386.h @@ -1,6 +1,6 @@ // i386.h -- ELF definitions specific to EM_386 -*- C++ -*- -// Copyright 2006, 2007, Free Software Foundation, Inc. +// Copyright (C) 2006-2020 Free Software Foundation, Inc. // Written by Ian Lance Taylor . // This file is part of elfcpp. @@ -34,6 +34,7 @@ // Documentation for the TLS relocs is taken from // http://people.redhat.com/drepper/tls.pdf +// http://www.lsd.ic.unicamp.br/~oliva/writeups/TLS/RFC-TLSDESC-x86.txt namespace elfcpp { @@ -80,9 +81,12 @@ enum R_386_TLS_DTPMOD32 = 35, // Outstanding General/Local Dynamic reloc, sun+gnu R_386_TLS_DTPOFF32 = 36, // Outstanding General Dynamic reloc, sun+gnu R_386_TLS_TPOFF32 = 37, // Outstanding Initial Exec reloc, sun-style - R_386_TLS_GOTDESC = 39, - R_386_TLS_DESC_CALL = 40, - R_386_TLS_DESC = 41, + R_386_TLS_GOTDESC = 39, // GOT offset for TLS descriptor + R_386_TLS_DESC_CALL = 40, // Marker of call through TLS desc for relaxation + R_386_TLS_DESC = 41, // TLS descriptor containing pointer to code and + // to argument, returning TLS offset for symbol + R_386_IRELATIVE = 42, // Adjust indirectly by program base + R_386_GOT32X = 43, // 32 bit GOT entry, relaxable // Used by Intel. R_386_USED_BY_INTEL_200 = 200, // GNU vtable garbage collection extensions.