diff --git a/COPYING.PSXSTUB b/COPYING.PSXSTUB
new file mode 100644
index 0000000..9b017c2
--- /dev/null
+++ b/COPYING.PSXSTUB
@@ -0,0 +1,20 @@
+/*****************************************************************************/
+/*                                                                           */
+/*  psxstub: loader library stub for toolchain build                         */
+/*                                                                           */
+/*  Copyright (C) 2015--2016  Z. Gilboa                                      */
+/*                                                                           */
+/*  This program is free software: you can redistribute it and/or modify     */
+/*  it under the terms of the GNU General Public License as published by     */
+/*  the Free Software Foundation, either version 2 of the License, or        */
+/*  (at your option) version 3 of the License.                               */
+/*                                                                           */
+/*  This program is distributed in the hope that it will be useful,          */
+/*  but WITHOUT ANY WARRANTY; without even the implied warranty of           */
+/*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the             */
+/*  GNU General Public License for more details.                             */
+/*                                                                           */
+/*  You should have received a copy of the GNU General Public License        */
+/*  along with this program. If not, see <http://www.gnu.org/licenses/>.     */
+/*                                                                           */
+/*****************************************************************************/
diff --git a/stub.S b/stub.S
index 6874c51..2674f5e 100644
--- a/stub.S
+++ b/stub.S
@@ -1,3 +1,9 @@
+###########################################################
+##  psxstub: loader library stub for toolchain build     ##
+##  Copyright (C) 2015--2016  Z. Gilboa                  ##
+##  Released under GPLv2 and GPLv3; see COPYING.PSXSTUB. ##
+###########################################################
+
 .text
 .globl __psx_init
 .globl ___psx_init