Skip to content

Commit

Permalink
amd64.cfg/ld: Don't --gc-sections
Browse files Browse the repository at this point in the history
Doing this for some reason removes functions like ns16550_handler_polled, which
we need for the console driver.
  • Loading branch information
AmaanC committed Jul 9, 2018
1 parent 36eef07 commit 153c1c7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bsps/x86_64/amd64/config/amd64.cfg
Expand Up @@ -11,5 +11,3 @@ CPU_CFLAGS = -mno-red-zone
# way we can avoid linker-time relocation errors spawning from values being
# larger than their optimized container sizes.
CPU_CFLAGS += -mcmodel=large

LDFLAGS = -Wl,--gc-sections

0 comments on commit 153c1c7

Please sign in to comment.