split libelf.c and libmach.c #1791

Merged
merged 1 commit into from Mar 25, 2013

Conversation

Projects
None yet
2 participants
Owner

WalterBright commented Mar 23, 2013

Splits libelf.c into libelf.c and scanelf.c.
Splits libmach.c into libmach.c and scanmach.c.

The purpose is to encapsulate the lib and object file formats into different files.

@MartinNowak MartinNowak and 1 other commented on an outdated diff Mar 24, 2013

src/posix.mak
@@ -553,6 +553,12 @@ rtlsym.o: $C/rtlsym.c $C/rtlsym.h
s2ir.o: s2ir.c $C/rtlsym.h statement.h
$(CC) -c $(MFLAGS) -I$(ROOT) $<
+scanelf.o: scanelf.c $C/melf.h
+ $(CC) -c $(CFLAGS) -I$C $<
+
+scanmach.o: scanmach.c $C/melf.h
@MartinNowak

MartinNowak Mar 24, 2013

Member

s/melf.h/mach.h/

@WalterBright

WalterBright Mar 24, 2013

Owner

durn copy/pasta!

@MartinNowak MartinNowak added a commit that referenced this pull request Mar 25, 2013

@MartinNowak MartinNowak Merge pull request #1791 from WalterBright/scan
split libelf.c and libmach.c
fb27e49

@MartinNowak MartinNowak merged commit fb27e49 into dlang:master Mar 25, 2013

1 check passed

default Pass: 10
Details

WalterBright deleted the WalterBright:scan branch Mar 25, 2013

@9rnsr 9rnsr added a commit that referenced this pull request Mar 25, 2013

@9rnsr 9rnsr Merge pull request #1791 from WalterBright/scan
Original merge commit was:
fb27e49

But it was accidentally lost. This is an alternative commit for that.
fa27e61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment