From: <kai...@us...> - 2008-07-21 13:27:16
|
Revision: 196 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=196&view=rev Author: kaiwang27 Date: 2008-07-21 13:27:09 +0000 (Mon, 21 Jul 2008) Log Message: ----------- - Patch to port elfcopy to NetBSD. [1] - Add a temporary solution for elf targets. Submitted by: jkoshy [1] Modified Paths: -------------- projects/elfcopy/trunk/Makefile projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/main.c projects/elfcopy/trunk/sections.c projects/elfcopy/trunk/segments.c projects/elfcopy/trunk/symbols.c projects/elfcopy/trunk/utils.c Added Paths: ----------- projects/elfcopy/trunk/target.c projects/elfcopy/trunk/target.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-08-18 15:15:59
|
Revision: 226 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=226&view=rev Author: kaiwang27 Date: 2008-08-18 15:15:54 +0000 (Mon, 18 Aug 2008) Log Message: ----------- - Implement option --rename-section. - Add command line arg parsing for -set-section-flags, actual libbfd section flags handling will be implemented later. Modified Paths: -------------- projects/elfcopy/trunk/Makefile projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/main.c projects/elfcopy/trunk/sections.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-10-18 15:07:00
|
Revision: 253 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=253&view=rev Author: kaiwang27 Date: 2008-10-18 15:06:49 +0000 (Sat, 18 Oct 2008) Log Message: ----------- Add support for -p (--preserve-dates). Modified Paths: -------------- projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/main.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-10-26 18:40:47
|
Revision: 256 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=256&view=rev Author: kaiwang27 Date: 2008-10-26 18:40:43 +0000 (Sun, 26 Oct 2008) Log Message: ----------- Merge symbol keep list, strip list, localize list etc into a single list. Modified Paths: -------------- projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/main.c projects/elfcopy/trunk/sections.c projects/elfcopy/trunk/symbols.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-10-26 20:02:23
|
Revision: 257 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=257&view=rev Author: kaiwang27 Date: 2008-10-26 20:02:16 +0000 (Sun, 26 Oct 2008) Log Message: ----------- Implement --localize-symbol and --globalize-symbol. Modified Paths: -------------- projects/elfcopy/trunk/main.c projects/elfcopy/trunk/symbols.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-10-26 22:56:12
|
Revision: 258 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=258&view=rev Author: kaiwang27 Date: 2008-10-26 22:56:08 +0000 (Sun, 26 Oct 2008) Log Message: ----------- Split symbol name string table into two parts: local symbol name table and global symbol name table. This is needed because we want to put local symbol names before global symbol names in the string table, just as we did for the symbol table. Modified Paths: -------------- projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/symbols.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-10-26 23:00:22
|
Revision: 259 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=259&view=rev Author: kaiwang27 Date: 2008-10-26 23:00:17 +0000 (Sun, 26 Oct 2008) Log Message: ----------- Move struct symbuf and strbuf definition from elfcopy.h into symbols.c, since other parts of the code do not need to know the symbol table internal details. Modified Paths: -------------- projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/symbols.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-10-26 23:36:46
|
Revision: 262 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=262&view=rev Author: kaiwang27 Date: 2008-10-26 23:36:42 +0000 (Sun, 26 Oct 2008) Log Message: ----------- Use __FBSDID if it is defined. Modified Paths: -------------- projects/elfcopy/trunk/main.c projects/elfcopy/trunk/sections.c projects/elfcopy/trunk/segments.c projects/elfcopy/trunk/symbols.c projects/elfcopy/trunk/target.c projects/elfcopy/trunk/utils.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-10-27 00:21:31
|
Revision: 263 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=263&view=rev Author: kaiwang27 Date: 2008-10-27 00:21:24 +0000 (Mon, 27 Oct 2008) Log Message: ----------- st_name should "reuse" a name string already exist in the symbol string table '.strtab', if it is a *exact* match. Here exact match means only same suffix is not enough. Note that in .shstrtab, existing string is "reused" as long as suffix matches. Modified Paths: -------------- projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/symbols.c projects/elfcopy/trunk/utils.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-10-27 02:17:28
|
Revision: 264 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=264&view=rev Author: kaiwang27 Date: 2008-10-27 02:17:20 +0000 (Mon, 27 Oct 2008) Log Message: ----------- [symbols.c] Set section index map for .symtab and .strtab before calling generate_symbol() because otherwise .symtab and .strtab will be considered removed and any symbol that refer to these two section will be removed unconditionally. [elfcopy.h] [sections.h] Style nits. Modified Paths: -------------- projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/sections.c projects/elfcopy/trunk/symbols.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-11-02 00:24:41
|
Revision: 267 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=267&view=rev Author: kaiwang27 Date: 2008-11-02 00:24:38 +0000 (Sun, 02 Nov 2008) Log Message: ----------- - Implement --globalize-symbols. - Style nits. Modified Paths: -------------- projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/main.c projects/elfcopy/trunk/sections.c projects/elfcopy/trunk/symbols.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-11-02 14:07:51
|
Revision: 270 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=270&view=rev Author: kaiwang27 Date: 2008-11-02 14:07:41 +0000 (Sun, 02 Nov 2008) Log Message: ----------- Implement --weaken-symbol and --weaken-symbols. Modified Paths: -------------- projects/elfcopy/trunk/main.c projects/elfcopy/trunk/symbols.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-11-02 18:53:42
|
Revision: 272 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=272&view=rev Author: kaiwang27 Date: 2008-11-02 18:53:38 +0000 (Sun, 02 Nov 2008) Log Message: ----------- Implement --keep-global-symbol and --keep-global-symbols. Modified Paths: -------------- projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/main.c projects/elfcopy/trunk/symbols.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-11-02 22:03:07
|
Revision: 273 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=273&view=rev Author: kaiwang27 Date: 2008-11-02 22:03:04 +0000 (Sun, 02 Nov 2008) Log Message: ----------- Implement --weaken. Modified Paths: -------------- projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/main.c projects/elfcopy/trunk/symbols.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-11-02 23:16:24
|
Revision: 275 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=275&view=rev Author: kaiwang27 Date: 2008-11-02 23:16:20 +0000 (Sun, 02 Nov 2008) Log Message: ----------- Implement --redefine-sym and --redefine-syms. Modified Paths: -------------- projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/main.c projects/elfcopy/trunk/symbols.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-11-14 03:01:01
|
Revision: 279 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=279&view=rev Author: kaiwang27 Date: 2008-11-14 03:00:52 +0000 (Fri, 14 Nov 2008) Log Message: ----------- [sections.c] - Implement --add-gnu-debuglink. - Sections added from file should be put before ".shstrtab". [symbols.c] - Added one arg for COPYSYM to tell whether it needs update symbol's st_shndx. [main.c] - Make --add-section arg processing a seperate function and put it into sections.c Modified Paths: -------------- projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/main.c projects/elfcopy/trunk/sections.c projects/elfcopy/trunk/symbols.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-11-18 20:08:43
|
Revision: 280 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=280&view=rev Author: kaiwang27 Date: 2008-11-18 20:08:38 +0000 (Tue, 18 Nov 2008) Log Message: ----------- We should create the content of .gnu.debug_link a bit later, i.e., after we know the endianess of the target object. This is needed because crc32 checksum needs to be written in the target's endianess. Modified Paths: -------------- projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/main.c projects/elfcopy/trunk/sections.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2008-12-17 15:42:50
|
Revision: 281 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=281&view=rev Author: kaiwang27 Date: 2008-12-17 15:42:45 +0000 (Wed, 17 Dec 2008) Log Message: ----------- Implement --osabi. This option is to set e_ident[EI_OSABI] for the output object. (Note that objcopy doesn't have this option. I found it handy when I was trying to correct a linux binary's osabi: change from ELFOSABI_NONE to ELFOSABI_LINUX.) Modified Paths: -------------- projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/main.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-01-06 22:13:38
|
Revision: 287 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=287&view=rev Author: kaiwang27 Date: 2009-01-06 22:13:23 +0000 (Tue, 06 Jan 2009) Log Message: ----------- Implement libbfd section flags. The relationship between libbfd section flags and elf section flags is: alloc -> SHF_ALLOC code -> SHF_EXECINSTR data -> no SHF_EXECINSTR readonly -> no SHF_WRITE "load/unload" along with "alloc" determines if a section is loadable. "contents", "debug", "rom", "share" are ignored. Modified Paths: -------------- projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/main.c projects/elfcopy/trunk/sections.c projects/elfcopy/trunk/symbols.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-01-09 00:16:11
|
Revision: 291 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=291&view=rev Author: kaiwang27 Date: 2009-01-09 00:16:06 +0000 (Fri, 09 Jan 2009) Log Message: ----------- Add support for calling elfcopy on ar(1) archives. Modified Paths: -------------- projects/elfcopy/trunk/Makefile projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/main.c Added Paths: ----------- projects/elfcopy/trunk/archive.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-01-09 00:23:12
|
Revision: 292 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=292&view=rev Author: kaiwang27 Date: 2009-01-09 00:23:05 +0000 (Fri, 09 Jan 2009) Log Message: ----------- - Make extrac_arsym static. - Also, forgot to mention in privous commit: Current ar(1) archive support is based on libarchive. ar(1) archive processing with libelf will be added later. LIBELF_AR compile option is used to select which approach to use when processing ar(1) archive: libelf or libarchive. Modified Paths: -------------- projects/elfcopy/trunk/archive.c projects/elfcopy/trunk/elfcopy.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-01-09 23:30:53
|
Revision: 296 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=296&view=rev Author: kaiwang27 Date: 2009-01-09 23:30:43 +0000 (Fri, 09 Jan 2009) Log Message: ----------- Functions in utils.c are no longer common function needed by both sections.c and symbols.c, so make them static. Modified Paths: -------------- projects/elfcopy/trunk/Makefile projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/sections.c projects/elfcopy/trunk/symbols.c Removed Paths: ------------- projects/elfcopy/trunk/utils.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-01-09 23:40:51
|
Revision: 298 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=298&view=rev Author: kaiwang27 Date: 2009-01-09 23:40:43 +0000 (Fri, 09 Jan 2009) Log Message: ----------- Remove FreeBSD svn keywords. Property Changed: ---------------- projects/elfcopy/trunk/archive.c projects/elfcopy/trunk/elfcopy.1 projects/elfcopy/trunk/target.c projects/elfcopy/trunk/target.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-01-09 23:49:07
|
Revision: 299 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=299&view=rev Author: kaiwang27 Date: 2009-01-09 23:49:02 +0000 (Fri, 09 Jan 2009) Log Message: ----------- Run control flag "ARCHIVE" no longer needed. Modified Paths: -------------- projects/elfcopy/trunk/elfcopy.h projects/elfcopy/trunk/main.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-02-11 15:28:11
|
Revision: 307 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=307&view=rev Author: kaiwang27 Date: 2009-02-11 15:28:06 +0000 (Wed, 11 Feb 2009) Log Message: ----------- Style nits. Modified Paths: -------------- projects/elfcopy/trunk/archive.c projects/elfcopy/trunk/main.c projects/elfcopy/trunk/sections.c projects/elfcopy/trunk/segments.c projects/elfcopy/trunk/symbols.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |