Unified · Split
| @@ -9,6 +9,10 @@ version 0.9.19: · 8 unmodified lines | |||
| 9 | - chars support in assembler (Dave Long) | 9 | - chars support in assembler (Dave Long) |
| 10 | - .string, .globl, .section, .text, .data and .bss asm directive | 10 | - .string, .globl, .section, .text, .data and .bss asm directive |
| 11 | support (Dave Long) | 11 | support (Dave Long) |
| 12 | - man page generated from tcc-doc.texi | ||
| 13 | - fixed macro argument substitution | ||
| 14 | - fixed zero argument macro parsing | ||
| 15 | - changed license to LGPL | ||
| 12 | 16 | ||
| 13 | version 0.9.18: | 17 | version 0.9.18: |
| 14 | 18 | ||
| @@ -3,19 +3,19 @@ · 2 unmodified lines | |||
| 3 | * | 3 | * |
| 4 | * Copyright (c) 2001, 2002 Fabrice Bellard | 4 | * Copyright (c) 2001, 2002 Fabrice Bellard |
| 5 | * | 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify | 6 | * This library is free software; you can redistribute it and/or |
| 7 | * it under the terms of the GNU General Public License as published by | 7 | * modify it under the terms of the GNU Lesser General Public |
| 8 | * the Free Software Foundation; either version 2 of the License, or | 8 | * License as published by the Free Software Foundation; either |
| 9 | * (at your option) any later version. | 9 | * version 2 of the License, or (at your option) any later version. |
| 10 | * | 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, | 11 | * This library is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * GNU General Public License for more details. | 14 | * Lesser General Public License for more details. |
| 15 | * | 15 | * |
| 16 | * You should have received a copy of the GNU General Public License | 16 | * You should have received a copy of the GNU Lesser General Public |
| 17 | * along with this program; if not, write to the Free Software | 17 | * License along with this library; if not, write to the Free Software |
| 18 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #define MAX_OPERANDS 3 | 21 | #define MAX_OPERANDS 3 |
| @@ -1,21 +1,21 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * X86 code generator for TCC | 2 | * X86 code generator for TCC |
| 3 | * | 3 | * |
| 4 | * Copyright (c) 2001, 2002 Fabrice Bellard | 4 | * Copyright (c) 2001, 2002, 2003 Fabrice Bellard |
| 5 | * | 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify | 6 | * This library is free software; you can redistribute it and/or |
| 7 | * it under the terms of the GNU General Public License as published by | 7 | * modify it under the terms of the GNU Lesser General Public |
| 8 | * the Free Software Foundation; either version 2 of the License, or | 8 | * License as published by the Free Software Foundation; either |
| 9 | * (at your option) any later version. | 9 | * version 2 of the License, or (at your option) any later version. |
| 10 | * | 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, | 11 | * This library is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * GNU General Public License for more details. | 14 | * Lesser General Public License for more details. |
| 15 | * | 15 | * |
| 16 | * You should have received a copy of the GNU General Public License | 16 | * You should have received a copy of the GNU Lesser General Public |
| 17 | * along with this program; if not, write to the Free Software | 17 | * License along with this library; if not, write to the Free Software |
| 18 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | /* number of available registers */ | 21 | /* number of available registers */ |
| @@ -3,19 +3,19 @@ · 2 unmodified lines | |||
| 3 | * | 3 | * |
| 4 | * Copyright (c) 2001, 2002, 2003 Fabrice Bellard | 4 | * Copyright (c) 2001, 2002, 2003 Fabrice Bellard |
| 5 | * | 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify | 6 | * This library is free software; you can redistribute it and/or |
| 7 | * it under the terms of the GNU General Public License as published by | 7 | * modify it under the terms of the GNU Lesser General Public |
| 8 | * the Free Software Foundation; either version 2 of the License, or | 8 | * License as published by the Free Software Foundation; either |
| 9 | * (at your option) any later version. | 9 | * version 2 of the License, or (at your option) any later version. |
| 10 | * | 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, | 11 | * This library is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * GNU General Public License for more details. | 14 | * Lesser General Public License for more details. |
| 15 | * | 15 | * |
| 16 | * You should have received a copy of the GNU General Public License | 16 | * You should have received a copy of the GNU Lesser General Public |
| 17 | * along with this program; if not, write to the Free Software | 17 | * License along with this library; if not, write to the Free Software |
| 18 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 19 | */ | 19 | */ |
| 20 | #define _GNU_SOURCE | 20 | #define _GNU_SOURCE |
| 21 | #include "config.h" | 21 | #include "config.h" |
| @@ -3,19 +3,19 @@ · 2 unmodified lines | |||
| 3 | * | 3 | * |
| 4 | * Copyright (c) 2001, 2002 Fabrice Bellard | 4 | * Copyright (c) 2001, 2002 Fabrice Bellard |
| 5 | * | 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify | 6 | * This library is free software; you can redistribute it and/or |
| 7 | * it under the terms of the GNU General Public License as published by | 7 | * modify it under the terms of the GNU Lesser General Public |
| 8 | * the Free Software Foundation; either version 2 of the License, or | 8 | * License as published by the Free Software Foundation; either |
| 9 | * (at your option) any later version. | 9 | * version 2 of the License, or (at your option) any later version. |
| 10 | * | 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, | 11 | * This library is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * GNU General Public License for more details. | 14 | * Lesser General Public License for more details. |
| 15 | * | 15 | * |
| 16 | * You should have received a copy of the GNU General Public License | 16 | * You should have received a copy of the GNU Lesser General Public |
| 17 | * along with this program; if not, write to the Free Software | 17 | * License along with this library; if not, write to the Free Software |
| 18 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | static int asm_get_local_label_name(TCCState *s1, unsigned int n) | 21 | static int asm_get_local_label_name(TCCState *s1, unsigned int n) |
| @@ -3,19 +3,19 @@ · 2 unmodified lines | |||
| 3 | * | 3 | * |
| 4 | * Copyright (c) 2001, 2002 Fabrice Bellard | 4 | * Copyright (c) 2001, 2002 Fabrice Bellard |
| 5 | * | 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify | 6 | * This library is free software; you can redistribute it and/or |
| 7 | * it under the terms of the GNU General Public License as published by | 7 | * modify it under the terms of the GNU Lesser General Public |
| 8 | * the Free Software Foundation; either version 2 of the License, or | 8 | * License as published by the Free Software Foundation; either |
| 9 | * (at your option) any later version. | 9 | * version 2 of the License, or (at your option) any later version. |
| 10 | * | 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, | 11 | * This library is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * GNU General Public License for more details. | 14 | * Lesser General Public License for more details. |
| 15 | * | 15 | * |
| 16 | * You should have received a copy of the GNU General Public License | 16 | * You should have received a copy of the GNU Lesser General Public |
| 17 | * along with this program; if not, write to the Free Software | 17 | * License along with this library; if not, write to the Free Software |
| 18 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | static int put_elf_str(Section *s, const char *sym) | 21 | static int put_elf_str(Section *s, const char *sym) |