summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2016-02-17 22:01:33 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2016-02-17 22:01:33 -0800
commitf9be8c317909ad5c47d3271c230fe6b967dc0bf0 (patch)
tree82a72ea1b9ab997964176ce41bc26ebc087a2a25
parente3e2f1bbc2c773a72a3230153c3e31f4a3bf1032 (diff)
downloadnasm-f9be8c317909ad5c47d3271c230fe6b967dc0bf0.tar.gz
outelf64: fix comment
Fix comment that refer to R_386_* to avoid hiding similarities versus outelfx32. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--output/outelf64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/output/outelf64.c b/output/outelf64.c
index b5bec7b6..dbd0bf05 100644
--- a/output/outelf64.c
+++ b/output/outelf64.c
@@ -594,8 +594,8 @@ static void elf_add_reloc(struct elf_section *sect, int32_t segment,
* _containing_ the symbol. Such relocations call to this routine,
* which searches the symbol list for the symbol in question.
*
- * R_386_GOT32 references require the _exact_ symbol address to be
- * used; R_386_32 references can be at an offset from the symbol.
+ * R_X86_64_GOT32 references require the _exact_ symbol address to be
+ * used; R_X86_64_32 references can be at an offset from the symbol.
* The boolean argument `exact' tells us this.
*
* Return value is the adjusted value of `addr', having become an