diff options
| author | Larry Doolittle <ldoolitt@recycle.lbl.gov> | 2017-05-07 21:38:09 -0700 |
|---|---|---|
| committer | Larry Doolittle <ldoolitt@recycle.lbl.gov> | 2017-05-07 21:38:09 -0700 |
| commit | 19d8b8a17383863d45823e37f20a94cc1d55c3a6 (patch) | |
| tree | 5862658773da49c99ae77dfa0e578b3b519ed282 /x86_64-link.c | |
| parent | 1b9935cf36e83b389cb26008df93a654af3f2074 (diff) | |
| download | tinycc-19d8b8a17383863d45823e37f20a94cc1d55c3a6.tar.gz tinycc-19d8b8a17383863d45823e37f20a94cc1d55c3a6.tar.bz2 | |
Spelling fixes in C comments only
Diffstat (limited to 'x86_64-link.c')
| -rw-r--r-- | x86_64-link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x86_64-link.c b/x86_64-link.c index 7ab07b9..1485e05 100644 --- a/x86_64-link.c +++ b/x86_64-link.c @@ -50,7 +50,7 @@ int code_reloc (int reloc_type) return -1; } -/* Returns an enumerator to describe wether and when the relocation needs a +/* Returns an enumerator to describe whether and when the relocation needs a GOT and/or PLT entry to be created. See tcc.h for a description of the different values. */ int gotplt_entry_type (int reloc_type) @@ -95,7 +95,7 @@ ST_FUNC unsigned create_plt_entry(TCCState *s1, unsigned got_offset, struct sym_ modrm = 0x25; - /* empty PLT: create PLT0 entry that pushes the library indentifier + /* empty PLT: create PLT0 entry that pushes the library identifier (GOT + PTR_SIZE) and jumps to ld.so resolution routine (GOT + 2 * PTR_SIZE) */ if (plt->data_offset == 0) { |
