Skip to content

Commit

Permalink
Unify the linking options for 32-bit and 64-bit to text-segment=0x300…
Browse files Browse the repository at this point in the history
…00000.

Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
  • Loading branch information
cuiziweizw committed Dec 25, 2024
1 parent 3c1086a commit 64f2bf5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions boards/sim/sim/sim/scripts/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,7 @@ ifeq ($(CONFIG_HOST_MACOS),y)
LDFLAGS += -Wl,-dead_strip
else
LDFLAGS += -Wl,--gc-sections

# Let the symbol table link from 0x50000000
# which is more convenient for debugging.
LDFLAGS += -Wl,-Ttext-segment=0x50000000
LDFLAGS += -Wl,-Ttext-segment=0x40000000
endif

ifeq ($(CONFIG_DEBUG_LINK_MAP),y)
Expand Down

0 comments on commit 64f2bf5

Please sign in to comment.