[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/10965] cross-compiled ld doesn't change string addresses
From: |
hjl dot tools at gmail dot com |
Subject: |
[Bug ld/10965] cross-compiled ld doesn't change string addresses |
Date: |
16 Nov 2009 20:04:18 -0000 |
------- Additional Comments From hjl dot tools at gmail dot com 2009-11-16
20:04 -------
build.bat has
---
@echo off
set PATH=%PATH%;.\bin;.\i586-elf\bin;.\libexec\gcc\i586-elf\3.4.6
set CFLAGS=-g -Wall -W -nostartfiles -nostdinc -nostdlib -fno-builtin
set CINCLUDES=-I./src -I./include -I./include/kernel
echo Compiling loader...
nasm -f elf32 kstart.asm -o kstart.o
echo Compiling sources...
gcc %CFLAGS% %CINCLUDES% -o main.o main.c
echo Linking...
ld -nostdlib kstart.o main.o -o krnl.x -T krnl1m.ld
objdump --source -D -S -s krnl.x > krnl.lst
pause
--
address@hidden testcase]$ file main.o
main.o: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically
linked, not stripped
address@hidden testcase]$
Please add -c to CFLAGS.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=10965
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/10965] New: cross-compiled ld doesn't change string addresses, lupuroshu at yahoo dot com, 2009/11/15
- [Bug ld/10965] cross-compiled ld doesn't change string addresses, lupuroshu at yahoo dot com, 2009/11/15
- [Bug ld/10965] cross-compiled ld doesn't change string addresses, hjl dot tools at gmail dot com, 2009/11/15
- [Bug ld/10965] cross-compiled ld doesn't change string addresses, hjl dot tools at gmail dot com, 2009/11/15
- [Bug ld/10965] cross-compiled ld doesn't change string addresses, lupuroshu at yahoo dot com, 2009/11/15
- [Bug ld/10965] cross-compiled ld doesn't change string addresses, lupuroshu at yahoo dot com, 2009/11/16
- [Bug ld/10965] cross-compiled ld doesn't change string addresses, lupuroshu at yahoo dot com, 2009/11/16
- [Bug ld/10965] cross-compiled ld doesn't change string addresses,
hjl dot tools at gmail dot com <=