aboutsummaryrefslogtreecommitdiff
path: root/include/elf/cris.h
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2008-11-25 03:08:13 +0000
committerHans-Peter Nilsson <hp@axis.com>2008-11-25 03:08:13 +0000
commita973d22c63ac8e7a89e5b674b2353ca1d5ce2834 (patch)
tree45662b54365a9d9a702fad5e2ef211adc1ff052b /include/elf/cris.h
parent05ec1b4df20159a0dbf0055dd6ab58bf98401fee (diff)
downloadgdb-a973d22c63ac8e7a89e5b674b2353ca1d5ce2834.zip
gdb-a973d22c63ac8e7a89e5b674b2353ca1d5ce2834.tar.gz
gdb-a973d22c63ac8e7a89e5b674b2353ca1d5ce2834.tar.bz2
* cris.h (R_CRIS_32_TPREL): Correct comment.
(R_CRIS_DTPMOD): Open up for use elsewhere than the fourth GOT entry.
Diffstat (limited to 'include/elf/cris.h')
-rw-r--r--include/elf/cris.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/elf/cris.h b/include/elf/cris.h
index 550955d..afd3ef5 100644
--- a/include/elf/cris.h
+++ b/include/elf/cris.h
@@ -147,10 +147,9 @@ START_RELOC_NUMBERS (elf_cris_reloc_type)
/* An assembler- and linker-generated relocation, instructing to
resolve the symbol in question yielding the TLS offset of the
- thread variable; relative to the module's TLS data if in a DSO,
- but relative to the executable's thread data if in an
- executable. Not allowed as input when generating a DSO. Assembly
- syntax: "expr:TPOFF". */
+ thread variable, relative to the global TLS block. Not allowed
+ as input when generating a DSO. Assembly syntax:
+ "expr:TPOFF". */
RELOC_NUMBER (R_CRIS_32_TPREL, 28)
/* Similar to R_CRIS_32_TPREL, but only applicable to executables
@@ -164,7 +163,7 @@ START_RELOC_NUMBERS (elf_cris_reloc_type)
/* A linker-generated-only relocation, instructing the dynamic
linker to fill in the current module ID, used for GOT entries
- (always the fourth one). */
+ (usually the fourth one). */
RELOC_NUMBER (R_CRIS_DTPMOD, 30)
/* No other relocs must be visible outside the assembler. */