-
Notifications
You must be signed in to change notification settings - Fork 83
Dynamic-linking-ro.md : Fixed trailing `, added asterisk and other formatting issues #150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: cdl-07
Are you sure you want to change the base?
Conversation
Signed-off-by: SkipperAndrei <[email protected]>
Signed-off-by: SkipperAndrei <[email protected]>
Signed-off-by: SkipperAndrei <[email protected]>
Signed-off-by: SkipperAndrei <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apply my suggestions then squash your commits into a single one formatted like so:
dynamic-linking.md: Fix errors
<then list your concrete changes below>
Use git rebase -i HEAD~4
. This will open your default editor with the list of your 4 commits. Change the word pick
at the beginning of the latter 3 commits to s
(from "squash"), then save and exit. This will open your default editor again with all 4 commit messages. Edit them as specified above, then save and exit.
@@ -13,7 +13,7 @@ Diferența este că acum, folosim linkare dinamică în loc de linkare statică | |||
Pentru aceasta, am renunțat la argumentul `-static` folosit la linkare. | |||
|
|||
Pentru acest exemplu, obținem un singur executabil `main`, din legarea statică cu biblioteca `libinc.a` și legarea dinamică cu biblioteca standard C. | |||
Similar exemplului din directorul `05-static/, folosim comanda `make` pentru a obține executabilul `main`: | |||
Similar exemplului din directorul `05-static/,` folosim comanda `make` pentru a obține executabilul `main`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar exemplului din directorul `05-static/,` folosim comanda `make` pentru a obține executabilul `main`: | |
Similar exemplului din directorul `05-static/`, folosim comanda `make` pentru a obține executabilul `main`: |
@@ -66,7 +66,7 @@ Investigăm simbolurile executabilului: | |||
|
|||
Simbolurile obținute din modulul obiect `main.o` și din biblioteca statică `libinc.o` sunt rezolvate și au adrese stabilite. | |||
Observăm că folosirea bibliotecii standard C a dus la existența simboblului `_start`, care este entry pointul programului. | |||
Dar, simbolurile din biblioteca standard C, (`printf`, __libc_start_main`) sunt marcate ca nedefinite (`U`). | |||
Dar, simbolurile din biblioteca standard C, (`printf`, __libc_start_main) sunt marcate ca nedefinite (`U`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dar, simbolurile din biblioteca standard C, (`printf`, __libc_start_main) sunt marcate ca nedefinite (`U`). | |
Dar, simbolurile din biblioteca standard C, (`printf`, `__libc_start_main`) sunt marcate ca nedefinite (`U`). |
@@ -3,5 +3,6 @@ | |||
int main() | |||
{ | |||
std::cout << "Hello, World!" << std::endl; | |||
std::cout << "Nu mai pot ba frt" << "\n"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand you, but remove this.
@@ -1 +1,2 @@ | |||
print("Hello, World!") | |||
print("Nu mai pot ba frt") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto: remove this.
No description provided.