[uClibc-cvs] cvs commit to uClibc/libc/misc/regex by davidm

davidm at uclinux.org davidm at uclinux.org
Thu Jun 7 12:08:55 UTC 2001

Repository: uClibc/libc/misc/regex
who:        davidm
time:       Thu Jun  7 08:08:55 EDT 2001

Log Message:

The m68k-elf compiler chokes on this code when compiling for PIC as
compile_regex is one big function (relative function calls further
than cpu32 can do).

The solution was to re-order the code a little to reduce the size of these
relative calls.

So the total sum of the changes is:

* Move compile_regex to the end of the file
* make store_op1 an inline

Unfortunately CVS diff doesn't show this and makes it look like the whole
file has been severely hacked.  It hasn't.


changed:    regex.c

More information about the uClibc-cvs mailing list