Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
operating-systems
ws21
assignments
Commits
d63ee3e4
Commit
d63ee3e4
authored
Oct 24, 2017
by
Darshit Shah
Browse files
Modify the linker script to match the generated binary
parent
050f727d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Make.config
View file @
d63ee3e4
...
...
@@ -33,7 +33,7 @@ endif
# Compiler and assembler invocation.
DEFINES
=
WARNINGS
= -
Wall
-
W
-
Wstrict
-
prototypes
-
Wmissing
-
prototypes
-
Wsystem
-
headers
CFLAGS
= -
g
-
msoft
-
float
-
O
CFLAGS
= -
g
-
msoft
-
float
-
O
-
march
=
i686
CPPFLAGS
= -
nostdinc
-
I
$(
SRCDIR
) -
I
$(
SRCDIR
)/
lib
ASFLAGS
= -
Wa
,--
gstabs
LDFLAGS
=
...
...
src/threads/kernel.lds.S
View file @
d63ee3e4
...
...
@@ -16,9 +16,12 @@ SECTIONS
.
rodata
:
{
*(
.
rodata
)
*(
.
rodata
.
*)
.
=
ALIGN
(
0x1000
)
;
_end_kernel_text
=
.
; }
.
eh_frame
:
{
*(
.
eh_frame
)
}
.
data
:
{
*(
.
data
)
_signature
=
.
; LONG(0xaa55aa55) }
.
plt
:
{
*(
.
plt
*)
}
/
*
BSS
(
zero
-
initialized
data
)
is
after
everything
else
.
*/
_start_bss
=
.
;
.
bss
:
{
*(
.
bss
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment