Mercurial > ecos
annotate packages/services/objloader/current/ChangeLog @ 2925:7cbaadc92c67
* services/objloader/current/src/objloader.c,
services/objloader/current/src/objelf.c
services/objloader/current/include/objelf.h: Fixed a memory leak where a
library section was loaded but memory allocated was not released. This
bug was reported by Davy Wouters on the eCos list. Added minor cosmetics
and a number of CYG_ASSERT and if() to test the values returned by
cyg_ldr_load_elf_section()
* services/objloader/current/cdl/objloader.cdl: Eliminate workarounds for
file path handling issue in obsolete Cygwin tclsh. Use ACTUAL_CFLAGS for
robustness.
* fs/rom/current/cdl/romfs.cdl: Eliminate workarounds for file path handling
issue in obsolete Cygwin tclsh. Build the mk_romfs tool with higher
priority than the custom rules which use it.
| author | jld |
|---|---|
| date | Fri, 09 Oct 2009 13:53:09 +0000 |
| parents | f8dd12428f1d |
| children | 418d34334c77 |
| rev | line source |
|---|---|
| 2925 | 1 2009-10-09 John Dallaway <john@dallaway.org.uk> |
| 2 | |
| 3 * cdl/objloader.cdl: Eliminate workarounds for file path handling | |
| 4 issue in obsolete Cygwin tclsh. Use ACTUAL_CFLAGS for robustness. | |
| 5 | |
| 6 2009-09-13 Anthony Tonizzo <atonizzo@gmail.com> | |
| 7 | |
| 8 * src/objloader.c, src/objelf.c, include/objelf.h : Fixed a memory | |
| 9 leak where a library section was loaded but memory allocated was not | |
| 10 released. This bug was reported by Davy Wouters on the eCos list. | |
| 11 Added minor cosmetics and a number of CYG_ASSERT and if() to test the | |
| 12 values returnedby cyg_ldr_load_elf_section(). | |
| 13 | |
|
2890
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
14 2009-07-03 John Dallaway <john@dallaway.org.uk> |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
15 |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
16 * cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c, |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
17 src/relocate_arm.c: Eliminate dependency on CYGPKG_IO_FILEIO when |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
18 the filesystem loader is not required. |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
19 |
| 2770 | 20 2009-02-07 John Dallaway <john@dallaway.org.uk> |
| 21 | |
|
2890
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
22 * cdl/objloader.cdl: Pass file2c.tcl to tclsh directly. |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
23 |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
24 2008-12-01 Anthony Tonizzo <atonizzo@gmail.com> |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
25 * src/relocate_arm.c : Added relocation software for the ARM . |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
26 * src/relocate_i386.c : Added a structure containing the relocation names |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
27 for every architecture. Only used (and compiled in) for pretty printing. |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
28 * src/relocate_ppc.c : |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
29 * include/relocate_arm.h : New header file for src/relocate_arm.c |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
30 * cdl/objloader.cdl: Added the option to relocate for the ARM. |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
31 * src/objloader.c : |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
32 * src/objelf.c : Erased some redundant debug printout and improved the |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
33 readability of the rest. |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
34 |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
35 2008-12-01 Gernot Zankl <gernot.zankl@gmx.at> |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
36 * src/loader_memory.c : Added the code to allow the objloader package |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
37 to load libraries from ROM memory, instead from a file system. The various |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
38 sections of the library are the copied from ROM to RAM and relocated. |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
39 * include/loader_memory.h : New header file for src/loader_memory.c |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
40 * src/objloader.c : Added a line to include the loader_memory header |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
41 file and code to flush the cache when calling cyg_ldr_find_symbol(). |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
42 * cdl/objloader.cdl: Added one check boxe for each of the supported ways |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
43 of loading libraries (two for now) so that the user can compile out the |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
44 loading methods not used. |
| 2770 | 45 |
| 2243 | 46 2006-06-27 Anthony Tonizzo <atonizzo@gmail.com> |
| 47 * src/loader_fs.c : Minor cosmetic and formatting changes on all files. | |
| 48 Also got rid of some signed/unsigned comparison which did not show up using | |
| 49 the PPC toolchain but do when compiled with gcc under the synthetic target. | |
| 50 * src/objelf.c : | |
| 51 * src/objloader.c : | |
| 52 * src/relocate_i386.c : | |
| 53 * src/relocate_ppc.c : | |
| 54 * include/elf.h : | |
| 55 * include/loader_fs.h : | |
| 56 * include/objelf.h : | |
| 57 * include/relocate_i386.h : | |
| 58 * include/relocate_ppc.h : | |
| 59 * test/test_mods.c : | |
| 60 * test/library/hello.c : | |
| 61 | |
|
2013
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
62 2005-07-08 Andrew Lunn <andrew.lunn@ascom.ch> |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
63 |
| 2243 | 64 * include/objelf.h: Include hal_tables.h otherwise we get strange |
| 65 linker errors. | |
| 66 * cdl/objloader.cdl: Rearranged the building of the test case. | |
| 67 * include/relocate_i386.h (New): | |
| 68 * src/relocate_i386.c (New): Added a relocator for i386. | |
| 69 * src/objelf.c: Fixed various Elf_Rel vs Elf_Rela issues. | |
| 70 * test/load_mods.c: | |
| 71 * test/library/hello.c: Modified to make use of the eCos test | |
| 72 infrastructure. Uses a romfs to hold the object file to be loaded. | |
| 73 | |
| 74 2005-05-10 Anthony Tonizzo <atonizzo@gmail.com> | |
| 2011 | 75 |
| 2243 | 76 * include/elf.h: |
| 77 * include/loader_fs.h: | |
| 78 * include/objelf.h: | |
| 79 * include/relocate_ppc.h: | |
| 80 * src/loader_fs.c: | |
| 81 * src/objelf.c: | |
| 82 * src/objloader.c: | |
| 83 * src/relocate_ppc.c: | |
| 84 * doc/notes.txt: | |
| 85 * cdl/objloader.cdl: | |
| 86 * tests/test_mods.c: | |
| 87 * tests/library/hello.c: | |
| 88 Created OBJLDR package. | |
| 89 | |
| 2011 | 90 //=========================================================================== |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
91 // ####GPLCOPYRIGHTBEGIN#### |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
92 // ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
93 // This file is part of eCos, the Embedded Configurable Operating System. |
|
2890
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
94 // Copyright (C) 2005, 2006, 2008, 2009 Free Software Foundation, Inc. |
| 2011 | 95 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
96 // This program is free software; you can redistribute it and/or modify |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
97 // it under the terms of the GNU General Public License as published by |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
98 // the Free Software Foundation; either version 2 or (at your option) any |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
99 // later version. |
| 2011 | 100 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
101 // This program is distributed in the hope that it will be useful, but |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
102 // WITHOUT ANY WARRANTY; without even the implied warranty of |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
103 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
104 // General Public License for more details. |
| 2011 | 105 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
106 // You should have received a copy of the GNU General Public License |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
107 // along with this program; if not, write to the |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
108 // Free Software Foundation, Inc., 51 Franklin Street, |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
109 // Fifth Floor, Boston, MA 02110-1301, USA. |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
110 // ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
111 // ####GPLCOPYRIGHTEND#### |
| 2011 | 112 //=========================================================================== |
